Descriptive Statistics
Summarize data with measures of center and spread, pick the right graph, and describe distributions with SOCS.
1 Center: mean, median, mode
The center is a single number that represents the “typical” value of a dataset. The three common measures behave differently when data is skewed.
Mean uses every value, so outliers and skew pull it. Median is the middle of the sorted list, so it resists outliers. Mode is the most frequent value (best for categories).
- Mean: (70 + 74 + 78 + 80 + 98) / 5 = 400 / 5 = 80.
- Median: the sorted middle value is 78.
- The high score 98 pulls the mean above the median — a hint of right skew.
- Prices ($k): 320, 340, 350, 360, 2900. Mean = 4270 / 5 = 854.
- Median = 350 — far more typical of the neighborhood.
- Report median for heavily skewed data like incomes and house prices.
2 Spread: range, IQR, standard deviation
Spread says how far values stray from the center. Range is quick but fragile; IQR and standard deviation are the workhorses.
Quartiles split sorted data into quarters: Q1 is the median of the lower half, Q3 the median of the upper half. The IQR covers the middle 50% and resists outliers. Standard deviation is the root-mean-square distance from the mean — not the average distance.
- Range = 12 − 4 = 8. Median = 8; lower half {4, 6} → Q1 = 5; upper half {10, 12} → Q3 = 11.
- IQR = 11 − 5 = 6.
- Mean = 8; squared deviations: 16, 4, 0, 4, 16; sum = 40; sample SD = √(40/4) = √10 ≈ 3.16.
3 Shape, skew, and choosing a graph
The shape of a distribution tells you which center/spread pair to report, and the variable type tells you which graph to draw.
The mean chases the tail. For skewed data report median and IQR; for roughly symmetric data report mean and standard deviation.
- Mean < median, so the tail stretches left: skewed left.
- Report the median (71) and IQR here, not the mean.
- Favorite fruit (categorical) → bar chart.
- Heights of 200 students (quantitative) → histogram.
- Comparing test scores across three classes → side-by-side boxplots.
4 SOCS: describe any distribution
SOCS is the four-point checklist statisticians use: Shape, Outliers, Center, Spread — always in context.
Shape first: it decides whether center/spread should be mean/SD or median/IQR.
- Shape: right-skewed (many kids, a few adults). Outliers: a couple of grandparents near 70.
- Center: median age ≈ 8. Spread: IQR ≈ 6 years.
- Full sentence: “Ages are right-skewed with a few high outliers; the typical age is about 8 (median), with the middle 50% spanning about 6 years.”
5 Common mistakes
6 Key vocabulary
- Mean (x̄)
- Sum divided by n; pulled by skew and outliers.
- Median
- Middle of sorted data; resistant to outliers.
- Quartiles / IQR
- Q1, Q3 split the data in quarters; IQR = Q3 − Q1 covers the middle 50%.
- Standard deviation
- Root-mean-square distance from the mean; use n − 1 for samples.
- Skew
- Direction of the long tail; the mean chases the tail.
- SOCS
- Shape, Outliers, Center, Spread — in context.