STA 160 · Descriptive Statistics
Our notes
2 min readMeasures of dispersion (spread or variability) show how spread out the data are. Two classes can have the same mean score, but one may have results bunched together and the other widely spread.
Range
Range = largest value − smallest value. Simple, but it uses only two values and is affected by extremes.
Quartiles and the interquartile range
- Q₁ (lower quartile): 25% of the data lie below it; Q₂ = median; Q₃ (upper quartile): 75% lie below it.
- Interquartile range (IQR) = Q₃ − Q₁: the spread of the middle 50%; not affected by extreme values.
- Semi-interquartile range (quartile deviation) = (Q₃ − Q₁)/2.
- For grouped data, find quartiles like the median: Q₁ uses N/4, Q₃ uses 3N/4.
Mean deviation
MD = Σ|x − x̄| / n: the average distance from the mean (ignoring signs).
Variance and standard deviation
The most important measures.
- Population variance: σ² = Σ(x − μ)²/N. Standard deviation: σ = √σ².
- Sample variance: s² = Σ(x − x̄)²/(n − 1) (dividing by n − 1 corrects bias when estimating a population from a sample).
- Short-cut formula: σ² = Σx²/n − (x̄)².
- Grouped data: σ² = Σf(x − x̄)²/Σf = Σfx²/Σf − (Σfx/Σf)².
Worked example. Data: 2, 4, 4, 4, 5, 5, 7, 9 (n = 8).
Mean = 40/8 = 5.
Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16; sum = 32.
Population variance σ² = 32/8 = 4; σ = 2.
(Sample variance s² = 32/7 ≈ 4.57; s ≈ 2.14.)
Check with the short-cut: Σx² = 4 + 16 + 16 + 16 + 25 + 25 + 49 + 81 = 232; 232/8 − 25 = 29 − 25 = 4 ✓.
Coefficient of variation
CV = (standard deviation / mean) × 100%. A relative measure (no units) for comparing the spread of data sets with different means or units. The set with the smaller CV is more consistent.
Worked example. Student A: mean 60, s = 6 → CV = 10%. Student B: mean 50, s = 10 → CV = 20%. A is more consistent.
Properties of standard deviation
- Adding a constant to every value does not change it.
- Multiplying every value by k multiplies it by |k|.
- For roughly normal (bell-shaped) data, about 68% of values lie within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3.
Exams usually ask: range, quartiles and IQR; mean deviation; variance and standard deviation for ungrouped and grouped data; coefficient of variation to compare consistency.
Common mistake: forgetting to take the square root: the variance is not the standard deviation.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Introductory Statistics 2e, 2.7 Measures of the Spread of the Data
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.7 Measures of the Spread of the Data, CC BY-NC-SA 4.0 · licence
-
Introductory Statistics 2e, 2.4 Box Plots
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.4 Box Plots, CC BY-NC-SA 4.0 · licence
-
Measures of variability
(opens onlinestatbook.com in a new tab)
Online Statistics Education, Measures of variability (public domain)
Watch
Practise
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.