STA 160 · Descriptive Statistics
Our notes
2 min readMeasures of central tendency (averages) give one typical value for a data set.
Ungrouped data
Worked example. Data: 4, 7, 7, 9, 13.
- Mean x̄ = Σx/n = 40/5 = 8.
- Median: the middle value when arranged in order = 7. For an even number of values, average the two middle ones. Position: (n + 1)/2.
- Mode: the most frequent value = 7. A set can have no mode, one (unimodal), two (bimodal) or more.
For a frequency table: x̄ = Σfx / Σf.
Grouped data (using the table from the frequency distributions topic)
| Marks | f | Midpoint x | fx | Cumulative f |
|---|---|---|---|---|
| 10–19 | 5 | 14.5 | 72.5 | 5 |
| 20–29 | 8 | 24.5 | 196.0 | 13 |
| 30–39 | 12 | 34.5 | 414.0 | 25 |
| 40–49 | 5 | 44.5 | 222.5 | 30 |
| Total | 30 | 905.0 |
Mean: x̄ = Σfx/Σf = 905/30 ≈ 30.17.
Median: Median = L + ((N/2 − F)/f) × c
- L = lower class boundary of the median class, N = total frequency, F = cumulative frequency before the median class, f = frequency of the median class, c = class width.
- N/2 = 15 → the median class is 30–39 (cumulative frequency reaches 25 there). L = 29.5, F = 13, f = 12, c = 10.
- Median = 29.5 + ((15 − 13)/12) × 10 = 29.5 + 1.67 ≈ 31.17.
Mode: Mode = L + (d₁/(d₁ + d₂)) × c
- Modal class = the class with the highest frequency (30–39). d₁ = 12 − 8 = 4 (difference with the class before); d₂ = 12 − 5 = 7 (with the class after).
- Mode = 29.5 + (4/11) × 10 ≈ 33.14.
The assumed mean (short-cut) method
x̄ = A + Σfd/Σf, where A is an assumed mean and d = x − A. It gives the same answer with smaller numbers.
Other means
- Weighted mean: x̄ = Σwx/Σw. Your CGPA is a weighted mean of grade points, weighted by course units.
- Geometric mean: ⁿ√(x₁x₂…xₙ), for growth rates and ratios.
- Harmonic mean: n / Σ(1/x), for average speeds over equal distances.
Worked example (weighted). A student scores grade points 5 (3 units), 4 (2 units) and 3 (1 unit). GPA = (15 + 8 + 3)/6 = 26/6 ≈ 4.33.
Comparing the three
| Mean | Median | Mode | |
|---|---|---|---|
| Uses all values | yes | no | no |
| Affected by extreme values (outliers) | yes | no | no |
| Used for qualitative data | no | ordinal only | yes |
| Best when | data are symmetrical | data are skewed (incomes, house prices) | most common item (shoe size, popular choice) |
Empirical relation (moderately skewed data): Mean − Mode ≈ 3(Mean − Median).
Exams usually ask: mean, median and mode of ungrouped and grouped data; the formulas for grouped median and mode; weighted mean (GPA); merits and demerits of each measure.
Common mistake: in the grouped median formula, using the cumulative frequency of the median class for F instead of the one before it.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Introductory Statistics 2e, 2.5 Measures of the Center of the Data
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.5 Measures of the Center of the Data, CC BY-NC-SA 4.0 · licence
-
Measures of central tendency
(opens onlinestatbook.com in a new tab)
Online Statistics Education, Measures of central tendency (public domain)
Watch
-
Mean, Median, and Mode: Measures of Central Tendency: Crash Course Statistics #3
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Mean, Median, and Mode of Grouped Data & Frequency Distribution Tables Statistics
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
Finding mean, median, and mode | Descriptive statistics | Probability and Statistics | Khan Academy
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Calculating the Mean, Variance and Standard Deviation, Clearly Explained!!!
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
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.