Kathmandu gets about 1,502 mm of rain in a year. Share that out over 12 months and an “average month” gets 125 mm. Yet in 7 of the 12 months it rains less than that, and in November hardly at all. So how much rain does a typical month get?
One number can stand for a whole list of numbers, but there is more than one way to choose it: the mean (the equal share), the median (the middle one in order) and the mode (the commonest). This unit finds all three, and the quartiles, which cut ordered data into four. In Back to Kathmandu’s rain you will say which number answers the question, and why.
Figures: Kathmandu (Tribhuvan International Airport) climate normals 1991–2020, WMO and the Department of Hydrology and Meteorology, as Wikipedia’s Kathmandu article gives them.
18.0 Review
Look at your Grade 8 gradesheet, or at this one: the grade points in Mathematics of nine friends of Grade 8.
2.8, 3.6, 2.4, 3.2, 4.0, 2.8, 3.6, 2.8, 3.2
Three questions, three different answers: 3.16, 3.2 and 2.8. Each is a fair way of saying “a typical grade point”, and each answers a slightly different question. Numbers like these, which say where the middle of the data is, are called measures of central tendency. You met data in tables in Unit 17; here we find their middle.
18.1 Arithmetic mean
Activity 1: 32 marks
a. The marks are written one by one, a value for each student: an individual series. Add them all. (the Greek capital letter sigma) means “the sum of”, and X stands for each mark:
There are N = 32 marks. Sharing the 448 marks equally among the 32 students gives each
X (read “X bar”) is the arithmetic mean, also called the mean or the average: the total shared out equally.
b. Adding 32 numbers one by one is slow, and many of them repeat. Count how many students got each mark, its frequency f:
| Marks | 9 | 10 | 12 | 14 | 16 | 18 |
|---|---|---|---|---|---|---|
| Students | 2 | 2 | 7 | 9 | 8 | 4 |
A table of values with their frequencies is a discrete series.
c. Seven students got 12: together that is 7 × 12 = 84 marks. So multiply each mark by its frequency, fX, and add:
| Marks (X) | Students (f) | fX |
|---|---|---|
| 9 | 2 | 18 |
| 10 | 2 | 20 |
| 12 | 7 | 84 |
| 14 | 9 | 126 |
| 16 | 8 | 128 |
| 18 | 4 | 72 |
The same sum, 448, and the same mean, 14, with six multiplications instead of 31 additions.
The arithmetic mean of data is the sum of all the values divided by the number of values. For an individual series ; for a discrete series , where is the total of the frequencies. When there are many values and they repeat, write them as a discrete series first: it is quicker.
In a discrete series, 5 students scored 16 marks each. What do they add to ?
Pick an answer to see why.
Worked examples: the mean
18.2 Median
Activity 2: the student in the middle
At home, line up your family by height, or by age, and find the median the same way.
Activity 3: ages of prize winners
a. Each age is written separately: an individual series.
b. In ascending order (smallest first):
8, 8, 8, 10, 10, 10, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 14, 14, 14, 14, 14, 14, 14, 14, 16, 16, 16, 18
c. There are 29 ages. The 15th has 14 ages before it and 14 after it, so it is exactly in the middle. Count to it: the 15th age is 12. There is a rule for the place of the middle item:
d. The middle value is the median, written . Here years.
e. As a discrete series:
| Age (years) | 8 | 10 | 12 | 14 | 16 | 18 |
|---|---|---|---|---|---|---|
| Students | 3 | 5 | 9 | 8 | 3 | 1 |
The cumulative frequency (cf) of a value is how many items there are up to and including it: add the frequencies one by one.
| Age (years) | Frequency (f) | Cumulative frequency (cf) |
|---|---|---|
| 8 | 3 | 3 |
| 10 | 5 | 3 + 5 = 8 |
| 12 | 9 | 8 + 9 = 17 |
| 14 | 8 | 17 + 8 = 25 |
| 16 | 3 | 25 + 3 = 28 |
| 18 | 1 | 28 + 1 = 29 |
| N = 29 |
f. The median is the 15th item, as in c. Read the cf column: items 1 to 3 are 8, items 4 to 8 are 10, items 9 to 17 are 12. The 15th is among them, so , without writing all 29 ages out.
The median is the value that divides data, arranged in order, into two equal parts: half the values are at or below it and half at or above it. It is written . Its place is
We divide by 2 because the median cuts the data in two. In a discrete series, put the values in ascending (or descending) order, make the cumulative frequencies, and find the first cf that reaches the median’s place: its value is the median.
The ordered list of 9 values has its median at which place?
Pick an answer to see why.
Worked examples: the median
18.3 Mode
Activity 4: hours of study
a. As a discrete series:
| Time (hours) | 8 | 10 | 12 | 13 | 15 | 17 | 18 |
|---|---|---|---|---|---|---|---|
| Frequency (f) | 4 | 3 | 2 | 5 | 3 | 3 | 1 |
b. 13 hours comes 5 times, more than any other value.
c. So the mode is 13 hours: .
The mode is the value that occurs most often, the one with the highest frequency. It is written :
No calculation is needed, only counting. A set of data can have two modes (it is then bimodal), or none at all when every value occurs equally often, like Kathmandu’s 12 monthly rainfalls, which are all different.
In a shop’s sales of school shirts last month, sizes 28, 30, 32, 34 and 36 sold 14, 31, 47, 22 and 9 shirts. What is the mode?
Pick an answer to see why.
Which one to use?
The three can tell different stories about the same data, so the choice matters.
| Mean | Median | Mode | |
|---|---|---|---|
| What it is | the equal share | the middle in order | the commonest value |
| Uses every value | yes | only their order | only the counts |
| A few huge values | pull it a long way | hardly move it | don’t move it |
| Works for words (colors, sizes) | no | only if they have an order | yes |
- Use the mean when the total matters: the mean wage times the number of workers is the wage bill; Kathmandu’s mean monthly rain times 12 is the year’s rain. Weather offices worldwide describe a place’s climate by such means over 30 years, its climate normals.
- Use the median when a few values are far from the rest: incomes, house prices, Kathmandu’s monthly rain. In 2025, for example, the median household income in the United States was $87,460 and the mean $126,700 (the US Census Bureau’s figures): the mean is pulled up by the richest households, so official reports lead with the median.
- Use the mode for the most common choice: a shirt size to stock, a bus time most people want, a winner.
Exercise 18.1
Question 1
Find the arithmetic mean of each.
| Marks | 10 | 20 | 30 | 40 | 50 |
|---|---|---|---|---|---|
| Frequency | 2 | 5 | 12 | 7 | 1 |
Answer
| Age (years) | 15 | 25 | 35 | 45 | 55 |
|---|---|---|---|---|---|
| Patients | 40 | 30 | 50 | 20 | 10 |
Answer
| X | 40 | 50 | 55 | 62 | 75 | 80 |
|---|---|---|---|---|---|---|
| f | 4 | 6 | 10 | 8 | 5 | 2 |
Answer
| Milk a day (ml) | Families |
|---|---|
| 500 | 8 |
| 700 | 5 |
| 1000 | 9 |
| 1500 | 5 |
| 2000 | 3 |
Answer
Question 2
Find the median of each.
| Marks | Frequency |
|---|---|
| 10 | 5 |
| 20 | 9 |
| 30 | 15 |
| 40 | 12 |
| 50 | 6 |
| 60 | 3 |
Answer
| Daily wage (Rs) | Workers |
|---|---|
| 300 | 6 |
| 350 | 12 |
| 400 | 18 |
| 450 | 14 |
| 500 | 7 |
| 550 | 4 |
| 600 | 1 |
Answer
| Weight (kg) | 20 | 25 | 30 | 35 | 40 |
|---|---|---|---|---|---|
| People | 5 | 7 | 10 | 5 | 3 |
Answer
| Dividend (Rs) | Workers |
|---|---|
| 300 | 10 |
| 400 | 14 |
| 500 | 20 |
| 600 | 12 |
| 700 | 4 |
Answer
Question 3
Find the median of the data of Question 1.
Question 1a: marks 10, 20, 30, 40, 50 with frequencies 2, 5, 12, 7, 1.
Answer
Question 1b: ages 15, 25, 35, 45, 55 years with 40, 30, 50, 20, 10 patients.
Answer
Question 1c: X = 40, 50, 55, 62, 75, 80 with f = 4, 6, 10, 8, 5, 2.
Answer
Question 1d: milk 500, 700, 1000, 1500, 2000 ml with 8, 5, 9, 5, 3 families.
Answer
Question 4
Find the arithmetic mean of the data of Question 2.
Question 2a: marks 10, 20, 30, 40, 50, 60 with frequencies 5, 9, 15, 12, 6, 3.
Answer
Question 2b: daily wages Rs 300, 350, 400, 450, 500, 550, 600 with 6, 12, 18, 14, 7, 4, 1 workers.
Answer
Question 2c: weights 20, 25, 30, 35, 40 kg with 5, 7, 10, 5, 3 people.
Answer
Question 2d: dividends Rs 300, 400, 500, 600, 700 with 10, 14, 20, 12, 4 workers.
Answer
Question 5
Find the missing value in each.
Find k if the mean X = 38.
| X | 30 | 25 | 35 | 45 | 55 |
|---|---|---|---|---|---|
| f | 2 | 6 | k | 10 | 3 |
Answer
Find m if the mean of the data is 175.
| Marks | Frequency |
|---|---|
| 155 | 3 |
| 165 | m |
| 175 | 5 |
| 185 | 4 |
| 195 | 2 |
Answer
Find r if the mean of the data is 24.55 kg.
| Weight (kg) | 20 | 22 | 25 | 26 | r | 34 |
|---|---|---|---|---|---|---|
| People | 4 | 4 | 5 | 4 | 2 | 1 |
Answer
Question 6
Find the mode of each.
| X | 10 | 15 | 20 | 25 | 30 |
|---|---|---|---|---|---|
| f | 2 | 4 | 6 | 4 | 2 |
Answer
| Wage (Rs) | Workers |
|---|---|
| 120 | 10 |
| 150 | 12 |
| 175 | 17 |
| 200 | 13 |
| 225 | 4 |
| 300 | 3 |
Answer
| Marks | Frequency |
|---|---|
| 15 | 7 |
| 25 | 8 |
| 45 | 12 |
| 55 | 10 |
| 65 | 3 |
| 70 | 1 |
Answer
| Weight (kg) | 10 | 20 | 30 | 40 | 50 |
|---|---|---|---|---|---|
| People | 5 | 9 | 15 | 12 | 6 |
Answer
Question 7
The heights of 40 plants in a garden, in cm, are given below. Write the data as a discrete series and find the arithmetic mean and the median.
20, 25, 20, 10, 30, 35, 30, 25, 20, 40,
40, 35, 30, 30, 25, 20, 25, 30, 35, 30,
20, 25, 30, 25, 35, 25, 40, 25, 40, 30,
25, 35, 30, 35, 35, 25, 30, 35, 30, 30
Answer
18.4 Quartiles
The median cuts ordered data into two halves. Cut each half again and the data is in four quarters. Health workers use cuts like these: a child’s height is checked against the World Health Organization’s growth standards, which give the heights at such cuts for every age. A child at the 25% mark is taller than about a quarter of healthy children of that age and shorter than three quarters.
Activity 1: a line in four parts
Activity 2: seven values
a. The smallest is 35. In ascending order: 35, 37, 40, 45, 46, 47, 48.
b. 35, 37, 40, 45, 46, 47, 48: the 2nd value, 37, has a quarter of the data before it; the 4th, 45, is the median; the 6th, 47, has three quarters of the data before it.
c. , one part out of 4; , three parts out of 4.
d. There are N = 7 items, so N + 1 = 8.
So Q₁ = 37 and Q₃ = 47.
Activity 3: a discrete series
a. The weights are already in ascending order.
| Weight (kg) | Frequency (f) | cf |
|---|---|---|
| 20 | 6 | 6 |
| 22 | 8 | 14 |
| 24 | 9 | 23 |
| 27 | 7 | 30 |
| 28 | 5 | 35 |
| 30 | 5 | 40 |
| 31 | 3 | 43 |
| N = 43 |
b. Q₁ is the th = 11th item; Q₃ is the th = 33rd item.
c. Items 7 to 14 weigh 22 kg, so Q₁ = 22 kg; items 31 to 35 weigh 28 kg, so Q₃ = 28 kg.
The quartiles are the three values that divide data, arranged in ascending order, into four equal parts. The first quartile Q₁ (the lower quartile) has 25% of the data at or below it; the second quartile Q₂ has 50% and is the median; the third quartile Q₃ (the upper quartile) has 75%. Their places are
The middle half of the data lies between Q₁ and Q₃. In Activity 3, half the people weigh from 22 to 28 kg.
When the place is not a whole number, the quartile lies between two items. A place like 9.75th means the 9th item plus 0.75 of the step to the 10th:
The median’s 12.5th item in Example 5 of 18.2 was the same rule with 0.5.
For 15 values in order, which item is Q₃?
Pick an answer to see why.
Worked examples: quartiles
Back to Kathmandu’s rain
The opening asked how much rain a typical month gets in Kathmandu.
A typical month gets about 53 mm, the median; the mean, 125 mm, is the right number only for the year’s total.
In ascending order the 12 monthly normals are 6.4, 7.8, 15.2, 23.6, 38.0, 43.3, 62.9, 128.8, 207.8, 241.4, 342.7 and 384.1 mm. The median is the 6.5th item, halfway between 43.3 and 62.9: 53.1 mm. The mean is 125.2 mm, pulled up by four monsoon months that together bring 1,176 mm; only 5 months get as much as the mean. There is no mode: all 12 values are different.
The quartiles say more. Q₁ is the 3.25th item, 15.2 + 0.25 × 8.4 = 17.3 mm, and Q₃ the 9.75th, 207.8 + 0.75 × 33.6 = 233.0 mm. So a quarter of the year’s months get under about 17 mm and a quarter over about 233 mm: Kathmandu has a dry season and a wet one, and no single “average month” describes either.
How the exam asks it
Grade 9’s final exam is set to CDC’s specification grid for Compulsory Mathematics, Grades 9–10. There, Statistics and Probability is 11 marks in two questions. In the grid’s model paper, question 14 gives the marks of 20 students as a discrete series:
| Part | Level | Marks | What it asks |
|---|---|---|---|
| a. | knowledge | 1 | in which series the data is presented (Unit 17) |
| b. | understanding | 1 | a cumulative frequency table (Unit 17) |
| c. | application | 2 | the median |
| d. | higher ability | 1 | the mean of the marks above the median |
Here is one of our own in the same shape.
Exercise 18.2
Question 1
Find the first quartile and the third quartile of each.
20, 40, 30, 15, 60, 90, 80
Answer
Rs 400, Rs 600, Rs 350, Rs 200, Rs 550, Rs 700, Rs 320, Rs 625, Rs 370, Rs 650, Rs 275
Answer
20, 15, 5, 10, 25
Answer
15 kg, 9 kg, 12 kg, 24 kg, 18 kg, 21 kg
Answer
18 °C, 28 °C, 26 °C, 16 °C, 21 °C, 29 °C, 25 °C, 12 °C, 23 °C
Answer
Question 2
Find the first quartile Q₁ and the third quartile Q₃ of each.
| Marks | 5 | 10 | 15 | 20 | 25 | 30 |
|---|---|---|---|---|---|---|
| Students | 3 | 5 | 8 | 7 | 4 | 3 |
Answer
| Daily wage (Rs) | Workers |
|---|---|
| 300 | 2 |
| 250 | 6 |
| 350 | 9 |
| 450 | 10 |
| 550 | 1 |
Answer
| Weight (kg) | Frequency |
|---|---|
| 105 | 8 |
| 115 | 10 |
| 125 | 7 |
| 135 | 12 |
| 145 | 7 |
| 155 | 6 |
Answer
| X | 16 | 12 | 20 | 14 | 18 |
|---|---|---|---|---|---|
| f | 7 | 3 | 6 | 8 | 4 |
Answer
Question 3
The Mathematics marks, out of 30, of 19 students of Grade 9 are:
15, 10, 25, 10, 20, 15, 20, 25, 15, 20, 10, 20, 25, 15, 30, 20, 20, 30, 25
Write the data as a discrete series and find the first and third quartiles.
Answer
Question 4
In a survey of Grade 10, the weights (kg) of 45 students were:
25, 40, 35, 35, 29, 40, 38, 25, 29, 27, 29, 27, 35, 40, 35, 29, 35, 38, 27, 29, 29, 40, 35, 35, 38, 29, 40, 27, 29, 35, 38, 27, 27, 29, 29, 25, 40, 27, 38, 25, 35, 25, 35, 29, 29
Find the lower and upper quartiles.
Answer
Question 5
Find the first quartile and the third quartile of each.
47, 49, 52, 54, 51, 53, 55
Answer
7, 9, 6, 5, 7, 6, 4, 10, 9
Answer
5, 10, 15, 20, 25
Answer
64, 60, 70, 72, 68, 80, 85, 56
Answer
Question 6
Find the first quartile Q₁ and the third quartile Q₃ of each.
| Marks | Students |
|---|---|
| 60 | 5 |
| 70 | 7 |
| 80 | 12 |
| 85 | 15 |
| 90 | 18 |
| 95 | 3 |
| 98 | 2 |
Answer
| Weekly income (Rs) | Workers |
|---|---|
| 300 | 40 |
| 400 | 20 |
| 500 | 15 |
| 600 | 17 |
| 700 | 25 |
| 800 | 10 |
| 900 | 5 |
Answer
| Height (cm) | Students |
|---|---|
| 120 | 5 |
| 121 | 10 |
| 122 | 12 |
| 123 | 17 |
| 124 | 16 |
| 125 | 3 |
| 126 | 4 |
Answer
| Average temperature (°C) | Days |
|---|---|
| 20 | 4 |
| 22 | 6 |
| 25 | 8 |
| 26 | 5 |
| 27 | 3 |
| 29 | 4 |
Answer
Practice every question in the book, and keep track of the ones you miss →
Where these facts come from
- The unit follows CDC, Mathematics, Grade 9 (2022), Unit 18, in English and Nepali. Its activities, examples and exercises are all here, worded our own way.
- The exam’s question: CDC, Specification Grid, Compulsory Mathematics, Grades 9–10: Statistics and Probability 11 marks in two questions, and its model question 14 (1K, 1U, 2A, 1HA); our question is our own.
- Kathmandu’s rain: Wikipedia, “Kathmandu”, climate table for Kathmandu (Tribhuvan International Airport), 1991–2020 normals, from the World Meteorological Organization and the Department of Hydrology and Meteorology, read November 2026. Climate normals as 30-year averages: World Meteorological Organization, WMO Guidelines on the Calculation of Climate Normals (WMO-No. 1203, 2017).
- “Average”: Wikipedia, “Average”, Etymology, read November 2026.
- Galton’s ox: Francis Galton, “Vox Populi”, Nature 75, 450–451 (7 March 1907).
- US household income: US Census Bureau, Income in the United States: 2025, report P60-289 (September 2026), and its historical Table H-6: median household income $87,460, mean $126,700.
- Nepal’s first-past-the-post seats: Constitution of Nepal (2015), Article 84: 165 members of the House of Representatives elected by first past the post.
- Growth standards: World Health Organization, Child Growth Standards (2006), with tables of percentiles (the 25th and 75th among them) for every age.
- Every mean, median, mode and quartile in the unit: worked out from the data here, and checked by a script.
A companion to your textbook, not a replacement for it: study from the book your school uses, and where the two differ, follow your teacher. Found a mistake? Please tell us.
