Skip to content
Skip to page content
soylai.com

Statistics — chapter notes

6 sections 4 min readBeta

1. Grouped data and class marks

In grouped data each class is represented by its class mark (mid-point):

xi=lower limit+upper limit2.x_i = \frac{\text{lower limit} + \text{upper limit}}{2}.

For equal classes, consecutive class marks differ by the class width hh. Inclusive classes such as 1111–2020, 2121–3030 are made continuous (10.510.5–20.520.5, 20.520.5–30.530.5) before using the median or mode formula; their class marks are unchanged (15.515.5, 25.525.5).

Class mark $=$ (lower $+$ upper) $\div 2$.
ClassLower limitUpper limitClass mark xix_i
0–200020201010
20–40202040403030
40–60404060605050
60–80606080807070
80–10080801001009090

Formulas

  • Class mark
    xi=lower+upper2x_i = \frac{\text{lower} + \text{upper}}{2}

Key terms

Class mark

The mid-point of a class.

Class width

Upper limit minus lower limit of a class.

2. Mean: three methods

  • Direct: xˉ=∑fixi∑fi\bar x = \dfrac{\sum f_ix_i}{\sum f_i}.
  • Assumed mean (aa a convenient class mark, di=xi−ad_i = x_i - a): xˉ=a+∑fidi∑fi\bar x = a + \dfrac{\sum f_id_i}{\sum f_i}.
  • Step deviation (ui=xi−ahu_i = \dfrac{x_i - a}{h}): xˉ=a+h×∑fiui∑fi\bar x = a + h \times \dfrac{\sum f_iu_i}{\sum f_i}.

All three give the same mean; the choice of aa does not affect the result. Example: runs data (frequencies 6,10,12,8,46, 10, 12, 8, 4 on 00–100100 in steps of 2020): ∑fixi=1880\sum f_ix_i = 1880, ∑fidi=−120\sum f_id_i = -120 (a=50a = 50), ∑fiui=−6\sum f_iu_i = -6; mean 4747 every time.

$a = 50$, $h = 20$: $\sum f_iu_i = -6$.
Classfif_ixix_iui=xi−5020u_i = \dfrac{x_i - 50}{20}fiuif_iu_i
0–20661010−2-2−12-12
20–4010103030−1-1−10-10
40–60121250500000
60–808870701188
80–1004490902288
Total4040−6-6
All three give the same mean; choose the one with the easiest arithmetic.

Formulas

  • Direct method
    xˉ=∑fixi∑fi\bar x = \frac{\sum f_ix_i}{\sum f_i}
  • Assumed-mean method
    xˉ=a+∑fidi∑fi\bar x = a + \frac{\sum f_id_i}{\sum f_i}
  • Step-deviation method
    xˉ=a+h ∑fiui∑fi\bar x = a + h\,\frac{\sum f_iu_i}{\sum f_i}

Key terms

Assumed mean

A convenient value aa subtracted from every class mark to simplify the arithmetic.

3. Missing frequencies

Write ∑fi\sum f_i and ∑fixi\sum f_ix_i (or ∑fiui\sum f_iu_i) in terms of the unknown, and use the given mean:

Example: frequencies 5,8,p,12,75, 8, p, 12, 7 on 00–5050, mean 2727: 880+25p32+p=27\dfrac{880 + 25p}{32 + p} = 27 gives p=8p = 8.

With two unknowns, the total frequency gives a second equation. With the median given, use the median formula, after checking which class contains the median.

Set $\dfrac{880 + 25p}{32 + p} = 27$.
Unitsfif_ixix_ifixif_ix_i
0–1055552525
10–20881515120120
20–30pp252525p25p
30–4012123535420420
40–50774545315315
Total32+p32 + p880+25p880 + 25p
The median $25$ is in $20$–$30$, so $cf = 5 + x$.
ClassFrequencycf
0–105555
10–20xx5+x5 + x
20–30121217+x17 + x
30–40yy17+x+y17 + x + y
40–50444040

4. Mode

The modal class is the class with the highest frequency. With ll its lower limit, f1f_1 its frequency, f0f_0 and f2f_2 the frequencies of the classes before and after, and hh the class width:

Mode=l+f1−f02f1−f0−f2×h.\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \times h.
  • First class modal: f0=0f_0 = 0; last class modal: f2=0f_2 = 0.
  • Two classes tied for the highest frequency: bimodal — the formula is not used.
  • The mode equals the class mark only when f0=f2f_0 = f_2.

Example: wages 8,12,20,8,28, 12, 20, 8, 2 on 200200–450450: mode =300+820×50=320= 300 + \dfrac{8}{20} \times 50 = 320.

  • frequency
The tallest bar is the modal class, $300$–$350$.
Read $f_0$, $f_1$, $f_2$ from three consecutive rows.
ClassFrequencyRole
200–25088
250–3001212f0f_0 (before)
300–3502020f1f_1 (modal class)
350–40088f2f_2 (after)
400–45022

Formulas

  • Mode of grouped data
    Mode=l+f1−f02f1−f0−f2×h\text{Mode} = l + \frac{f_1 - f_0}{2f_1 - f_0 - f_2} \times h

Key terms

Modal class

The class with the highest frequency.

5. Median

  1. Find the cumulative frequencies (cf) and n2\dfrac n2.
  2. The median class is the first class whose cf is ≥n2\ge \dfrac n2.
  3. With ll its lower limit, cfcf the cumulative frequency of the class before it, ff its frequency and hh the width:
Median=l+n2−cff×h.\text{Median} = l + \frac{\frac n2 - cf}{f} \times h.

Example: travel times 8,14,20,12,68, 14, 20, 12, 6 on 00–5050: cf 8,22,42,54,608, 22, 42, 54, 60; median =20+30−2220×10=24= 20 + \dfrac{30 - 22}{20} \times 10 = 24.

Not in the 2026–27 syllabus: the graphical representation of cumulative frequency (ogives). Cumulative frequency tables are used.

The $30$th student is in $20$–$30$, the first class with cf $\ge 30$.
Classfif_icf
0–108888
10–2014142222
20–3020204242
30–4012125454
40–50666060
Subtract $0.5$ from lower limits and add $0.5$ to upper limits.
Given classContinuous classfcf
11–2010.510.5–20.520.56666
21–3020.520.5–30.530.510101616
31–4030.530.5–40.540.516163232
41–5040.540.5–50.550.5663838
51–6050.550.5–60.560.5224040

Formulas

  • Median of grouped data
    Median=l+n2−cff×h\text{Median} = l + \frac{\frac n2 - cf}{f} \times h

Key terms

Cumulative frequency

The running total of frequencies up to and including a class.

Median class

The first class whose cumulative frequency reaches n2\dfrac n2.

6. Comparing the three measures

  • Mean: uses every value; affected by extreme values.
  • Median: the middle value; not affected much by a few extremes (use for incomes).
  • Mode: the most common value (use for sizes, preferences).

Empirical relation (moderately skewed data): 3 Median≈Mode+2 Mean3\,\text{Median} \approx \text{Mode} + 2\,\text{Mean}. Example: wages mean 309309, median 312.5312.5 give mode ≈319.5\approx 319.5 (actual 320320).

For moderately skewed data, 3 Median $\approx$ Mode $+$ 2 Mean.
MeasureWages exampleFormula used
Mean₹309309∑fixi∑fi\dfrac{\sum f_ix_i}{\sum f_i}
Median₹312.5312.5l+n2−cffhl + \dfrac{\frac n2 - cf}{f}h
Mode₹320320l+f1−f02f1−f0−f2hl + \dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}h
Check3(312.5)−2(309)=319.53(312.5) - 2(309) = 319.53 Median ≈\approx Mode ++ 2 Mean
Choose the measure that answers the question.
UseWhenExample
Meanall values matter; no extreme valuesaverage marks of a class
Mediana few extreme valueshousehold incomes in a city
Modethe most common value mattersthe most sold shoe size

Formulas

  • Empirical relation
    3 Median≈Mode+2 Mean3\,\text{Median} \approx \text{Mode} + 2\,\text{Mean}

Key terms

Measures of central tendency

Mean, median and mode: single values that represent the centre of the data.

Exam tips

How marks are awarded

  • Mean (3 marks): table with xix_i and products 1; totals 1; mean 1.
  • Mode / median (3 marks): modal or median class (with cf table) 1; values of the letters 1; answer 1.
  • Missing frequencies (3–5 marks): equation(s) 1–2; solving 1; check 1.

Common mistakes

  1. Upper or lower limits used instead of class marks.
  2. Forgetting ×h\times h in step deviation; sign slips in did_i or uiu_i.
  3. f0f_0 and f2f_2 swapped in the mode formula.
  4. cfcf of the median class instead of the class before it.
  5. Inclusive classes used without making them continuous.
  6. Drawing ogives — not required in 2026–27.