Descriptive Statistics: Five-Number Summary, Percentiles, Outliers, Box Plots, and Measures of Center

Finding the Median, Quartiles, and Five-Number Summary

  • Procedure to Find the Median (MM):

    • Sort the data values in ascending order from smallest to largest.

    • If the number of data values (nn) is odd, the median is the single middle data value of the sorted data set.

    • If the number of data values (nn) is even, the median is the average (arithmetic mean) of the two middle data values in the sorted data set.

  • Procedure to Find the First Quartile (Q1Q_1) and Third Quartile (Q3Q_3):

    • For Q1Q_1, isolate the lower half of the sorted data set (all values strictly below the median position). Q1Q_1 is defined as the median of this lower half. The median itself must not be included in the lower half.

    • For Q3Q_3, isolate the upper half of the sorted data set (all values strictly above the median position). Q3Q_3 is defined as the median of this upper half. The median itself must not be included in the upper half.

  • Five-Number Summary Components:

    • Minimum (Min\text{Min})

    • First Quartile (Q1Q_1)

    • Median (Median\text{Median} or MM)

    • Third Quartile (Q3Q_3)

    • Maximum (Max\text{Max})

  • Example 1 (n=18n = 18 Even Data Set):

    • Unsorted Data Set: 67,94,85,79,53,78,87,98,86,67,90,77,84,98,66,92,79,8967, 94, 85, 79, 53, 78, 87, 98, 86, 67, 90, 77, 84, 98, 66, 92, 79, 89

    • Sorted Data Set: 53,66,67,67,77,78,79,79,84,85,86,87,89,90,92,94,98,9853, 66, 67, 67, 77, 78, 79, 79, 84, 85, 86, 87, 89, 90, 92, 94, 98, 98

    • Total number of observations: n=18n = 18

    • Median calculation: Average of the 9th9\text{th} value (8484) and 10th10\text{th} value (8585):     Median=84+852=84.5\text{Median} = \frac{84 + 85}{2} = 84.5

    • Lower half (99 data values): 53,66,67,67,77,78,79,79,8453, 66, 67, 67, 77, 78, 79, 79, 84

    • Q1=77Q_1 = 77 (middle value of lower half)

    • Upper half (99 data values): 85,86,87,89,90,92,94,98,9885, 86, 87, 89, 90, 92, 94, 98, 98

    • Q3=90Q_3 = 90 (middle value of upper half)

    • Five-Number Summary:

    • Min=53\text{Min} = 53

    • Q1=77Q_1 = 77

    • Median=84.5\text{Median} = 84.5

    • Q3=90Q_3 = 90

    • Max=98\text{Max} = 98

  • Example 2 (n=11n = 11 Odd Data Set):

    • Sorted Data Set: 51,58,62,67,72,75,78,79,85,92,9951, 58, 62, 67, 72, 75, 78, 79, 85, 92, 99

    • Total number of observations: n=11n = 11

    • Median calculation: The middle (6th6\text{th}) data value is 7575.

    • Lower half (55 data values): 51,58,62,67,7251, 58, 62, 67, 72

    • Q1=62Q_1 = 62

    • Upper half (55 data values): 78,79,85,92,9978, 79, 85, 92, 99

    • Q3=85Q_3 = 85

Stem-and-Leaf Graphs

  • Constructing a Stem-and-Leaf Plot for Sorting:

    • Constructing a stem-and-leaf plot is a convenient method for organizing and sorting raw data.

    • Example dataset: 67,94,85,79,53,78,87,98,86,67,90,77,84,98,66,92,79,8967, 94, 85, 79, 53, 78, 87, 98, 86, 67, 90, 77, 84, 98, 66, 92, 79, 89

    • Plot layout:

    • Stem 55: Leaf 33

    • Stem 66: Leaves 6,7,76, 7, 7

    • Stem 77: Leaves 7,8,9,97, 8, 9, 9

    • Stem 88: Leaves 4,5,6,7,94, 5, 6, 7, 9

    • Stem 99: Leaves 0,2,4,8,80, 2, 4, 8, 8

    • From the stem-and-leaf plot, key order statistics are readily read:

    • Min=53\text{Min} = 53

    • Q1=77Q_1 = 77

    • Median=84.5\text{Median} = 84.5

    • Q3=90Q_3 = 90

    • Max=98\text{Max} = 98

Identifying Outliers

  • Definition of an Outlier:

    • An outlier is an observation or data value that does not fit the rest of the data because it is unusually low or unusually high.

  • Interquartile Range (IQR) Formula:   IQR=Q3Q1\text{IQR} = Q_3 - Q_1

  • Outlier Boundary Formulas (Fences):

    • A data value is defined as a suspected potential outlier if it falls beyond either of the following boundaries:

    • Less than 1.5×IQR1.5 \times \text{IQR} below the first quartile (Q1Q_1):       Left Fence=Q11.5×(IQR)\text{Left Fence} = Q_1 - 1.5 \times (\text{IQR})

    • More than 1.5×IQR1.5 \times \text{IQR} above the third quartile (Q3Q_3):       Right Fence=Q3+1.5×(IQR)\text{Right Fence} = Q_3 + 1.5 \times (\text{IQR})

  • Example Outlier Calculation:

    • Given dataset: 53,66,67,67,77,78,79,79,84,85,86,87,89,90,92,94,98,9853, 66, 67, 67, 77, 78, 79, 79, 84, 85, 86, 87, 89, 90, 92, 94, 98, 98

    • Q1=77Q_1 = 77

    • Q3=90Q_3 = 90

    • Calculate Interquartile Range:     IQR=9077=13\text{IQR} = 90 - 77 = 13

    • Calculate Left Fence:     Left Fence=Q11.5×(IQR)=771.5×(13)=7719.5=54.5\text{Left Fence} = Q_1 - 1.5 \times (\text{IQR}) = 77 - 1.5 \times (13) = 77 - 19.5 = 54.5

    • Calculate Right Fence:     Right Fence=Q3+1.5×(IQR)=90+1.5×(13)=90+19.5=109.5\text{Right Fence} = Q_3 + 1.5 \times (\text{IQR}) = 90 + 1.5 \times (13) = 90 + 19.5 = 109.5

    • Outlier Determination: The data value 5353 is less than the left fence of 54.554.5 (53 < 54.5), so 5353 is suspected to be a potential outlier.

Calculating Percentiles and Quartiles from Frequency Tables

  • Frequency Table of Student Ages (n=50n = 50):      | Age | Frequency | Relative Frequency | Cumulative Relative Frequency |   | :--- | :--- | :--- | :--- |   | 1717 | 22 | 0.040.04 | 0.040.04 (4%4\%) |   | 1818 | 44 | 0.080.08 | 0.120.12 (12%12\%) |   | 1919 | 77 | 0.140.14 | 0.260.26 (26%26\%) |   | 2020 | 88 | 0.160.16 | 0.420.42 (42%42\%) |   | 2121 | 66 | 0.120.12 | 0.540.54 (54%54\%) |   | 2222 | 1414 | 0.280.28 | 0.820.82 (82%82\%) |   | 2323 | 99 | 0.180.18 | 1.001.00 (100%100\%) |   | Total | 5050 | 1.001.00 | 1.001.00 |

  • Determining Percentiles from Cumulative Relative Frequencies:

    • 40th40\text{th} Percentile: Look for the age value where cumulative relative frequency reaches or first encompasses 0.400.40 (40%40\%). Cumulative relative frequency reaches 0.260.26 at age 1919 and 0.420.42 at age 2020. Therefore, the 40th40\text{th} percentile is 2020.

    • Third Quartile (Q3Q_3 / 75th75\text{th} Percentile): Look for the age value where cumulative relative frequency reaches or exceeds 0.750.75 (75%75\%). Cumulative relative frequency reaches 0.540.54 at age 2121 and 0.820.82 at age 2222. Therefore, the third quartile is 2222.

    • Median (50th50\text{th} Percentile): Look for the age value where cumulative relative frequency reaches or exceeds 0.500.50 (50%50\%). Cumulative relative frequency reaches 0.420.42 at age 2020 and 0.540.54 at age 2121. Therefore, the median is 2121.

    • 12th12\text{th} Percentile: At age 1818, the cumulative relative frequency is exactly 0.120.12 (12%12\%), representing the 6th6\text{th} observation out of 5050 (2+4=62 + 4 = 6, and 650=0.12\frac{6}{50} = 0.12). Since 0.120.12 lands exactly on the boundary between age 1818 and age 1919, average the 6th6\text{th} data value (1818) and 7th7\text{th} data value (1919):     12th Percentile=18+192=18.5\text{12th Percentile} = \frac{18 + 19}{2} = 18.5

Calculating the kth Percentile Using a Formula

  • Formula Definitions:

    • Let kk be the desired percentile number.

    • Let nn be the total number of data values in the data set.

  • Step-by-Step Algorithm:

    1. Sort the data set from smallest to largest.

    2. Compute the index ii using the formula:      i=k100×(n+1)i = \frac{k}{100} \times (n + 1)

    3. Determine the percentile value based on ii:

    • Case A: If ii is an integer, the ithi\text{th} data value in the sorted set is the kthk\text{th} percentile.

    • Case B: If ii is not an integer, round ii down to the nearest lower integer jj, and round ii up to the next integer j+1j + 1. The kthk\text{th} percentile is the average of the jthj\text{th} and (j+1)th(j+1)\text{th} data values.

  • Example (k=62k = 62, n=30n = 30):

    • Sorted Data Set (3030 values):     32.5,34,37,41.5,41.5,45,47.5,50.5,50.5,50.5,53,58.5,61,64,66,67.5,68,68,72,75,75.5,77,79,79,84.5,89,92.5,96,102.5,11432.5, 34, 37, 41.5, 41.5, 45, 47.5, 50.5, 50.5, 50.5, 53, 58.5, 61, 64, 66, 67.5, 68, 68, 72, 75, 75.5, 77, 79, 79, 84.5, 89, 92.5, 96, 102.5, 114

    • Calculate index ii:     i=62100×(30+1)=0.62×31=19.22i = \frac{62}{100} \times (30 + 1) = 0.62 \times 31 = 19.22

    • Since i=19.22i = 19.22 is not an integer, round down to j=19j = 19 and up to j+1=20j + 1 = 20

    • Locate the 19th19\text{th} and 20th20\text{th} values:

    • 19th value=7219\text{th} \text{ value} = 72

    • 20th value=7520\text{th} \text{ value} = 75

    • Calculate the 62nd62\text{nd} percentile:     62nd Percentile=72+752=73.5\text{62nd Percentile} = \frac{72 + 75}{2} = 73.5

  • Mathematical Justification for i=k100(n+1)i = \frac{k}{100}(n+1) vs. i=k100ni = \frac{k}{100}n:

    • Consider finding the 40th40\text{th} percentile (k=40k = 40) for dataset (n=10n = 10): 1,3,5,7,9,11,13,15,17,191, 3, 5, 7, 9, 11, 13, 15, 17, 19

    • If using i=k100n=40100×10=4i = \frac{k}{100}n = \frac{40}{100} \times 10 = 4:

    • The 4th4\text{th} value is 77. However, only 33 values (1,3,51, 3, 5) are strictly less than 77. Since 310=30%\frac{3}{10} = 30\%, 77 represents the 30th30\text{th} percentile, not the 40th40\text{th} percentile.

    • Correct approach using i=k100(n+1)=40100×(10+1)=40100×11=4.4i = \frac{k}{100}(n+1) = \frac{40}{100} \times (10 + 1) = \frac{40}{100} \times 11 = 4.4:

    • Take the average of the 4th4\text{th} value (77) and 5th5\text{th} value (99):       40th Percentile=7+92=8\text{40th Percentile} = \frac{7 + 9}{2} = 8

Finding the Percentile Rank of a Given Value

  • Variable Definitions:

    • Let x=x = number of data values counting from the bottom of the data list up to, but not including, the data value for which you want to find the percentile.

    • Let y=y = number of data values equal to the data value for which you want to find the percentile (including the data value itself).

    • Let n=n = total number of data values in the data set.

  • Procedure:

    1. Sort the data set from smallest to largest.

    2. Calculate the raw percentile value using:      Percentile=x+0.5yn×100\text{Percentile} = \frac{x + 0.5y}{n} \times 100

    3. Round off this final calculated value to the nearest integer.

  • Example (Finding the Percentile Rank of 50.550.5 in n=30n = 30 Dataset):

    • Sorted Dataset:     32.5,34,37,41.5,41.5,45,47.5,50.5,50.5,50.5,53,58.5,61,64,66,67.5,68,68,72,75,75.5,77,79,79,84.5,89,92.5,96,102.5,11432.5, 34, 37, 41.5, 41.5, 45, 47.5, 50.5, 50.5, 50.5, 53, 58.5, 61, 64, 66, 67.5, 68, 68, 72, 75, 75.5, 77, 79, 79, 84.5, 89, 92.5, 96, 102.5, 114

    • Count values strictly less than 50.550.5: x=7x = 7 (values: 32.5,34,37,41.5,41.5,45,47.532.5, 34, 37, 41.5, 41.5, 45, 47.5)

    • Count values equal to 50.550.5: y=3y = 3 (values: 50.5,50.5,50.550.5, 50.5, 50.5)

    • Total number of observations: n=30n = 30

    • Calculation:     Percentile=7+0.5(3)30×100=7+1.530×100=8.530×100=28.3333...\text{Percentile} = \frac{7 + 0.5(3)}{30} \times 100 = \frac{7 + 1.5}{30} \times 100 = \frac{8.5}{30} \times 100 = 28.3333...

    • Rounding to the nearest integer gives 28th28\text{th} percentile.

Box Plots (Box-and-Whisker Plots)

  • Structure and Construction of a Box Plot:

    • The Box:

    • Left edge is drawn at Q1Q_1

    • Right edge is drawn at Q3Q_3

    • Vertical line inside the box is drawn at the Median (Med\text{Med} or MM)

    • Length of the box equals the Interquartile Range (IQR=Q3Q1\text{IQR} = Q_3 - Q_1)

    • The Whiskers:

    • Line segments extending outwards from the box

    • Left whisker extends from Q1Q_1 down to the Minimum (Min\text{Min})

    • Right whisker extends from Q3Q_3 up to the Maximum (Max\text{Max})

    • Small vertical tick marks are drawn at the outer terminal ends of both whiskers

    • Total Length:

    • Length of the entire plot equals the Range (Range=MaxMin\text{Range} = \text{Max} - \text{Min})

  • Distribution Percentages within a Box Plot:

    • Each section between summary marks represents exactly 25%25\% of the data:

    • Min\text{Min} to Q1Q_1: 25%25\% of data values

    • Q1Q_1 to Median: 25%25\% of data values

    • Median to Q3Q_3: 25%25\% of data values

    • Q3Q_3 to Max\text{Max}: 25%25\% of data values

    • The middle 50%50\% of all data values fall inside the central box (25%+25%=50%25\% + 25\% = 50\%).

  • Example 1:

    • Summary: Min=10\text{Min} = 10, Q1=50Q_1 = 50, Median=70\text{Median} = 70, Q3=80Q_3 = 80, Max=85\text{Max} = 85

    • Box extends from 5050 to 8080 (length = 3030).

    • Median mark at 7070.

    • Left whisker extends from 5050 down to 1010.

    • Right whisker extends from 8080 up to 8585.

  • Example 2:

    • Summary: Min=53\text{Min} = 53, Q1=77Q_1 = 77, Median=84.5\text{Median} = 84.5, Q3=90Q_3 = 90, Max=98\text{Max} = 98

    • Box extends from 7777 to 9090 (length = 1313).

    • Median mark at 84.584.5.

    • Left whisker extends from 7777 down to 5353.

    • Right whisker extends from 9090 up to 9898.

Graphing Box Plots on a TI Calculator

  • Step-by-Step Calculator Steps:

    1. Press STAT, select 1:Edit. Clear existing list data if present (arrow up into heading L1, press CLEAR, then ENTER or press STAT, 4:ClrList, enter 2nd 1 for L1, press ENTER).

    2. Input all raw numerical data values into list L1.

    3. Press STAT, arrow right to CALC, select 1:1-Var Stats. Verify list is set to L1, press ENTER. Scroll using arrow keys to view five-number summary (minX\text{minX}, Q1Q_1, Med\text{Med}, Q3Q_3, maxX\text{maxX}).

    4. Press 2nd Y= (STAT PLOT). Select 4:PlotsOff, press ENTER to turn off prior plots.

    5. Press 2nd Y=, select 1:Plot1, press ENTER. Select On. Arrow down to Type, arrow right to choose the box plot icon (5th5\text{th} icon picture option), press ENTER.

    6. Set Xlist to L1 (2nd 1). Set Freq to 1.

    7. Press ZOOM, select 9:ZoomStat.

    8. Press TRACE and use left/right arrow keys to display the values of Min\text{Min}, Q1Q_1, Med\text{Med}, Q3Q_3, and Max\text{Max} on the box plot.

Measures of Center and Summation Notation

  • Primary Measures of Central Tendency:

    • Median (MM): The physical middle value of an ordered dataset.

    • Mean (Average): The arithmetic balance point calculated by summing values and dividing by count.

    • Mode: The value that appears most frequently in the dataset.

  • Summation Notation (Sigma Notation):

    • Let x1,x2,x3,,xnx_1, x_2, x_3, \dots, x_n represent nn individual observations.

    • The summation symbol xi\sum x_i denotes the total sum of all observations:     xi=x1+x2+x3++xn\sum x_i = x_1 + x_2 + x_3 + \dots + x_n

  • Example (Top Four Grossing Superhero Movies):      | Movie Title | Gross (xix_i in millions of dollars) |   | :--- | :--- |   | Black Panther | 700700 (x1x_1) |   | Avengers: Infinity War | 679679 (x2x_2) |   | Marvel's The Avengers | 623623 (x3x_3) |   | Incredibles 2 | 609609 (x4x_4) |

    • Number of observations: n=4n = 4

    • Individual values: x1=700x_1 = 700, x2=679x_2 = 679, x3=623x_3 = 623, x4=609x_4 = 609

    • Sum of observations (xi\sum x_i):     xi=x1+x2+x3+x4=700+679+623+609=2611\sum x_i = x_1 + x_2 + x_3 + x_4 = 700 + 679 + 623 + 609 = 2611

    • Contextual meaning: The total combined box office gross of these four movies is $2,611,000,000\$2,611,000,000 (2.6112.611 billion dollars).

    • Sum of squared observations (xi2\sum x_i^2):     xi2=x12+x22+x32+x42=7002+6792+6232+6092\sum x_i^2 = x_1^2 + x_2^2 + x_3^2 + x_4^2 = 700^2 + 679^2 + 623^2 + 609^2     xi2=490000+461041+388129+370881=1710051\sum x_i^2 = 490000 + 461041 + 388129 + 370881 = 1710051

Sample Mean vs. Population Mean

  • General Definition of Mean:

    • For a data set with nn observations x1,x2,x3,,xnx_1, x_2, x_3, \dots, x_n, the mean is:     Mean=xin\text{Mean} = \frac{\sum x_i}{n}

    • Calculation steps:

    1. Add together all individual data values (x1x_1 through xnx_n).

    2. Divide this computed total sum by the total count of values (nn).

  • Sample Mean (Statistic):

    • Calculated from a sample of nn observations (x1,x2,,xnx_1, x_2, \dots, x_n).

    • Denoted by xˉ\bar{x} (read as "x-bar"):     xˉ=xin\bar{x} = \frac{\sum x_i}{n}

  • Population Mean (Parameter):

    • Calculated from all NN observations in an entire population (x1,x2,,xNx_1, x_2, \dots, x_N).

    • Denoted by μ\mu (Greek letter "mu"):     μ=xiN\mu = \frac{\sum x_i}{N}

  • Example (Parking Ticket Fines):

    • Data set of fines (in dollars) for 1212 randomly selected parking tickets in Los Angeles on March 9, 2019:     93,93,73,68,93,68,68,68,73,73,68,7393, 93, 73, 68, 93, 68, 68, 68, 73, 73, 68, 73

    • Sorted Data Set (n=12n = 12):     68,68,68,68,68,73,73,73,73,93,93,9368, 68, 68, 68, 68, 73, 73, 73, 73, 93, 93, 93

    • Calculate Sample Mean (xˉ\bar{x}):     xi=68+68+68+68+68+73+73+73+73+93+93+93=911\sum x_i = 68 + 68 + 68 + 68 + 68 + 73 + 73 + 73 + 73 + 93 + 93 + 93 = 911     xˉ=9111275.9167\bar{x} = \frac{911}{12} \approx 75.9167

    • Calculate Sample Median (MM):

    • Average of 6th6\text{th} value (7373) and 7th7\text{th} value (7373):       Sample Median=73+732=73\text{Sample Median} = \frac{73 + 73}{2} = 73

TI Calculator Instructions for Mean and Median

  • Step-by-Step Procedure:

    1. Clear list L1: Press STAT, select 4:ClrList, enter 2nd 1 (for L1), and press ENTER.

    2. Input raw data values into the list editor: Press STAT, select 1:Edit, and enter each data value into L1.

    3. Calculate summary statistics: Press STAT, arrow right to CALC, select 1:1-Var Stats, enter L1 (2nd 1), and press ENTER.

    4. Read outputs: Scroll through the output list using the arrow keys. The sample mean is displayed as xˉ\bar{x}, and the median is displayed as MM or Med\text{Med}.