Skip to content

Probability & Statistics 1

A-Level Mathematics · Topic 5

Train

This handout covers Topic 5: Probability & Statistics 概率统计 1. It is about describing data, counting choices, and working out the chance of events.

5.1

Representation of data

Syllabus
Candidates should be able to: Notes and examples
• select a suitable way of presenting raw statistical data, and discuss advantages and/or disadvantages that particular representations may have
• draw and interpret stem-and-leaf diagrams, box-and-whisker plots, histograms and cumulative frequency graphs Including back-to-back stem-and-leaf diagrams.
• understand and use different measures of central tendency (mean, median, mode) and variation (range, interquartile range, standard deviation) e.g. in comparing and contrasting sets of data.
• use a cumulative frequency graph e.g. to estimate medians, quartiles, percentiles, the proportion of a distribution above (or below) a given value, or between two values.
• calculate and use the mean and standard deviation of a set of data (including grouped data) either from the data itself or from given totals $\Sigma x$ and $\Sigma x^2$, or coded totals $\Sigma(x - a)$ and $\Sigma(x - a)^2$, and use such totals in solving problems which may involve up to two data sets.

Source: Cambridge International syllabus

Choose a diagram that suits the data. You should be able to draw and read:

  • a stem-and-leaf diagram 茎叶图 (keeps the original values and shows the shape);
  • a box-and-whisker plot 箱线图 (shows the lowest value, the three quartiles, and the highest value);
  • a histogram 直方图 (for grouped data, where the area of each bar shows the frequency);
  • a cumulative frequency 累积频数 graph (running totals, used to estimate the median and quartiles).

An S-shaped cumulative frequency curve with dashed lines reading the median off at half the total frequency A cumulative frequency curve is S-shaped; read the median across from half the total frequency, and the quartiles from one and three quarters

A box-and-whisker plot with whiskers to the lowest and highest values and a box of quartiles The box spans the quartiles $Q_1$ to $Q_3$; the whiskers reach the lowest and highest values.

Averages and spread

A measure of central tendency 集中趋势 is a single "middle" value:

  • the mean 平均数 $\bar{x} = \dfrac{\sum x}{n}$ (the average);
  • the median 中位数 (the middle value when the data is in order);
  • the mode 众数 (the most common value).

A measure of variation 离散程度 shows how spread out the data is:

  • the range (of data) 极差 (highest $-$ lowest);
  • the interquartile range 四分位距 (upper quartile $-$ lower quartile);
  • the standard deviation 标准差 $\sigma = \sqrt{\dfrac{\sum x^2}{n} - \bar{x}^2}$.

You often work from the totals $\sum x$ and $\sum x^2$. The square of the standard deviation is the variance 方差.

Worked example. For $10$ values, $\sum x = 50$ and $\sum x^2 = 300$. Find the mean and standard deviation.

$$\bar{x} = \frac{50}{10} = 5, \qquad \sigma = \sqrt{\frac{300}{10} - 5^2} = \sqrt{30 - 25} = \sqrt{5} = 2.24.$$

Explore

Spread and the bell

P(−k < Z < k)

Spread is measured in standard deviations — about 68% of data lies within 1 sd, 95% within 2.

Vocabulary Train
English Chinese Pinyin
Probability & Statistics 概率统计 gài lǜ tǒng jì
stem-and-leaf diagram 茎叶图 jīng yè tú
box-and-whisker plot 箱线图 xiāng xiàn tú
histogram 直方图 zhí fāng tú
cumulative frequency 累积频数 lěi jī pín shuò
central tendency 集中趋势 jí zhōng qū shì
mean 平均数 píng jūn shù
median 中位数 zhōng wèi shù
mode 众数 zhòng shù
variation 离散程度 lí sàn chéng dù
range (of data) 极差 jí chà
interquartile range 四分位距 sì fēn wèi jù
standard deviation 标准差 biāo zhǔn chà
variance 方差 fāng chà
Exercise sheet
5.2

Permutations and combinations

Syllabus
Candidates should be able to: Notes and examples
• understand the terms permutation and combination, and solve simple problems involving selections
• solve problems about arrangements of objects in a line, including those involving – repetition (e.g. the number of ways of arranging the letters of the word ‘NEEDLESS’) – restriction (e.g. the number of ways several people can stand in a line if two particular people must, or must not, stand next to each other). Questions may include cases such as people sitting in two (or more) rows. Questions about objects arranged in a circle will not be included.

Source: Cambridge International syllabus

A permutation 排列 is an arrangement where order matters; a combination 组合 is a selection where order does not matter. The numbers are

$${}^nP_r = \frac{n!}{(n-r)!}, \qquad {}^nC_r = \binom{n}{r} = \frac{n!}{r!\,(n-r)!}.$$
To arrange objects in a line when some are repeated, divide by the factorial of each repeat count.

Permutation: order matters (AB ≠ BA). Combination: order does not matter ({A,B} = {B,A}) Order matters for a permutation, but not for a combination

Worked example. How many different arrangements are there of the letters of the word NEEDLESS?

There are $8$ letters, with E repeated $3$ times and S repeated $2$ times:

$$\frac{8!}{3!\,2!} = \frac{40320}{6 \times 2} = 3360.$$

Explore

Permutation or combination lab

Choose whether order matters in a counting problem.

Vocabulary Train
English Chinese Pinyin
permutation 排列 pái liè
combination 组合 zǔ hé
5.3

Probability

Syllabus
Candidates should be able to: Notes and examples
evaluate probabilities in simple cases by means of enumeration of equiprobable elementary events, or by calculation using permutations or combinations e.g. the total score when two fair dice are thrown. e.g. drawing balls at random from a bag containing balls of different colours.
use addition and multiplication of probabilities, as appropriate, in simple cases Explicit use of the general formula $\text{P}(A \cup B) = \text{P}(A) + \text{P}(B) - \text{P}(A \cap B)$ is not required.
understand the meaning of exclusive and independent events, including determination of whether events $A$ and $B$ are independent by comparing the values of $\text{P}(A \cap B)$ and $\text{P}(A) \times \text{P}(B)$
calculate and use conditional probabilities in simple cases. e.g. situations that can be represented by a sample space of equiprobable elementary events, or a tree diagram. The use of $\text{P}(A|B) = \frac{\text{P}(A \cap B)}{\text{P}(B)}$ may be required in simple cases.

Source: Cambridge International syllabus

An assortment of polyhedral dice Dice: a familiar starting point for probability.

Find a probability by counting equally likely outcomes, or by using permutations and combinations. Combine probabilities with these rules:

  • addition for "or": $P(A \cup B) = P(A) + P(B) - P(A \cap B)$;
  • multiplication for "and" when events are independent: $P(A \cap B) = P(A)\,P(B)$.

Two overlapping circles inside a rectangle, with the overlap shaded as the intersection The overlap of the two circles is $A\cap B$; the addition rule subtracts it once so it is not counted twice.

Two events are mutually exclusive events 互斥事件 if they cannot both happen, and independent events 独立事件 if one happening does not change the chance of the other. To test independence, check whether $P(A \cap B) = P(A)\times P(B)$. A conditional probability 条件概率 is the chance of $A$ given that $B$ has happened: $P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}$.

Worked example. Events have $P(A) = 0.5$, $P(B) = 0.4$ and $P(A \cap B) = 0.2$. Are $A$ and $B$ independent?

Test: $P(A)\times P(B) = 0.5 \times 0.4 = 0.2 = P(A \cap B)$. The values are equal, so $A$ and $B$ are independent.

Explore

Conditional probability

Change the probabilities and read the tree. This is how P(A and B) and conditional probability fit together.

Vocabulary Train
English Chinese Pinyin
mutually exclusive events 互斥事件 hù chì shì jiàn
independent events 独立事件 dú lì shì jiàn
conditional probability 条件概率 tiáo jiàn gài lǜ
5.4

Discrete random variables

Syllabus
Candidates should be able to: Notes and examples
draw up a probability distribution table relating to a given situation involving a discrete random variable $X$, and calculate $\text{E}(X)$ and $\text{Var}(X)$
use formulae for probabilities for the binomial and geometric distributions, and recognise practical situations where these distributions are suitable models Including the notations $\text{B}(n, p)$ and $\text{Geo}(p)$. $\text{Geo}(p)$ denotes the distribution in which $p_r = p(1 - p)^{r-1}$ for $r = 1, 2, 3, \dots$.
use formulae for the expectation and variance of the binomial distribution and for the expectation of the geometric distribution. Proofs of formulae are not required.

Source: Cambridge International syllabus

A discrete random variable 离散型随机变量 $X$ takes separate values, each with a probability. List them in a probability distribution table 概率分布表; the probabilities must add to $1$. Then the expectation 期望 (mean) and variance are

$$E(X) = \sum x\,P(X = x), \qquad \mathrm{Var}(X) = \sum x^2\,P(X = x) - \big(E(X)\big)^2.$$

Two special models:

  • the binomial distribution 二项分布 $X \sim B(n, p)$, for the number of successes in $n$ independent trials: $P(X = r) = \binom{n}{r}p^r(1-p)^{n-r}$, with $E(X) = np$ and $\mathrm{Var}(X) = np(1-p)$;
  • the geometric distribution 几何分布, for the trial on which the first success happens: $P(X = r) = (1-p)^{r-1}p$, with $E(X) = \dfrac{1}{p}$.

Worked example. $X \sim B(10, 0.3)$. Find $P(X = 2)$ and $E(X)$.

$$P(X = 2) = \binom{10}{2}(0.3)^2(0.7)^8 = 45 \times 0.09 \times 0.05765 = 0.233, \qquad E(X) = 10 \times 0.3 = 3.$$

A bar chart of the binomial distribution B(10, 0.3) with the mean marked at 3 The distribution $B(10,0.3)$: each bar is $P(X=r)$, clustered around the mean $np=3$.

Explore

A discrete distribution

Change n and p for a binomial distribution and watch the bars — the probability of each number of successes.

Vocabulary Train
English Chinese Pinyin
discrete random variable 离散型随机变量 lí sàn xíng suí jī biàn liàng
probability distribution table 概率分布表 gài lǜ fēn bù biǎo
expectation 期望 qī wàng
binomial distribution 二项分布 èr xiàng fēn bù
geometric distribution 几何分布 jǐ hé fēn bù
5.5

The normal distribution

Syllabus
Candidates should be able to: Notes and examples
understand the use of a normal distribution to model a continuous random variable, and use normal distribution tables Sketches of normal curves to illustrate distributions or probabilities may be required.
solve problems concerning a variable $X$, where $X \sim N(\mu, \sigma^2)$, including: – finding the value of $P(X > x_1)$, or a related probability, given the values of $x_1$, $\mu$, $\sigma$. – finding a relationship between $x_1$, $\mu$ and $\sigma$ given the value of $P(X > x_1)$ or a related probability For calculations involving standardisation, full details of the working should be shown. e.g. $Z = \frac{(X - \mu)}{\sigma}$
recall conditions under which the normal distribution can be used as an approximation to the binomial distribution, and use this approximation, with a continuity correction, in solving problems. $n$ sufficiently large to ensure that both $np > 5$ and $nq > 5$.

Source: Cambridge International syllabus

The 68-95-99.7 rule

A Galton board with balls forming a bell shape A Galton board: balls falling through pins pile up into the bell-shaped normal distribution.

The normal distribution 正态分布 models a continuous random variable 连续型随机变量 with a symmetric bell shape. Write $X \sim N(\mu, \sigma^2)$, where $\mu$ is the mean and $\sigma$ is the standard deviation. To use the tables, by standardisation 标准化 convert to the variable $Z \sim N(0, 1)$:

$$Z = \frac{X - \mu}{\sigma}.$$

A wooden Galton board: balls drop through rows of pegs and collect in columns that form a symmetric bell shape A Galton board: balls fall through rows of pegs and pile up into the bell-shaped normal distribution Then $P(X < x) = P\!\left(Z < \dfrac{x - \mu}{\sigma}\right)$, which you read from the normal table $\Phi$.

A symmetric bell curve centred on the mean with the area up to a value x shaded A normal probability is an area under the bell curve; standardizing rescales it to $Z\sim N(0,1)$.

The normal distribution is also a good approximation 近似 to the binomial when $n$ is large. Because you replace a discrete variable by a continuous one, apply a continuity correction 连续性校正 (adjust by $0.5$).

The bars of a binomial distribution with a matching normal curve drawn over them When $n$ is large the binomial bars follow a normal curve of the same mean and variance.

Worked example. Bags of rice have mass $X \sim N(\mu, 0.14^2)$. Given that $P(X < 1.48) = 0.22$, find $\mu$.

From the table, $P(Z < z) = 0.22$ gives $z = -0.772$. So

$$\frac{1.48 - \mu}{0.14} = -0.772 \;\Rightarrow\; \mu = 1.48 + 0.772 \times 0.14 = 1.59\ \text{kg (3 s.f.)}.$$

Explore

The normal distribution

Shade the area to find a probability. A z-value measures how many standard deviations a point is from the mean.

Vocabulary Train
English Chinese Pinyin
normal distribution 正态分布 zhèng tài fēn bù
continuous random variable 连续型随机变量 lián xù xíng suí jī biàn liàng
approximation 近似 jìn sì
continuity correction 连续性校正 lián xù xìng jiào zhèng
standardisation 标准化 biāo zhǔn huà
Exercise sheet
5.5

Exam tips

  • Decide whether order matters: permutations ($^nP_r$) when it does, combinations ($^nC_r$) when it does not.
  • For a discrete random variable, check the probabilities sum to $1$ and use $E(X) = \sum x\,P(X=x)$.
  • For the normal distribution, standardise with $z = (x - \mu)/\sigma$, sketch and shade, then read the table.
  • Apply a continuity correction when approximating a discrete variable by the normal.

Log in or create account

IGCSE & A-Level