Boxplot Comparisons Refer to the two STATDISK-generated boxplots shown below Boxplots Shown below is a STATDISK-generated boxplot of the durations (in hours) of flights of NASA’s Space Shuttle. If the height of President Kennedy is converted to a z score, what unit is used for the z score? Centimeters? 3. z Scores A set of data consists of the heights of presidents of the United States, measured Was her age above the mean or below the mean? How many standard deviations away from the mean is her age? 2. Line, her age was converted to a z score of - 0.61 when included among the ages of all other Oscar-winning Best Actresses at the time of this writing.
z Scores When Reese Witherspoon won an Oscar as Best Actress for the movie Walk the Statistical Literacy and Critical Thinking 1. Here are instructions for sorting data: Click on the Data Tools button in the Sample S TAT D I S K Editor window, then select Sort Data. To identify outliers, sort the data in order from the minimum to the maximum, then examine the minimum and maximum values to determine whether they are far away from the other data values.
Enter the list to be sorted, such as L1 or a named list, then press [.
Press K and select SortA (for sort TI-83/84 PLUS in ascending order). In Excel 2007, click on Data, then click on the “sort ascending” icon, which has the letter A stacked above the letter Z and a downward arrow. In Excel 2003, click on the “sort ascending” icon, E XC E L which has the letter A stacked above the letter Z and a downward arrow. Enter the column M I N I TA B in the “Sort column(s)” box and enter that same column in the “By column” box. (In Excel 2010, select QUARTILE.INC, which is the same as QUARTILE in Excel 2003 and Excel 2007, or select the new function QUARTILE.EXC, which is supposed to be “consistent with industry best practices.”)Ĭlick on Data and select Sort. Excel provides the minimum, maximum, and median, and the quartiles can be obtained by clicking on fx, selecting the function category of Statistical, and selecting QUARTILE. Us same procedure given at the end of Section 3-2. If not set, computes the median along a flattened version of the input.Statistics for Describing, Exploring, and Comparing Dataĥ-Number Summary STATDISK, Minitab, and the TI-83> 84 Plus calculator provide the values of the 5-number summary. Given a vector V of length N, the median of V is the middle value of a sorted copy of V, V_sorted - i e., V_sorted, when N is odd, and the average of the two middle values of V_sorted when N is even.Īxis: axis along which the medians are computed. Xt :: xarray a = std :: cout Īuto xt :: median ( E & e, std::ptrdiff_t axis )įind the median along the specified axis.
This function uses std::nth_element internally. The optional third parameter can either be an axis or xnone() in which case the xexpression will be flattened.
Partition shuffles the xexpression in a way so that the kth element in the returned xexpression is in the place it would appear in a sorted array and all elements smaller than this entry are placed (unsorted) before. R xt :: partition ( const xexpression & e, const C & kth_container, placeholders::xtuph ) Template, class = std::enable_if_t::value, int> This returns a flattened xtensor with sorted, unique elements from the original expression. Returns xarray with positions of maximal value ParametersĪuto xt :: unique ( const xexpression & e ) ¶ If axis is specified, the indices are along the specified axis. Returns xarray with positions of minimal value ParametersĪuto xt :: argmax ( const xexpression & e )Īuto xt :: argmax ( const xexpression & e, std::ptrdiff_t axis )įind position of maximal value in xexpression By default, the returned index is into the flattened array. Returns an xarray of indices of the same shape as e that index data along the given axis in sorted order.Īxis: axis along which argsort is performedĪuto xt :: argmin ( const xexpression & e )Īuto xt :: argmin ( const xexpression & e, std::ptrdiff_t axis )įind position of minimal value in xexpression.īy default, the returned index is into the flattened array. Sort xexpression (optionally along axis) The sort is performed using the std::sort functions.Ī copy of the xexpression is created and returned.Īuto xt :: argsort ( const xexpression & e, placeholders::xtuph )Īuto xt :: argsort ( const xexpression & e, std::ptrdiff_t axis = -1 )Īrgsort xexpression (optionally along axis) Performs an indirect sort along the given axis. Designing language bindings with xtensorĪuto xt :: sort ( const xexpression & e, placeholders::xtuph )Īuto xt :: sort ( const xexpression & e, std::ptrdiff_t axis = -1 ).