Quick answer: For data with frequencies , the mean is . The median is the middle value of the ordered data; for grouped data, . The mode is the most frequent value; for grouped data, . For moderately skewed data, .
Frequency distributions
| Type | Description |
|---|---|
| Raw data | Individual observations |
| Discrete frequency distribution | Values with their frequencies |
| Grouped (continuous) distribution | Class intervals with frequencies |
| Cumulative frequency (cf) | Running total of frequencies |
Mean
| Data | Formula |
|---|---|
| Raw | |
| Frequency | |
| Assumed mean A, step h | , with |
| Combined mean |
Grouped data uses class midpoints for .
Properties: the sum of deviations from the mean is 0. Adding k to every value adds k to the mean; multiplying every value by k multiplies the mean by k.
Median
| Data | Rule |
|---|---|
| Raw, n odd | The th value |
| Raw, n even | Average of the th and th values |
| Grouped |
For grouped data: l is the lower limit of the median class, N the total frequency, c the cumulative frequency before the median class, f its frequency and h the class width.
Mode
For grouped data, with modal class (highest frequency) having lower limit l, frequency , previous frequency , next frequency and width h:
Empirical relation: (approximately, for moderately skewed data).
Effect of changes in data
| Change to each value | Mean, median, mode |
|---|---|
| Add k | All increase by k |
| Multiply by k | All are multiplied by k |
Worked examples
Example 1: raw data
Find the mean and median of 7, 3, 9, 5, 11, 3.
Step 1: Mean .
Step 2: Ordered: 3, 3, 5, 7, 9, 11. Median . Mode .
Example 2: discrete frequency
| x | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| f | 3 | 5 | 8 | 4 |
Mean .
Example 3: grouped median
| Class | 0–10 | 10–20 | 20–30 | 30–40 | 40–50 |
|---|---|---|---|---|---|
| f | 5 | 8 | 12 | 10 | 5 |
| cf | 5 | 13 | 25 | 35 | 40 |
Step 1: ; the median class is 20–30.
Step 2:
Example 4: grouped mode
For the same table, the modal class is 20–30 with , , :
Example 5: combined mean
Class A (30 students) averages 60 and class B (20 students) averages 70. Find the overall mean.
Summary table
| Measure | Key formula |
|---|---|
| Mean | |
| Grouped median | |
| Grouped mode | |
| Combined mean | |
| Empirical | Mode = 3 Median − 2 Mean |
Exam tips
- Always sort raw data before finding the median.
- Build the cumulative frequency column first for grouped medians.
- For "a wrong value was recorded" questions, correct the total, then divide again.
Next, study variance, standard deviation and moments, or see the NIMCET Probability and Statistics chapter.
Common mistakes
- Finding the median without arranging the data in order.
- Using class limits instead of midpoints for the grouped mean.
- Taking c as the cumulative frequency of the median class itself.
- Averaging two group means without weighting by group size.
Frequently Asked Questions
What is the formula for the median of grouped data?
Median = l + ((N/2 − c)/f) × h.
What is the empirical relation between mean, median and mode?
Mode ≈ 3 Median − 2 Mean, for moderately skewed data.
How do you find a combined mean?
Weight each group mean by its size: (n₁x̄₁ + n₂x̄₂)/(n₁ + n₂).
What happens to the mean if each value is increased by 5?
The mean also increases by 5.
What is the mode of grouped data?
Mode = l + ((f₁ − f₀)/(2f₁ − f₀ − f₂)) × h, where the modal class has the highest frequency.