Loading

Formulas · Mathematics

Statistics

5 formulas, each with worked examples. Revision sheet · Practise these formulas

Class 10

Mean of grouped data

What each letter means
the mean (average)
the sum of fᵢ × xᵢ over all the classes (each class mark times its frequency)
the sum of the frequencies: how many values there are in all

For data in classes, treat every value in a class as its class mark (the middle of the class), then take the average as usual: total of (class mark × frequency) divided by the total frequency.

Why it works

The mean is the total of all the values divided by how many there are. A class holding fᵢ values, all counted as xᵢ, contributes fᵢ × xᵢ to the total. The answer is an estimate, since the values inside a class are assumed to sit at its middle.

When to use it

Finding the average from a frequency table: marks in ranges, wages in bands, ages of patients, family sizes.

How to use it

  1. Find each class mark: (lower limit + upper limit) ÷ 2.
  2. Multiply each class mark by its frequency, and add the products (Σfᵢxᵢ).
  3. Add the frequencies (Σfᵢ) and divide.

To remember: Weight each middle by its count, then share out.

Other forms

  • Same formula, another formAssumed mean method: pick a class mark a, take dᵢ = xᵢ − a, and x̄ = a + Σfᵢdᵢ ÷ Σfᵢ. With the book's marks table and a = 47.5, Σfᵢdᵢ = 435, so x̄ = 47.5 + 14.5 = 62.
  • Same formula, another formStep deviation method: with class size h, uᵢ = (xᵢ − a) ÷ h and x̄ = a + (Σfᵢuᵢ ÷ Σfᵢ) × h. For the same table, Σfᵢuᵢ = 29 and x̄ = 47.5 + 29/30 × 15 = 62.

Worked examples

Story

In a survey of 50 families, 10 have 2 members, 15 have 3, 20 have 4 and 5 have 5. What is the mean family size?

  1. Σfᵢxᵢ = 10 × 2 + 15 × 3 + 20 × 4 + 5 × 5 = 20 + 45 + 80 + 25 = 170.

Answer: 3.4

Picture

Daily wages of 50 workers: ₹100 to 120 (12 workers), 120 to 140 (14), 140 to 160 (8), 160 to 180 (6), 180 to 200 (10). Find the mean daily wage.

  1. The class marks are 110, 130, 150, 170 and 190.
  2. Σfᵢxᵢ = 1320 + 1820 + 1200 + 1020 + 1900 = 7260.

Answer: ₹145.20

Direct

In a frequency table, Σfᵢxᵢ = 1860 and Σfᵢ = 30. Find the mean.

Answer: 62

Reverse

The mean of this distribution is 18. Find the missing frequency f: 11 to 13 (7), 13 to 15 (6), 15 to 17 (9), 17 to 19 (13), 19 to 21 (f), 21 to 23 (5), 23 to 25 (4).

Try it first, then show the working
  1. The class marks are 12, 14, 16, 18, 20, 22 and 24.
  2. Σfᵢ = 44 + f and Σfᵢxᵢ = 752 + 20f.
  3. 752 + 20f = 18(44 + f) = 792 + 18f, so 2f = 40 and f = 20.

Answer: 20

Exam

Marks of 30 students: 10 to 25 (2), 25 to 40 (3), 40 to 55 (7), 55 to 70 (6), 70 to 85 (6), 85 to 100 (6). Find the mean marks.

Try it first, then show the working
  1. The class marks are 17.5, 32.5, 47.5, 62.5, 77.5 and 92.5.
  2. Σfᵢxᵢ = 35 + 97.5 + 332.5 + 375 + 465 + 555 = 1860, and Σfᵢ = 30.

Answer: 62

Common mistake: Adding the class marks without multiplying by the frequencies, or dividing by the number of classes instead of the total frequency.

Class 10

Median of grouped data

What each letter means
the median (the middle value)
the lower limit of the median class
the total frequency (how many values)
the cumulative frequency of the class before the median class
the frequency of the median class
the class size (width)

The median class is the one holding the middle value (the n/2-th). Inside it, the formula goes the right fraction of the way across, assuming its values are spread evenly.

Why it works

Before the median class there are cf values; we still need n/2 − cf more. The median class holds f values spread over a width h, so each value takes h ÷ f of the width, and n/2 − cf of them take (n/2 − cf) ÷ f × h. On a cumulative frequency graph (an ogive) this is reading off the straight line across the class.

When to use it

The middle value of grouped data, especially when a few very large or small values would pull the mean away (incomes, house prices, lifetimes).

How to use it

  1. Make the cumulative frequency column and find n/2.
  2. The median class is the first class whose cumulative frequency is greater than n/2.
  3. Read l, cf (of the class before), f and h, and put them in.

To remember: Start of the class, plus the share still needed, times the width.

Other forms

  • Same formula, another formOn a less-than ogive, the median is the x-value where the curve reaches n/2: the formula is the straight line across the median class.
  • RearrangedA missing cumulative frequency, from a known median.

Worked examples

Story

Weekly pocket money of 40 students: ₹0 to 20 (5), 20 to 40 (8), 40 to 60 (12), 60 to 80 (10), 80 to 100 (5). Find the median.

  1. n/2 = 20. The cumulative frequencies are 5, 13, 25, 35, 40, so the median class is 40 to 60.
  2. That is about ₹51.67.

Answer: 155/3

Picture

On a less-than ogive for 30 students, the curve passes through (55, 12) and (70, 18). Read off the median.

  1. The median is where the cumulative frequency is n/2 = 15, between those two points.
  2. This is exactly the median formula with l = 55, cf = 12, f = 6 and h = 15.

Answer: 62.5

Direct

The median class is 55 to 70, with l = 55, n = 30, cf = 12, f = 6 and h = 15. Find the median.

Answer: 62.5

Reverse

For 60 values in classes 0 to 10 (5), 10 to 20 (x), 20 to 30 (20), 30 to 40 (15), 40 to 50 (y), 50 to 60 (5), the median is 28.5. Find x and y.

Try it first, then show the working
  1. The median 28.5 is in the class 20 to 30, so 28.5 = 20 + (30 − (5 + x)) ÷ 20 × 10.
  2. 8.5 = (25 − x) ÷ 2, so x = 8.
  3. All frequencies add to 60: 5 + 8 + 20 + 15 + y + 5 = 60, so y = 7.

Answer: x = 8, y = 7

Exam

Marks of 30 students: 10 to 25 (2), 25 to 40 (3), 40 to 55 (7), 55 to 70 (6), 70 to 85 (6), 85 to 100 (6). Find the median, and compare it with the mean (62) and the mode (52).

Try it first, then show the working
  1. n/2 = 15. Cumulative frequencies: 2, 5, 12, 18, 24, 30, so the median class is 55 to 70.
  2. Median 62.5, mean 62 and mode 52: half the students scored below 62.5, the average was 62, and the most crowded class centres near 52.

Answer: 62.5

Common mistake: Taking cf as the cumulative frequency of the median class itself (it must be the class before), or using n instead of n/2.

Class 10

Mode of grouped data

What each letter means
the mode (the most frequent value)
the lower limit of the modal class (the class with the highest frequency)
the frequency of the modal class
the frequency of the class just before it
the frequency of the class just after it
the class size (width)

The mode lies in the class with the most values. Inside it, it leans towards whichever neighbouring class is bigger.

Why it works

The modal class sticks up above its neighbours by f1 − f0 on the left and f1 − f2 on the right. The mode divides the class width in the ratio of those two steps, so it goes (f1 − f0) ÷ ((f1 − f0) + (f1 − f2)) of the way across, and the bottom of that fraction is 2f1 − f0 − f2. On a histogram it is where the lines joining the top corners of the tallest bar to its neighbours cross.

When to use it

The most typical value of grouped data: the commonest shoe size range, the busiest age group, the most usual family size.

How to use it

  1. Find the modal class: the one with the highest frequency.
  2. Read l, h, f1 and the neighbouring frequencies f0 and f2.
  3. Put them in the formula.

To remember: Lean towards the bigger neighbour.

Other forms

  • Same formula, another formThe same formula written with the two steps: M = l + (f1 − f0) ÷ ((f1 − f0) + (f1 − f2)) × h.
  • Special caseWhen the two neighbouring classes are equal (f0 = f2): the mode is the middle of the class.

Worked examples

Story

A survey of 20 households found family sizes 1 to 3 (7 families), 3 to 5 (8), 5 to 7 (2), 7 to 9 (2), 9 to 11 (1). Find the modal family size.

  1. The modal class is 3 to 5 (8 families).
  2. That is about 3.286.

Answer: 23/7

Picture

On a histogram, the tallest bar (40 to 55, height 7) has neighbours of heights 3 and 6. Join each top corner of the tallest bar to the top corner of the neighbour beside it; where do the lines cross?

  1. The crossing point divides the bar's width in the ratio of the two steps, 7 − 3 = 4 and 7 − 6 = 1.
  2. It is 4/5 of the way across the 15-wide class: 40 + 12 = 52, the mode.

Answer: at 52

Direct

Marks of 30 students: the modal class is 40 to 55 with frequency 7; the classes before and after have 3 and 6. Find the mode.

Answer: 52

Reverse

The mode is 52, the modal class is 40 to 55 with frequency 7, and the class after it has 6. What is the frequency of the class before it?

Try it first, then show the working
  1. 52 = 40 + (7 − f0) ÷ (8 − f0) × 15, so 12(8 − f0) = 15(7 − f0).
  2. 96 − 12f0 = 105 − 15f0, so 3f0 = 9 and f0 = 3.

Answer: 3

Exam

Ages of hospital patients: 5 to 15 (6), 15 to 25 (11), 25 to 35 (21), 35 to 45 (23), 45 to 55 (14), 55 to 65 (5). Find the mode.

Try it first, then show the working
  1. The modal class is 35 to 45 (23 patients), with 21 before and 14 after.
  2. That is about 36.8 years.

Answer: 36.8 years (405/11)

Common mistake: Mixing up f0 and f2 (f0 is before the modal class, f2 after), or using the highest frequency itself as the mode.

Class 10

Class mark

What each letter means
the class mark: the middle of the class, which stands for every value in it
the lower class limit
the upper class limit

The class mark is the number exactly halfway between a class's two limits. In grouped data every value of a class is treated as if it were the class mark.

Why it works

Halfway between L and U is L plus half the gap, L + (U − L) ÷ 2 = (L + U) ÷ 2, the average of the two limits.

When to use it

Every mean of grouped data (each class mark is an xᵢ), and the frequency polygon (its points are at the class marks).

How to use it

  1. Add the lower and upper limits.
  2. Divide by 2.

To remember: The middle of the class: the average of its ends.

Other forms

  • RearrangedThe upper limit, from the class mark and the lower limit.
  • Same formula, another formx = L + h ÷ 2, where h = U − L is the class size: half a class above the lower limit.

Worked examples

Story

In a survey, 12 families spend ₹1500 to ₹2000 a month on food. Which single amount stands for these 12 families when the mean is found?

Answer: 1750

Picture

A histogram bar stands on the interval from 40 to 55. Where on the horizontal axis does the frequency polygon's point for this bar go?

  1. The point goes above the class mark.

Answer: 47.5

Direct

Find the class mark of the class 10 - 25.

Answer: 17.5

Reverse

A class has lower limit 145 and class mark 147.5. Find its upper limit.

Try it first, then show the working

Answer: 150

Exam

The class marks of a distribution are 47, 52, 57 and 62. Find the class size and the first class.

Try it first, then show the working
  1. The class size is 52 − 47 = 5.
  2. The first class reaches 2.5 on each side of 47: 44.5 - 49.5.

Answer: class size 5; first class 44.5 - 49.5

Common mistake: Using a class limit, or the class size, as the class mark: for 10 - 25 the mark is 17.5, not 10, 25 or 15.

Class 10

Empirical relationship of mean, median and mode

What each letter means
the mode
the median
the mean

For data that are only slightly lopsided, three times the median is about the mode plus twice the mean. So any two of the three measures give an estimate of the third.

Why it works

It is a rule found by observing many real data sets (that is what "empirical" means), not a theorem. In a moderately lopsided distribution the median sits about one third of the way from the mean to the mode, which is the same statement.

When to use it

A quick estimate of a missing measure, or a check that computed values are consistent; never as a replacement for the formulas when the data are given.

How to use it

  1. Write 3 Median = Mode + 2 Mean.
  2. Put in the two known measures.
  3. Solve for the third.

To remember: Three medians make one mode and two means.

Other forms

  • RearrangedThe median, from the mode and the mean.
  • RearrangedThe mean, from the median and the mode.

Worked examples

Story

In a factory, the mean daily wage is ₹517 and the median is ₹500. Estimate the most common wage.

Answer: 466

Picture

For a histogram, the mode found from the crossing lines is 30 and the mean is 26. Estimate the median.

  1. 3 Median = 30 + 2 × 26 = 82.
  2. Median = 82 ÷ 3 ≈ 27.33.

Answer: about 27.33

Direct

The mean of a distribution is 52.5 and its median is 54. Estimate the mode.

Answer: 57

Reverse

The mode of a distribution is 20 and the median is 24. Estimate the mean.

Try it first, then show the working
  1. 2 Mean = 3 × 24 − 20 = 52.
  2. Mean = 26.

Answer: 26

Exam

For the electricity data of Exercise 13.3 Q1, the median is 137 and the mean is about 137.06. Estimate the mode and compare it with the formula's 135.77.

Try it first, then show the working
  1. The formula gave 135.77, about 1.1 less: close, because the data are nearly symmetric.

Answer: 136.88

Common mistake: Trusting it for strongly lopsided data: for the book's Table 13.3 (mean 62, median 62.5, mode 52) the two sides differ by 11.5.