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%) of observations in a dataset fall.
- Interpretation of Percentiles:
- Morgan's Chemistry Exam Example:
- Score (x): 80 on a chemistry exam.
- Percentile Rank: 62nd percentile.
- Interpretation: A score of 80 is higher than or equal to approximately 62% of the class (approaching two-thirds of the class).
- Complementary Percentage: 38% of the class achieved an exam score greater than 80, while 62% achieved a score at or below 80.
- Pediatric Growth Checkup Example:
- A 3-year-old male child is evaluated at a checkup and placed in the 75th percentile for weight.
- Interpretation: The child is heavier than 75% of all boys his age, while 25% of boys his age weigh more than him.
- Standardized Testing (ACT / SAT) Example:
- A score in the 90th or 95th percentile in mathematics indicates performance superior to 90% or 95% of all test-takers, with only 10% or 5% scoring higher.
- Fiftieth Percentile (50th Percentile / Median):
- A student scoring at the 50th percentile performed better than 50% of the class, while 50% performed better than the student.
- The 50th 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% of the total observations.
- First Quartile (Q1): Equivalent to the 25th percentile. Exactly 25% of the data values are less than or equal to Q1, and 75% are greater.
- Second Quartile (Q2): Equivalent to the 50th percentile or Median. Exactly 50% of the data values are less than or equal to Q2, and 50% are greater.
- Third Quartile (Q3): Equivalent to the 75th percentile. Exactly 75% of the data values are less than or equal to Q3, and 25% are greater.
- Five-Number Summary: A collection of five descriptive statistics summarizing the center, spread, and range of a dataset:
- Minimum value (Minimum)
- First Quartile (Q1)
- Second Quartile / Median (Q2)
- Third Quartile (Q3)
- Maximum value (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=15 college students.
- Step 1: Determine the Median (Q2):
- For an odd sample size n, the position of the median is calculated using the formula:
Position of Q2=2n+1
- For n=15:
Position of Q2=215+1=8
- The 8th ordered value is 30hours. Thus, Q2=30hours.
- The median splits the dataset into a lower half (7 observations) and an upper half (7 observations).
- Step 2: Determine the First Quartile (Q1):
- Q1 is the median of the lower half of the data (nlower=7).
- Position formula:
Position of Q1=27+1=4
- The 4th observation in the lower half is 20hours. Thus, Q1=20hours.
- Step 3: Determine the Third Quartile (Q3):
- Q3 is the median of the upper half of the data (nupper=7).
- Position formula:
Position of Q3=27+1=4
- The 4th observation in the upper half is 39hours. Thus, Q3=39hours.
- Interpretation of Results:
- 50% of students logged less than 30hours of screen time, and 50% logged more than 30hours.
- 25% of students logged less than 20hours of screen time.
- 75% of students logged less than or equal to 39hours of screen time (25% logged more than 39hours).
Interquartile Range, Fences, and Outliers
- Interquartile Range (IQR):
- Measures the variability or spread of the middle 50% of the data.
- Formula:
IQR=Q3−Q1
- Calculation for Screen Time Data:
IQR=39−20=19hours
- 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×IQRLower Fence=20−1.5×19=20−28.5=−8.5hours
- Standard Upper Fence Formula:
Upper Fence=Q3+1.5×IQRUpper Fence=39+1.5×19=39+28.5=67.5hours
- Identifying Outliers in Data:
- Lower bound test: Minimum value 12hours>−8.5hours. No lower-end outliers exist.
- Upper bound test: The dataset contains an observation of 83hours. Because 83hours>67.5hours, 83hours 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 83hours) 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 Z-score (or standard score) quantifies how many standard deviations a raw score (x) 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−μ
- Sample Z-Score Formula:
Z=sx−xˉ
- Where x represents the raw observation value, μ or xˉ represents the mean, and σ or s represents the standard deviation.
- Direction and Interpretation:
- A positive Z-score (Z>0) indicates an observation above the mean.
- A negative Z-score (Z<0) indicates an observation below the mean.
- A Z-score of zero (Z=0) indicates an observation exactly equal to the mean.
- Contextual Evaluation:
- For metrics like exam scores or annual salaries, a higher positive Z-score is typically desirable.
- For metrics like race completion times, a lower negative Z-score (indicating a faster time below the average) is desirable.
- In general analytical settings, Z-scores determine relative extremity (how far an observation lies from the center).
- Scenario Overview:
- Evaluating relative performance between two students taking different academic exams.
- Anna's Statistics Exam:
- Student Score (x): 88
- Class Mean (μ or xˉ): 80
- Class Standard Deviation (σ or s): 4
- Z-Score Calculation:
ZAnna=488−80=48=2.00
- Blake's English Exam:
- Student Score (x): 90
- Class Mean (μ or xˉ): 80
- Class Standard Deviation (σ or s): 7.5
- Z-Score Calculation:
ZBlake=7.590−80=7.510=1.33
- Comparison & Conclusion:
- Both Anna and Blake performed above their respective class averages (ZAnna>0 and ZBlake>0).
- Anna performed relatively better compared to her peer group than Blake did compared to his peer group, because Anna scored 2.00 standard deviations above the statistics mean, whereas Blake scored 1.33 standard deviations above the English mean.