Skip to content

M2 · Mechanics 2

Edexcel International A-Level MathematicsTopic 6

Video lesson for this topic Open the video page
19:05

Statistics 1

Why it matters. In 1886 Francis Galton published a study of the heights of 928 adult children and their 205 pairs of parents. Tall parents usually had tall…

English narration · English and 中文 subtitles you can switch

1.1.1

Statistics 1: data, probability, regression and distributions

Why it matters. In 1886 Francis Galton published a study of the heights of 928 adult children and their 205 pairs of parents. Tall parents usually had tall children, but the children were, on average, closer to the mean height than their parents were. Short parents had children who were short, but again closer to the mean. Galton called this "regression towards mediocrity", and the straight line he drew through his data was the first regression line. The word "regression" has stayed in statistics ever since. Today the same methods are used to predict exam results, test medicines and set insurance prices.

In this unit you will:

  • represent and summarise data, and recognise skewness and outliers;
  • calculate probabilities with Venn diagrams and tree diagrams, including conditional probability;
  • measure correlation and find a regression line;
  • work with discrete random variables;
  • use the Normal distribution.

Edexcel International Advanced Subsidiary, Statistics 1 (S1, paper WST01/01, 1 hour 30 minutes, 75 marks). Pure Mathematics 1 and 2 are assumed. The formula booklet gives the statistical tables and the formulas for $S_{xx}$, $S_{xy}$, $r$ and the regression coefficients.

These results are not in the formula booklet, so learn them:

Topic Results
mean $\bar x = \dfrac{\sum x}{n}$ or $\dfrac{\sum fx}{\sum f}$
variance $\sigma^2 = \dfrac{\sum x^2}{n} - \bar x^2$
probability $P(A') = 1 - P(A)$; $P(A \cup B) = P(A) + P(B) - P(A \cap B)$; $P(A \cap B) = P(A)P(B \mid A)$
random variables $E(aX + b) = aE(X) + b$; $\text{Var}(aX + b) = a^2\,\text{Var}(X)$
Normal $Z = \dfrac{X - \mu}{\sigma}$ for $X \sim N(\mu, \sigma^2)$
1.1.1

Mathematical models in probability and statistics

A statistical model is a simplified description of a real situation. We use it to describe, analyse and predict. A model is useful because:

  • it is quicker and cheaper than collecting real data every time;
  • it can be used to make predictions;
  • it can be tested against new data and improved.

The modelling cycle is: describe the situation, make assumptions, build the model, compare its predictions with real data, and then improve it.

1.2.1

Representing data: histograms, stem and leaf, box plots

In a histogram 直方图, the area of each bar is proportional to the frequency. The height is the frequency density:

$$\text{frequency density} = \frac{\text{frequency}}{\text{class width}}$$

So when classes have different widths, compare the heights of the bars, not their frequencies.

A stem and leaf 茎叶图 diagram keeps the original values; a back-to-back one compares two groups. A box plot 箱线图 shows the minimum, lower quartile, median, upper quartile and maximum. An outlier 异常值 is a value far from the rest. The question gives the rule, for example "more than $1.5 \times$ IQR above $Q_3$ or below $Q_1$". Mark outliers with a cross, and draw the whisker to the most extreme value that is not an outlier.

Left: a histogram with unequal classes, where frequency = density × width. Right: a box plot with its quartiles and an outlier.
Left: a histogram with unequal classes, where frequency = density × width. Right: a box plot with its quartiles and an outlier.

Worked example 1. The speeds of 225 cars are recorded.

Speed (mph) 20–25 25–30 30–40 40–55 55–70
Frequency 54 90 60 15 6
Frequency density 10.8 18 6 1 0.4

On a histogram, the bar for 25–30 is drawn 10 cm tall. How tall is the bar for 20–25?

The heights are in proportion to the frequency densities: $\frac{10.8}{18} \times 10 = 6$ cm. (The 30–40 bar also has density 6, so be careful to use the right class.)

Vocabulary Train
English
histogram/ˈhɪstəɡræm/
stem and leaf/stem ænd liːf/
box plot/bɒks plɒt/
outlier/ˈaʊtlaɪə/
1.2.2 1.2.3

Measures of location and dispersion

For grouped data, estimate the median 中位数 and quartiles by linear interpolation. This assumes the values are spread evenly through each class. If the class containing the median starts at $a$, has width $w$ and frequency $f$, and $F$ values come before it:

$$Q_2 = a + w \times \frac{\frac n2 - F}{f}$$

The interquartile range 四分位距 is $Q_3 - Q_1$. The standard deviation 标准差 is the square root of the variance.

Worked example 2. For the car speeds in worked example 1, the cumulative frequencies are 54, 144, 204, 219, 225.

  • Median: the 112.5th value, in 25–30. $Q_2 = 25 + 5 \times \frac{112.5 - 54}{90} = 28.25$.
  • Lower quartile: the 56.25th value, also in 25–30. $Q_1 = 25 + 5 \times \frac{56.25 - 54}{90} = 25.125$.
  • Upper quartile: the 168.75th value, in 30–40. $Q_3 = 30 + 10 \times \frac{168.75 - 144}{60} = 34.125$.
  • IQR $= 34.125 - 25.125 = 9$ mph.
Cumulative frequency joined by straight lines through (25, 54), (30, 144) and (40, 204); reading across at 112.5 gives the median 28.25 and at 168.75 gives the upper quartile 34.125
Linear interpolation assumes the values are spread evenly through a class: the median 28.25 is in 25–30 and the upper quartile 34.125 in 30–40

Combining groups. To combine two data sets, add their totals: $\sum x = n_1\bar x_1 + n_2\bar x_2$, and the $\sum x^2$ values add directly. Then use the formulas again.

Worked example 3. Class A has 24 students with mean mark 47 and $\sum x^2 = 66\,876$. Class B has 30 students with mean mark $b$ and $\sum x^2 = 73\,826$. The mean for all 54 students is 45.

  • $\sum x = 54 \times 45 = 2430$, so class B's total is $2430 - 24 \times 47 = 1302$ and $b = \frac{1302}{30} = 43.4$.
  • Combined standard deviation: $\sigma = \sqrt{\frac{66\,876 + 73\,826}{54} - 45^2} = \sqrt{580.6} = 24.1$.
  • If every mark in class B goes up by 2, class B's standard deviation does not change. Its mean moves from 43.4 to 45.4, closer to class A's mean of 47, so the combined mean goes up and the combined standard deviation goes down.

Coding. If $y = \frac{x - a}{b}$, then $\bar x = a + b\bar y$ and $\sigma_x = b\sigma_y$. Adding a constant changes the mean but not the spread; multiplying by $b$ multiplies both.

Vocabulary Train
English
median/ˈmiːdiːən/
interquartile range/ˌɪntəˈkwɔːtaɪl reɪndʒ/
standard deviation/ˈstændəd ˌdiːvɪˈeɪʃn/
1.2.4

Skewness

Compare the quartiles, or the mean and the median:

  • positively skewed 右偏: $Q_3 - Q_2 > Q_2 - Q_1$, or mean $>$ median, with a long tail to the right;
  • negatively skewed: $Q_3 - Q_2 < Q_2 - Q_1$, or mean $<$ median;
  • symmetrical: they are about equal.

Worked example 4. For the car speeds, $Q_3 - Q_2 = 5.875$ and $Q_2 - Q_1 = 3.125$. Using the class midpoints, the mean is $\frac{6877.5}{225} = 30.6$, greater than the median 28.25. Both show positive skew, so a Normal distribution would not be a good model for these speeds.

Vocabulary Train
English
positively skewed/ˈpɒzɪtɪvli skjuːd/
1.3.1 1.3.2 1.3.3 1.3.4

Probability

Start from the sample space 样本空间, the set of all possible outcomes. Two events A and B are:

  • mutually exclusive if they cannot both happen: $P(A \cap B) = 0$;
  • independent if one does not affect the other: $P(A \cap B) = P(A)P(B)$. Independence 独立 also means $P(B \mid A) = P(B)$.

Conditional probability 条件概率 is the probability of B given that A has happened:

$$P(B \mid A) = \frac{P(A \cap B)}{P(A)}$$

Venn diagrams show overlaps; tree diagrams show events in order. When items are taken without replacement, the probabilities on the second branches change.

Two ordinary six-sided dice, one cream and one red
Dice: equally likely outcomes, the starting point for probability

Worked example 5. $P(C \cup D) = 0.59$, $P(D) = 0.45$ and $P(C \mid D) = 0.2$. Find $P(C \cap D)$ and $P(C)$.

  • $P(C \cap D) = P(C \mid D)P(D) = 0.2 \times 0.45 = 0.09$.
  • $P(C) = P(C \cup D) - P(D) + P(C \cap D) = 0.59 - 0.45 + 0.09 = 0.23$.
Left: the tree for worked example 6, two beads taken without replacement. Right: the Venn diagram for worked example 5.
Left: the tree for worked example 6, two beads taken without replacement. Right: the Venn diagram for worked example 5.

Worked example 6. A bag holds 3 white and 6 yellow beads. Two are taken without replacement.

  • Exactly one yellow: $\frac69 \times \frac38 + \frac39 \times \frac68 = \frac12$.
  • At least one white: $1 - P(\text{both yellow}) = 1 - \frac69 \times \frac58 = \frac{7}{12}$.
  • Both white, given at least one white: $\dfrac{\frac39 \times \frac28}{\frac{7}{12}} = \dfrac{1}{12} \times \dfrac{12}{7} = \dfrac17$.
Explore

Probability, trees and conditional reasoning

Multiply along a tree branch and add disjoint branches

Compare the model with the worked case and explain one change.

Vocabulary Train
English
sample space/ˈsæmpl speɪs/
independence/ˌɪndɪˈpendəns/
conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/
1.4.1 1.4.2 1.4.3

Correlation and regression

The product moment correlation coefficient 相关系数

$$r = \frac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}, \qquad -1 \le r \le 1$$

measures how close the points are to a straight line. A value near 1 means strong positive linear correlation, and near $-1$ strong negative. Always explain the meaning in context. Correlation does not show that one variable causes the other.

The least squares regression line 回归线 of $y$ on $x$ is $y = a + bx$, with

$$b = \frac{S_{xy}}{S_{xx}}, \qquad a = \bar y - b\bar x$$

It passes through $(\bar x, \bar y)$. Use it to predict $y$ from a given $x$, and only inside the range of the data: predicting outside it (extrapolation) is unreliable. The gradient $b$ tells you how much $y$ changes when $x$ increases by 1.

Scatter diagram of hours of revision against score for 12 students, with regression line y = 39.3 + 4.87x through the mean point (4.75, 62.4), r = 0.974
Regression line of y on x through the mean point

Worked example 7. On 12 days, the mean temperature $t$ (°C) and the gas used $d$ (m³) were recorded, and coded as $w = 11.5d$. The summary statistics are $S_{tt} = 26.43$, $S_{tw} = -91.55$, $\sum t = 9.1$, $\sum w = 339.25$ and $\sum w^2 = 10\,036.45$.

  • $S_{ww} = 10\,036.45 - \frac{339.25^2}{12} = 445.57$.
  • $r = \dfrac{-91.55}{\sqrt{26.43 \times 445.57}} = -0.844$: strong negative correlation, so on warmer days less gas is used.
  • Regression of $w$ on $t$: $b = \frac{-91.55}{26.43} = -3.464$ and $a = \frac{339.25}{12} + 3.464 \times \frac{9.1}{12} = 30.90$, so $w = 30.90 - 3.464t$.
  • Divide by 11.5: $d = 2.69 - 0.301t$. Each extra degree means about $0.3$ m³ less gas. When $t = 2$, $d = 2.08$ m³.
Vocabulary Train
English
correlation coefficient/ˌkɒrɪˈleɪʃn ˌkəʊɪˈfɪʃənt/
regression line/rɪˈɡreʃn laɪn/
1.5.1 1.5.2 1.5.3 1.5.4

Discrete random variables

A discrete random variable 离散随机变量 $X$ takes separate values, each with a probability. Its probability function 概率函数 $P(X = x)$ can be a table or a formula, and the probabilities add up to 1.

  • Expectation 期望: $E(X) = \sum xP(X = x)$, and $E(X^2) = \sum x^2P(X = x)$.
  • Variance 方差: $\text{Var}(X) = E(X^2) - [E(X)]^2$.
  • The cumulative distribution function is $F(x) = P(X \le x)$.
  • If $X$ is equally likely to take each of the values $1, 2, \dots, n$ (the discrete uniform distribution), $E(X) = \frac{n + 1}{2}$ and $\text{Var}(X) = \frac{n^2 - 1}{12}$.

Worked example 8. $X$ takes the values 1, 2, 3, 4 with probabilities 0.3, 0.2, 0.35, 0.15.

  • $F(3.5) = P(X \le 3) = 0.3 + 0.2 + 0.35 = 0.85$.
  • $P(3X - 3 < X + 2)$: solve first, $2X < 5$, so $X < 2.5$, and $P(X \le 2) = 0.5$.
  • $E(X) = 0.3 + 0.4 + 1.05 + 0.6 = 2.35$ and $E(X^2) = 0.3 + 0.8 + 3.15 + 2.4 = 6.65$.
  • $\text{Var}(X) = 6.65 - 2.35^2 = 1.1275$, so $\text{Var}(5 - 2X) = 4 \times 1.1275 = 4.51$.
Vocabulary Train
English
discrete random variable/dɪˈskriːt ˈrændəm ˈveərɪəbl/
probability function/ˌprɒbəˈbɪlɪti ˈfʌŋkʃn/
expectation/ekspɪkˈteɪʃn/
variance/ˈveərɪəns/
1.5.1#occurrence2

The Normal distribution

The Normal distribution 正态分布 $N(\mu, \sigma^2)$ models continuous data that is symmetrical about the mean, such as heights or the masses of packets. About 68% of values lie within $\sigma$ of the mean, and about 95% within $2\sigma$.

To find a probability, standardise with $Z = \frac{X - \mu}{\sigma}$ and use the table for $Z \sim N(0, 1)$. Use symmetry: $P(Z < -a) = P(Z > a) = 1 - P(Z < a)$. To work backwards from a probability, find $z$ from the table, then $x = \mu + z\sigma$. Two conditions on two unknowns give simultaneous equations.

A Galton board with balls piled into a bell shape
A Galton board: balls falling through pins pile up into the bell-shaped normal curve
The Normal curve for worked example 9, mean 502 g and standard deviation 3 g: each tail beyond 496 g and 508 g holds about 2.28%.
The Normal curve for worked example 9, mean 502 g and standard deviation 3 g: each tail beyond 496 g and 508 g holds about 2.28%.

Worked example 9. Small bags of flour have mass $X \sim N(502, 3^2)$ grams.

  • $P(X > 508) = P(Z > 2) = 1 - 0.9772 = 0.0228$.
  • In a sample of 4 bags, the probability that exactly 2 are over 508 g is $\binom42(0.0228)^2(0.9772)^2 = 0.00298$.
  • Large bags have mass $Y \sim N(1024, \sigma^2)$, and 85% weigh less than 1038.51 g. From the table, $z = 1.0364$, so $\sigma = \frac{1038.51 - 1024}{1.0364} = 14$.
  • If $P(X > k) = P(Y < 2k)$, then by symmetry $\frac{k - 502}{3} = \frac{1024 - 2k}{14}$. So $14k - 7028 = 3072 - 6k$, giving $k = 505$, and the probability is $P(Z > 1) = 0.159$.
Explore

Binomial, normal and Poisson models

For a discrete random variable, sum the probabilities to 1 and calculate E(X)=sum xP(X=x)

Compare the model with the worked case and explain one change.

Vocabulary Train
English
Normal distribution/ˈnɔːml ˌdɪstrɪˈbjuːʃn/
1.5.1#occurrence2

Sources for this lesson

  • Pearson Edexcel, International Advanced Level Mathematics, Further Mathematics and Pure Mathematics specification (2018), unit S1.
  • F. Galton, "Regression towards mediocrity in hereditary stature", Journal of the Anthropological Institute, 15 (1886).
  • Pearson Edexcel, WST01/01 June 2025, questions 1 to 7 (adapted).
1.5.1#occurrence2

Common errors

  • Drawing histogram bars with heights equal to the frequencies when the class widths differ.
  • Using the class width instead of the class boundaries in interpolation.
  • Forgetting to take the square root of the variance to get the standard deviation.
  • Confusing "mutually exclusive" with "independent".
  • Saying that correlation proves cause and effect.
  • Using a regression line to predict $x$ from $y$, or outside the range of the data.
  • Writing $\text{Var}(5 - 2X) = -2\,\text{Var}(X)$ or $5 - 4\,\text{Var}(X)$; constants added do not change the variance, and the multiplier is squared.
  • Forgetting that $P(Z < -a) = 1 - P(Z < a)$.
1.5.1#occurrence2

Key terms

  • Histogram: a chart in which the area of each bar is proportional to the frequency.
  • Interquartile range: $Q_3 - Q_1$, the range of the middle half of the data.
  • Conditional probability: the probability of an event, given that another has happened.
  • Regression line: the line of best fit found by least squares, used to predict $y$ from $x$.
  • Expectation: the mean value of a random variable, $E(X)$.
  • Normal distribution: a continuous, symmetrical, bell-shaped distribution.
1.5.1#occurrence2

Check yourself

  1. A class of width 20 has frequency 50. Find its frequency density.
  2. Five values have $\sum x = 40$ and $\sum x^2 = 360$. Find the mean and the variance.
  3. $P(A) = 0.4$, $P(B) = 0.5$ and A and B are independent. Find $P(A \cup B)$.
  4. $X$ is a discrete uniform distribution on $1, 2, \dots, 6$. Find $E(X)$ and $\text{Var}(X)$.
  5. $X \sim N(50, 4^2)$. Find $P(X < 56)$.
  6. A regression line is $y = 12 + 3.5x$, for data with $x$ from 2 to 10. Estimate $y$ when $x = 6$, and say why you should not use it when $x = 30$.

Answers: 1. $\frac{50}{20} = 2.5$. 2. Mean 8; variance $\frac{360}{5} - 64 = 8$. 3. $0.4 + 0.5 - 0.2 = 0.7$. 4. $E(X) = 3.5$, $\text{Var}(X) = \frac{35}{12}$. 5. $P(Z < 1.5) = 0.9332$. 6. $y = 33$; $x = 30$ is outside the range of the data, so this would be extrapolation.

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in Edexcel International A-Level Mathematics

Log in or create account

IGCSE, A-Level & AP