Skip to content

Statistics

Statistics turns data into reasoned conclusions. It asks three connected questions:

  1. How were the data obtained? A biased sample cannot be repaired by elegant calculation.
  2. What do the data show? Tables, diagrams and summary statistics reveal location, spread and association.
  3. What can reasonably be inferred? Probability models quantify uncertainty, but conclusions must retain their context and limitations.

The central habit is to distinguish the observed sample from the wider population. A sample statistic such as xˉ\bar{x} is known once the data are collected. A population parameter such as μ\mu is generally unknown and is the subject of inference.

You should be able to:

  • calculate with fractions, percentages, powers and square roots;
  • rearrange formulae and use sigma notation \sum;
  • interpret inequalities, coordinates, gradients and areas;
  • use combinations (nr)\binom nr and the statistical functions on your calculator;
  • communicate conclusions in complete sentences.

Review GCSE statistics and probability foundations if frequency diagrams, averages or basic probability rules are insecure. Calculator output is useful only when you know which quantity you requested and what it means.

A statistical investigation is an iterative process:

questionsampleclean and presentanalyseconclude\boxed{\text{question}\to\text{sample}\to\text{clean and present}\to\text{analyse}\to\text{conclude}}

The conclusion often exposes a weakness or suggests a new question, so the process may begin again.

State what is being measured, in whom or what, and when. “Do pupils sleep enough?” is vague. “What is the mean number of hours slept on school nights by Year 12 pupils at this school this term?” identifies a variable, population and time period.

A census observes every member of the population. A sample observes only some members. Sampling is usually quicker and cheaper, but introduces sampling variation and possible bias.

A simple random sample of size nn gives every possible sample of size nn an equal chance of selection. Opportunity and voluntary response samples are convenient, but can systematically overrepresent some groups.

Learn to identify sampling units, frames, strata and sources of bias in populations, samples and sampling.

Check impossible values, inconsistent units, duplicates and missing observations before calculating. An unusual value is not automatically an error. Removing a genuine extreme observation merely because it is inconvenient distorts the evidence.

Choose a display that preserves the important structure:

Data or purposeUseful display
categorical frequenciesbar chart
discrete numerical datavertical line chart
continuous grouped datahistogram
cumulative frequenciescumulative frequency graph
compare distributionsbox plots
relationship between two variablesscatter diagram

Study data presentation, histograms and outliers and cleaning data.

Use measures of location and spread together. The mean alone does not describe variability, and the standard deviation alone does not locate the data.

For observations x1,x2,,xnx_1,x_2,\ldots,x_n,

xˉ=xn,Var(x)=x2nxˉ,2,σx=Var(x).\bar{x}=\frac{\sum x}{n}, \qquad \operatorname{Var}(x)=\frac{\sum x^2}{n}-\bar{x}^{,2}, \qquad \sigma_x=\sqrt{\operatorname{Var}(x)}.

The median and interquartile range are resistant to extreme values. The mean and standard deviation use every value, so they are more sensitive to skew and outliers. See averages and measures of spread.

Worked example 1: compare two distributions

Section titled “Worked example 1: compare two distributions”

Two groups complete the same task. Their times, in minutes, are summarised below.

GroupMeanMedianStandard deviationInterquartile range
A18.418.417.117.15.85.86.26.2
B19.019.019.219.22.12.12.82.8

Group A has the lower mean and median, so it was generally faster. Group B has the smaller standard deviation and interquartile range, so its times were more consistent.

For A, xˉ>median\bar{x}>\operatorname{median}, which is evidence consistent with positive skew: a few long times may have pulled the mean upwards. This does not prove the exact shape without seeing the raw data or a diagram.

A strong comparison names the statistics, compares both location and spread, and interprets them in context.

Probability assigns numbers from 00 to 11 to events. For an event AA,

0P(A)1,P(A)=1P(A).0\leq P(A)\leq1, \qquad P(A')=1-P(A).

If AA and BB are mutually exclusive,

P(AB)=0.P(A\cap B)=0.

If they are independent,

P(AB)=P(A)P(B).P(A\cap B)=P(A)P(B).

These statements describe different ideas. Mutually exclusive events cannot occur together. Independent events do not alter one another’s probabilities. Two events with positive probability cannot be both mutually exclusive and independent.

Conditional probability makes the available information explicit:

P(AB)=P(AB)P(B)provided P(B)>0.\boxed{P(A\mid B)=\frac{P(A\cap B)}{P(B)}} \qquad\text{provided }P(B)>0.

Build this strand through probability, conditional probability and probability modelling.

Worked example 2: conditional probability and independence

Section titled “Worked example 2: conditional probability and independence”

In a year group, 6060 pupils study physics, 4545 study chemistry, and 3030 study both. One of the 120120 pupils is selected at random. Let PP and CC denote studying physics and chemistry.

The probability that a chemistry pupil also studies physics is

P(PC)=P(PC)P(C)=30/12045/120=3045=23.P(P\mid C)=\frac{P(P\cap C)}{P(C)} =\frac{30/120}{45/120} =\frac{30}{45} =\frac23.

To test independence, compare P(PC)P(P\cap C) with P(P)P(C)P(P)P(C):

P(PC)=30120=14,P(P\cap C)=\frac{30}{120}=\frac14,

but

P(P)P(C)=60120×45120=316.P(P)P(C)=\frac{60}{120}\times\frac{45}{120}=\frac{3}{16}.

Since 1/43/161/4\ne3/16, the events are not independent. Notice that the denominator in P(PC)P(P\mid C) is the number studying chemistry because the condition restricts the relevant population to that group.

Suppose P(A)=0.4P(A)=0.4, P(B)=0.5P(B)=0.5 and P(AB)=0.12P(A\cap B)=0.12. Find P(AB)P(A\cup B) and P(AB)P(A\mid B). Are AA and BB independent?

Answer P(AB)=P(A)+P(B)P(AB)=0.4+0.50.12=0.78.P(A\cup B)=P(A)+P(B)-P(A\cap B)=0.4+0.5-0.12=0.78.

Also,

P(AB)=0.120.5=0.24.P(A\mid B)=\frac{0.12}{0.5}=0.24.

The events are not independent because

P(A)P(B)=0.4(0.5)=0.200.12.P(A)P(B)=0.4(0.5)=0.20\ne0.12.

A random variable assigns a numerical value to each outcome of a random process. Its probability distribution lists possible values and their probabilities. For a discrete random variable XX,

P(X=x)=1,\sum P(X=x)=1, E(X)=xP(X=x),Var(X)=E(X2)[E(X)]2.E(X)=\sum xP(X=x), \qquad \operatorname{Var}(X)=E(X^2)-[E(X)]^2.

The expected value is the long run mean over many repetitions. It need not be a possible individual outcome. Learn the underlying ideas in discrete random variables.

Two central A level models are:

XB(n,p)X\sim\operatorname{B}(n,p)

for a count of successes in nn independent trials with constant success probability pp, and

XN(μ,σ2)X\sim N(\mu,\sigma^2)

for a continuous, symmetric bell shaped model with mean μ\mu and variance σ2\sigma^2.

The model must fit the mechanism, not merely the appearance of the numbers. Use the binomial distribution, the normal distribution and choosing a distribution.

Worked example 3: choose and use a binomial model

Section titled “Worked example 3: choose and use a binomial model”

A component is defective with probability 0.040.04, independently of other components. Let XX be the number of defective components among the next 2020.

There is a fixed number of trials, two classifications per trial, independence and constant probability. Therefore

XB(20,0.04).X\sim\operatorname{B}(20,0.04).

The probability of at least one defective component is most efficiently found by a complement:

P(X1)=1P(X=0)=1(200)(0.04)0(0.96)20=10.96200.558.\begin{aligned} P(X\geq1) &=1-P(X=0)\\ &=1-\binom{20}{0}(0.04)^0(0.96)^{20}\\ &=1-0.96^{20}\\ &\approx0.558. \end{aligned}

The expected number is

E(X)=np=20(0.04)=0.8.E(X)=np=20(0.04)=0.8.

This does not mean exactly 0.80.8 defects will occur. It is the mean count over many groups of 2020 components.

A scatter diagram can show association between paired variables. The product moment correlation coefficient, rr, measures the strength and direction of a linear relationship:

1r1.-1\leq r\leq1.

A value near 11 indicates strong positive linear correlation, a value near 1-1 strong negative linear correlation, and a value near 00 little linear correlation. It does not rule out a strong curved relationship.

A regression line predicts one variable from another. Use the correct regression direction, interpolate within the observed range where possible, and avoid treating association as causation. A lurking variable may influence both measured variables.

Study correlation and regression before correlation hypothesis tests.

A hypothesis test asks whether sample evidence is unusually extreme under a stated null model. The general structure is:

  1. State hypotheses about a population parameter.
  2. Assume H0H_0 and identify the sampling distribution.
  3. Calculate a tail probability or compare with a critical region.
  4. Reject H0H_0 if the evidence is significant at the stated level.
  5. Give a contextual conclusion with the correct degree of uncertainty.

The key logical rule is

do not reject H0prove H0.\boxed{\text{do not reject }H_0\ne\text{prove }H_0.}

A test uses

H0:p=0.30,H1:p>0.30.H_0:p=0.30, \qquad H_1:p>0.30.

The calculated p value is 0.0320.032.

At the 5%5\% significance level,

0.032<0.05,0.032<0.05,

so reject H0H_0. There is sufficient evidence at the 5%5\% level that the population proportion exceeds 0.300.30.

At the 1%1\% level,

0.032>0.01,0.032>0.01,

so do not reject H0H_0. There is insufficient evidence at the 1%1\% level that the proportion exceeds 0.300.30.

The p value is not the probability that H0H_0 is true. It is a probability about results, calculated under the assumption that H0H_0 is true.

Begin with hypothesis testing language, then study binomial hypothesis tests and normal hypothesis tests.

A two tailed test gives p value 0.0710.071. State the conclusion at the 10%10\% and 5%5\% significance levels.

Answer

At 10%10\%, 0.071<0.100.071<0.10, so reject H0H_0. There is sufficient evidence for the alternative hypothesis at the 10%10\% level.

At 5%5\%, 0.071>0.050.071>0.05, so do not reject H0H_0. There is insufficient evidence for the alternative hypothesis at the 5%5\% level.

The contextual wording of the alternative hypothesis should replace the generic phrase “for the alternative hypothesis” in a full solution.

  • A large sample removes bias. A large biased sample can estimate the wrong quantity very precisely.
  • Correlation proves causation. Association alone cannot establish a causal mechanism.
  • Mutually exclusive means independent. For events with positive probability, mutual exclusivity makes one event impossible when the other occurs.
  • Expected value is the most likely outcome. It is a probability weighted long run mean and may not be attainable.
  • A normal distribution has standard deviation σ2\sigma^2. In N(μ,σ2)N(\mu,\sigma^2), the second parameter is the variance; the standard deviation is σ\sigma.
  • A significant result proves the alternative. It provides evidence against H0H_0 at a stated error threshold.
  • Calculator output is an interpretation. A decimal needs notation, method, context and an appropriately cautious conclusion.

Follow this order if you are learning statistics for the first time:

  1. Populations, samples and sampling
  2. Data presentation, histograms and averages and measures of spread
  3. Outliers and cleaning data and the large data set
  4. Probability, conditional probability and probability modelling
  5. Discrete random variables, the binomial distribution and the normal distribution
  6. Correlation and regression
  7. Hypothesis testing language, followed by the binomial, normal and correlation tests

When solving a mixed question, return to the investigation cycle. Identify the population and variables, inspect how the data were obtained, choose a justified model or summary, calculate accurately, and finish by answering the question in context.