Descriptive Statistics: Percentiles, Quartiles, Outliers, and Z-Scores

Percentiles and Quartiles

  • Percentile Definition: A percentile is a numerical value representing the threshold at or below which a specified percentage (P%P\%) of observations in a dataset fall.
  • Interpretation of Percentiles:
    • Morgan's Chemistry Exam Example:
    • Score (xx): 8080 on a chemistry exam.
    • Percentile Rank: 62nd62^{\text{nd}} percentile.
    • Interpretation: A score of 8080 is higher than or equal to approximately 62%62\% of the class (approaching two-thirds of the class).
    • Complementary Percentage: 38%38\% of the class achieved an exam score greater than 8080, while 62%62\% achieved a score at or below 8080.
    • Pediatric Growth Checkup Example:
    • A 3-year-old male child is evaluated at a checkup and placed in the 75th75^{\text{th}} percentile for weight.
    • Interpretation: The child is heavier than 75%75\% of all boys his age, while 25%25\% of boys his age weigh more than him.
    • Standardized Testing (ACT / SAT) Example:
    • A score in the 90th90^{\text{th}} or 95th95^{\text{th}} percentile in mathematics indicates performance superior to 90%90\% or 95%95\% of all test-takers, with only 10%10\% or 5%5\% scoring higher.
    • Fiftieth Percentile (50th50^{\text{th}} Percentile / Median):
    • A student scoring at the 50th50^{\text{th}} percentile performed better than 50%50\% of the class, while 50%50\% performed better than the student.
    • The 50th50^{\text{th}} percentile represents the exact center of the dataset, dividing the lower half of scores from the upper half.

Quartiles and the Five-Number Summary

  • Quartiles: Values that partition an ordered dataset into four equal segments, each containing 25%25\% of the total observations.
    • First Quartile (Q1Q_1): Equivalent to the 25th25^{\text{th}} percentile. Exactly 25%25\% of the data values are less than or equal to Q1Q_1, and 75%75\% are greater.
    • Second Quartile (Q2Q_2): Equivalent to the 50th50^{\text{th}} percentile or Median. Exactly 50%50\% of the data values are less than or equal to Q2Q_2, and 50%50\% are greater.
    • Third Quartile (Q3Q_3): Equivalent to the 75th75^{\text{th}} percentile. Exactly 75%75\% of the data values are less than or equal to Q3Q_3, and 25%25\% are greater.
  • Five-Number Summary: A collection of five descriptive statistics summarizing the center, spread, and range of a dataset:
    1. Minimum value (Minimum\text{Minimum})
    2. First Quartile (Q1Q_1)
    3. Second Quartile / Median (Q2Q_2)
    4. Third Quartile (Q3Q_3)
    5. Maximum value (Maximum\text{Maximum})

Calculating Quartiles and Summary Statistics by Hand

  • Step-by-Step Method for Ordered Data:
    • Sample Dataset: Weekly screen time (in hours) collected from n=15n = 15 college students.
    • Step 1: Determine the Median (Q2Q_2):
    • For an odd sample size nn, the position of the median is calculated using the formula:       Position of Q2=n+12\text{Position of } Q_2 = \frac{n + 1}{2}
    • For n=15n = 15:       Position of Q2=15+12=8\text{Position of } Q_2 = \frac{15 + 1}{2} = 8
    • The 8th8^{\text{th}} ordered value is 30 hours30\,\text{hours}. Thus, Q2=30 hoursQ_2 = 30\,\text{hours}.
    • The median splits the dataset into a lower half (77 observations) and an upper half (77 observations).
    • Step 2: Determine the First Quartile (Q1Q_1):
    • Q1Q_1 is the median of the lower half of the data (nlower=7n_{\text{lower}} = 7).
    • Position formula:       Position of Q1=7+12=4\text{Position of } Q_1 = \frac{7 + 1}{2} = 4
    • The 4th4^{\text{th}} observation in the lower half is 20 hours20\,\text{hours}. Thus, Q1=20 hoursQ_1 = 20\,\text{hours}.
    • Step 3: Determine the Third Quartile (Q3Q_3):
    • Q3Q_3 is the median of the upper half of the data (nupper=7n_{\text{upper}} = 7).
    • Position formula:       Position of Q3=7+12=4\text{Position of } Q_3 = \frac{7 + 1}{2} = 4
    • The 4th4^{\text{th}} observation in the upper half is 39 hours39\,\text{hours}. Thus, Q3=39 hoursQ_3 = 39\,\text{hours}.
  • Interpretation of Results:
    • 50%50\% of students logged less than 30 hours30\,\text{hours} of screen time, and 50%50\% logged more than 30 hours30\,\text{hours}.
    • 25%25\% of students logged less than 20 hours20\,\text{hours} of screen time.
    • 75%75\% of students logged less than or equal to 39 hours39\,\text{hours} of screen time (25%25\% logged more than 39 hours39\,\text{hours}).

Interquartile Range, Fences, and Outliers

  • Interquartile Range (IQR):
    • Measures the variability or spread of the middle 50%50\% of the data.
    • Formula:     IQR=Q3−Q1\text{IQR} = Q_3 - Q_1
    • Calculation for Screen Time Data:     IQR=39−20=19 hours\text{IQR} = 39 - 20 = 19\,\text{hours}
  • Outliers:
    • Definition: Extreme observations that deviate significantly from the overall pattern of the dataset.
    • Causes of Outliers: Machine malfunctions (e.g., automated candy bar packaging equipment dispensing an abnormal amount of peanut filling), or exceptional human characteristics (e.g., elite Kenyan distance runners training at high elevations outperforming general populations).
  • Fence Calculations for Outlier Detection:
    • Standard Lower Fence Formula:     Lower Fence=Q1−1.5×IQR\text{Lower Fence} = Q_1 - 1.5 \times \text{IQR}Lower Fence=20−1.5×19=20−28.5=−8.5 hours\text{Lower Fence} = 20 - 1.5 \times 19 = 20 - 28.5 = -8.5\,\text{hours}
    • Standard Upper Fence Formula:     Upper Fence=Q3+1.5×IQR\text{Upper Fence} = Q_3 + 1.5 \times \text{IQR}Upper Fence=39+1.5×19=39+28.5=67.5 hours\text{Upper Fence} = 39 + 1.5 \times 19 = 39 + 28.5 = 67.5\,\text{hours}
  • Identifying Outliers in Data:
    • Lower bound test: Minimum value 12 hours>−8.5 hours12\,\text{hours} > -8.5\,\text{hours}. No lower-end outliers exist.
    • Upper bound test: The dataset contains an observation of 83 hours83\,\text{hours}. Because 83 hours>67.5 hours83\,\text{hours} > 67.5\,\text{hours}, 83 hours83\,\text{hours} is identified as an outlier.
  • Box Plot (Box-and-Whisker Plot) Representation:
    • The whiskers of a box plot terminate at the most extreme non-outlier values in the dataset.
    • Outliers (such as 83 hours83\,\text{hours}) are displayed as distinct points outside the fences.
    • In statistical software, identified outliers are excluded from the whisker endpoints of the box-and-whisker structure so they do not distort the visualization of typical data spread.

Z-Scores and Standardized Comparisons

  • Definition and Function of Z-Scores:
    • A ZZ-score (or standard score) quantifies how many standard deviations a raw score (xx) lies above or below the mean of a distribution.
    • Serves as a method to compare individual values from entirely different distributions or units ("comparing apples to oranges"), such as comparing salaries across distinct occupational classes (e.g., janitors vs. corporate CEOs/managers).
  • Mathematical Formulas:
    • Population Z-Score Formula:     Z=x−μσZ = \frac{x - \mu}{\sigma}
    • Sample Z-Score Formula:     Z=x−xˉsZ = \frac{x - \bar{x}}{s}
    • Where xx represents the raw observation value, μ\mu or xˉ\bar{x} represents the mean, and σ\sigma or ss represents the standard deviation.
  • Direction and Interpretation:
    • A positive ZZ-score (Z>0Z > 0) indicates an observation above the mean.
    • A negative ZZ-score (Z<0Z < 0) indicates an observation below the mean.
    • A ZZ-score of zero (Z=0Z = 0) indicates an observation exactly equal to the mean.
  • Contextual Evaluation:
    • For metrics like exam scores or annual salaries, a higher positive ZZ-score is typically desirable.
    • For metrics like race completion times, a lower negative ZZ-score (indicating a faster time below the average) is desirable.
    • In general analytical settings, ZZ-scores determine relative extremity (how far an observation lies from the center).

Comparative Z-Score Analysis: Exam Performance Example

  • Scenario Overview:
    • Evaluating relative performance between two students taking different academic exams.
    • Anna's Statistics Exam:
    • Student Score (xx): 8888
    • Class Mean (μ\mu or xˉ\bar{x}): 8080
    • Class Standard Deviation (σ\sigma or ss): 44
    • Z-Score Calculation:       ZAnna=88−804=84=2.00Z_{\text{Anna}} = \frac{88 - 80}{4} = \frac{8}{4} = 2.00
    • Blake's English Exam:
    • Student Score (xx): 9090
    • Class Mean (μ\mu or xˉ\bar{x}): 8080
    • Class Standard Deviation (σ\sigma or ss): 7.57.5
    • Z-Score Calculation:       ZBlake=90−807.5=107.5=1.33Z_{\text{Blake}} = \frac{90 - 80}{7.5} = \frac{10}{7.5} = 1.33
  • Comparison & Conclusion:
    • Both Anna and Blake performed above their respective class averages (ZAnna>0Z_{\text{Anna}} > 0 and ZBlake>0Z_{\text{Blake}} > 0).
    • Anna performed relatively better compared to her peer group than Blake did compared to his peer group, because Anna scored 2.002.00 standard deviations above the statistics mean, whereas Blake scored 1.331.33 standard deviations above the English mean.