One number to stand for many. There are three ways to choose it, they usually disagree, and which one you quote can change the story. This lesson shows what each one measures, how to compute it from raw data and from a table, and how to pick.
Ashanagar is an invented district. The statistics lessons use it for every worked example, so you meet the same households again as the ideas build: first as a list of numbers, then as a spread, then as a population to sample from.
It has 60 households, each with a monthly income in rupees. Unless a page says otherwise, those 60 are the whole population, and a “sample” means a few of them drawn at random. Where a page needs two variables, it uses a smaller set of 12 households with the head’s years of schooling beside income.
The figures are illustrative, made up once and fixed. They are not official statistics.
Nine households live on one street. Their monthly incomes, in thousands of rupees, are 12, 15, 18, 18, 20, 22, 25, 30 and 65. What is the income of the typical household? Three honest answers:
None of them is wrong. They answer three different questions, and with skewed data like incomes they differ a lot. Learning which question each one answers is most of this lesson.
The mean asks “what would each get if everything were shared equally?” The median asks “what does the one in the middle have?” The mode asks “what is the commonest?” Pick the average by the question you are really asking.
The arithmetic mean adds the values and divides by how many there are:
The best picture of it is a seesaw. Put each household on a number line as a weight. The mean is the one point where the line would balance, the fulcrum. Drag the dots below and the blue marker follows. Then press A rich household moves in.
Start here: the mean is 25 and the median 20. Drag the right-hand dot (65) towards 150 and watch which marker moves.
Drag a dot, or focus one and use the arrow keys (Shift for steps of 5).
The mean jumped from 25 to 37.5. The median moved from 20 to 21, and only because there were now ten households and the middle fell between two of them. One very high income pulled the balance point a long way, because the mean counts how large every value is. The median counts only which side each value lies on. That is the mean’s strength, since it uses all the information, and its weakness, since it is hostage to extreme values.
Sometimes some values should count for more. The weighted mean multiplies each value by a weight w and divides by the total weight:
When the weights are group sizes, this is the combined mean of several groups: n1x̄1 + n2x̄2 over n1 + n2. It is why you can never average two averages without knowing how many were behind each.
JNU 2013 poses a puzzle. The average income of province A is higher than that of province B. Some people move from A to B, and the average of both provinces rises. Can that happen?
Yes. Let A have incomes 10, 20, 30, 40 (mean 25) and B have 5 and 15 (mean 10). Move the household earning 20 from A to B. A is left with 10, 30, 40, a mean of 26.67. B now has 5, 15, 20, a mean of 13.33. Both rose. The mover earned less than A’s average, so A improves by losing them, and more than B’s average, so B improves by gaining them. The answer is not “when the richer people move”, which would lower A’s mean. It needs someone in between.
The median is the middle value once the data are sorted. With an odd number of values it is the one in position (n + 1) ÷ 2. With an even number it is halfway between the two in the middle. CUET asks both: seven wages 160, 180, 200, 280, 300, 320, 400 have a median of 280, the fourth, and the ten numbers 2, 4, 3, 6, 1, 8, 9, 2, 5, 7 sort to 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, so the median is halfway between 4 and 5, which is 4.5.
The median pays no attention to how far out the extremes are. JNU 2015: six scores have a median of 21; the highest score rises by three points. The median stays 21, because the highest was and still is above the middle.
Where the mean minimises the sum of squared distances, the median minimises the sum of absolute distances . To see why, slide c to the right by one. Every point to its left gets one unit further away and every point to its right gets one unit nearer. That helps while more points are on the right than on the left, so you stop at the middle. This is why JNU 2021 says the mean deviation is least when taken about the median.
The mode is the value that occurs most often. A data set can have no mode (every value different), one mode, or several: two peaks make it bimodal. It is the only average that works for nominal data: the most common religion in a village, the most common occupation. It is also the right answer when you want the commonest size of something, such as a shoe.
For a continuous variable the raw mode is nearly useless. In Ashanagar, ₹12,000 and ₹22,000 each occur three times in the sixty incomes, and that says nothing. Group the data first and the answer appears: the modal class is the one with the highest frequency, and the next section estimates a single figure from it.
Often you only have the table, not the raw data. Here are the Ashanagar incomes grouped into classes ₹10,000 wide, which is how a survey report would print them.
| Income (₹ ’000) | Class mark | f | Cum. f |
|---|---|---|---|
| 10 to under 20 | 15 | 14 | 14 |
| 20 to under 30 | 25 | 23 | 37 |
| 30 to under 40 | 35 | 11 | 48 |
| 40 to under 50 | 45 | 8 | 56 |
| 50 to under 60 | 55 | 3 | 59 |
| 60 to under 70 | 65 | 0 | 59 |
| 70 to under 80 | 75 | 1 | 60 |
Every value in a class is treated as if it sat at the class mark. That gives the mean, and two formulas give the median and the mode.
The median splits the data in half. Quartiles split it into quarters: Q1 has a quarter of the data below it, Q3 three quarters. Percentiles do the same in hundredths, so the 90th percentile has 90% below it. All of them are read the same way. Go up the cumulative axis of the ogive to the right share of N, across to the curve, then down. The picture is the formula: within a class you assume the values are evenly spread, so the curve is a straight line, and the formula just reads along it. Try it.
| Class (₹ ’000) | f | Cum. f |
|---|---|---|
| 10 to under 20 | 14 | 14 |
| 20 to under 30 | 23 | 37 |
| 30 to under 40 | 11 | 48 |
| 40 to under 50 | 8 | 56 |
| 50 to under 60 | 3 | 59 |
| 60 to under 70 | 0 | 59 |
| 70 to under 80 | 1 | 60 |
50% of N = 60 is 30. The running total first reaches that in the class 20 to under 30, which holds f = 23 households after 14 below it, and is 10,000 wide.
L + ((pN − cf) / f) × h = 20,000 + ((30 − 14) / 23) × 10,000 = 26,957
From the sixty raw incomes the same figure is 25,000. The grouped estimate is a little off because it assumes the households inside a class are spread evenly.
Two conventions are easy to mix up. For raw data, textbooks put Q1 at position (n + 1) ÷ 4 in the sorted list. For grouped data you work with N ÷ 4 and N ÷ 2, as above. CUET 2020 uses the second: with 500 observations, Q3 lies in the 3 × 500 ÷ 4 = 375th item. Statistical software uses other rules again, so a small data set can give a slightly different Q1 in a spreadsheet.
| Situation | Use | Because |
|---|---|---|
| Nominal categories | Mode | No order, no arithmetic |
| Ordinal ranks or ratings | Median | Order is real, gaps are not |
| Skewed data, extreme values, open-ended classes | Median | Not pulled by the tail; computable when the top class has no upper limit |
| Roughly symmetric numerical data | Mean | Uses every value; easiest to work with algebraically |
| Groups of different sizes | Weighted mean | Each group counts in proportion to its size |
| Growth rates; rates per unit | Geometric or harmonic mean | Lesson 3 |
Six situations. Pick the average and read why.
Definitions, one-step arithmetic and which-measure questions. Most CUET and Hyderabad questions sit here.
Grouped data, combined means, effects of shifting and scaling, and statement questions, up to JNU level.
This topic’s hardest questions, from the DSE entrance, are worked through in Lesson 10: Data and averages.
These are questions from the TestStop bank. A free account answers 10 a day, each with its worked solution; All-Access opens every set with no daily limit.