
Statistics and Probability
AI SL — Topic 4: Statistics and Probability
This is the topic examiners lean on hardest, because it's the one place they can test whether you actually understand what a number means, not just whether you can press the right calculator button. A GDC will hand you , a -value, or a confidence interval in seconds — the marks live in knowing which tool to reach for, reading the question for the tail direction, and finishing with a sentence back in context. Four threads run through it: describing data you already have, inferring about a population you don't, modelling chance for single events, and modelling chance across a whole range of outcomes. They constantly borrow from each other, so treat this as one connected chapter, not four separate ones.
Overview — how the chapter fits together
One dataset, two very different jobs
Descriptive statistics summarises the sample sitting in front of you: mean, spread, a scatter diagram. Inferential statistics uses that same sample to make a claim about a population you'll never fully measure — a confidence interval, a hypothesis test, a chi-squared test. Probability and probability distributions sit underneath both: they're the machinery that tells you how much a sample result could plausibly wobble by chance alone, which is exactly what a -value is measuring.
- Every stats question on AI SL is really asking: what does this number tell us about the story in the question, not just 'is the arithmetic right'.
- The GDC does almost all the heavy computation — regression coefficients, , , -values, inverse normal — so time pressure comes from setting up the right calculation, not doing it by hand.
- Hypotheses, significance levels and conclusions must always reference the scenario (lifetime of bulbs, pH of lakes, rod lengths) — generic 'reject ' answers are routinely capped at partial marks.
The shape of the chapter
Command terms that decide how much working you need
| Command term | What it demands | AO | Mark-earning move |
|---|---|---|---|
| Write down / State | Give a fact directly from data, GDC or a formula — no derivation expected. | AO1 | Full marks for the bare answer, but wrong rounding or the wrong sign still costs the mark. |
| Calculate | Produce a numerical answer using a defined process. | AO2 | Method mark for correct setup even if arithmetic slips; final accuracy mark needs the right value to the stated sf/dp. |
| Show that | Justify a given answer with enough intermediate working to prove it, not just state it. | AO2/AO3 | Copying the given final value without the working line in between scores zero, even if your answer 'matches'. |
| Determine | Multi-step process to find an unknown quantity (e.g. regression coefficients, a critical value). | AO2 | Correct method with a wrong final number still earns M marks; the last A mark needs an exact match. |
| Interpret | Explain what a statistical value means inside the scenario, not just restate it. | AO3 | ', strong correlation' with no mention of the two variables in context loses the interpretation mark. |
| Comment on / Suggest | Evaluate a limitation of the model or conclusion tied to this specific data. | AO3 | A generic 'the sample might not be representative' with no link to the scenario scores 0. |
Key point
Inferential Statistics
Sampling and the logic of inference
A parameter (like or ) describes the whole population and is usually unknown; a statistic (like or ) is computed from a sample and is used to estimate it. Every confidence interval and hypothesis test in this section is built on the same idea: sample statistics vary from sample to sample, and we can quantify exactly how much using the sampling distribution.
- A biased sampling method (e.g. surveying only people leaving a gym about exercise habits) invalidates the inference stage entirely — no amount of correct arithmetic afterwards fixes it.
- Stratified sampling divides the population into groups (strata) sharing a characteristic, then samples proportionally from each — used when subgroups differ meaningfully (age bands, school year groups).
- Systematic sampling picks every th item from an ordered list after a random start; convenience sampling just takes whoever is easiest to reach and is the weakest method examiners ask you to critique.
Vocabulary the mark scheme expects you to use precisely
- Confidence interval
- A range of values, computed from a sample, expected to contain the true population parameter with a stated level of confidence (e.g. 95%).It is the interval that varies from sample to sample — not the fixed — so never say ' has a 95% chance of being in here'.
- Null hypothesis,
- The 'no change / no effect' statement being tested, always containing an equals sign, e.g. .
- Alternative hypothesis,
- What you conclude if the evidence is strong enough to reject ; its direction (, , ) is read from the wording of the claim in the question.
- Significance level,
- The probability threshold (often 0.05 or 0.01) below which the -value triggers rejection of .
- -value
- The probability of obtaining a test statistic at least as extreme as the one observed, assuming is true.
- Degrees of freedom,
- The number of independent values free to vary in a calculation; for a -test on one sample, .
Confidence intervals, hypothesis tests and chi-squared
confidence interval for when the population standard deviation is known
- — critical value from the standard normal distribution (e.g. 1.960 for 95%)
- — sample size
confidence interval for when is unknown — the far more common IB case
- — unbiased sample standard deviation
- — critical value from the $t$-distribution with $n-1$ degrees of freedom
Read from your GDC's inverse- function, not a -table.
test statistic for a one-sample test on the mean — use only when is genuinely known, otherwise
chi-squared statistic comparing observed frequencies to expected frequencies
expected frequency for a cell in a contingency table, assuming the null hypothesis of independence
degrees of freedom for an contingency table (test for independence)
One-tailed hypothesis test: rejection region
The test statistic falling inside the shaded rejection region is exactly what 'reject ' means graphically.
Worked example
Confidence interval for a population mean (pH of lakes)
$n$ vs $n-1$, and which critical value table
Plugging the population-style standard deviation (, GDC's ) into the confidence interval or -test formula instead of the unbiased .
Consequence: Every CI endpoint and every test statistic comes out slightly wrong — usually still 'close enough' to look plausible, so the error goes unnoticed and costs the final 1–2 accuracy marks silently.
Fix: Whenever a question says 'sample standard deviation' or gives you raw data to estimate a population, use . Only use (or ) when the population variance is explicitly stated as known.
Worked example
Reading off a critical value directly (tree heights)
Worked example
One-tailed -test via the confidence interval (LED bulb lifetime)
Worked example
Spotting a -test in disguise (metal rods)
Worked example
Chi-squared test for independence (music genre vs test result)
Compare like with like
-test vs -test on a single mean
| Feature | -test | -test |
|---|---|---|
| When to use | Population stated/known | Only sample available (far more common) |
| Test statistic | ||
| Distribution used | Standard normal | -distribution, degrees of freedom |
| Critical value depends on | Confidence level / only | Confidence level / AND sample size |
Where this shows up outside the exam
Key takeaways
- Use only when the population standard deviation is explicitly given; otherwise it's a -test with .
- Always use (sample standard deviation), never , when estimating a population from a sample.
- The wording of the claim ('less than', 'more than', 'different from') fixes whether is one-tailed or two-tailed — decide this before calculating anything.
- For chi-squared: total rows and columns first, build from totals, use , and conclude in terms of independence/association, not equality.
- Every final answer needs a sentence back in the scenario — this is a scored mark, not a stylistic nicety.
Descriptive Statistics
Central tendency, spread, and bivariate data
Descriptive statistics has two halves on AI SL: univariate (one variable — mean, median, spread, box plots) and bivariate (two variables — scatter diagrams, correlation, regression). Both halves are computed instantly on the GDC, but the exam tests whether you can read a cumulative frequency graph, estimate from grouped data, and — crucially — interpret a regression equation and correlation coefficient in context rather than just quoting them.
- For grouped/continuous data, the mean is estimated using class midpoints: — this is always an estimate, never the exact mean, because you've lost the individual raw values.
- The interquartile range (IQR ) is a far more robust measure of spread than range when outliers are present, since it ignores the extreme 25% at each end.
- An outlier is formally any value below or above — this is the fence the GDC uses to decide which points get drawn separately on a box plot.
Central tendency, dispersion, correlation and regression
grouped-data mean and variance (population form, )
effect of a linear transformation on the mean and standard deviation of a dataset
Adding a constant shifts the mean but never changes the spread; multiplying scales both.
Pearson's product-moment correlation coefficient,
least-squares regression line of on ; is the gradient (rate of change of per unit ), the -intercept
the boundary used to flag outliers on a box plot
Box-and-whisker plot with outlier
Worked example
Reading a median and IQR off a cumulative frequency curve
Cumulative frequency curve (ogive) with median and quartiles
Sample variance denominator
Dividing by instead of (or vice versa) when the question specifically asks for 'the sample standard deviation' vs 'the standard deviation of this data'.
Consequence: A near-miss numeric answer that still loses the final accuracy mark, because the two GDC outputs ( and ) differ and only one matches what was asked.
Fix: If the data IS the whole population you care about, use ( on the GDC). If the data is a sample used to estimate a wider population, use ( on the GDC).
Worked example
Linear regression from summary statistics (study hours vs exam score)
Never extrapolate without flagging it
Worked example
Quadratic regression and finding an optimum (training hours vs 100 m time)
Scatter diagram with quadratic regression curve
Descriptive statistics cheat sheet
| Measure | Formula / rule | Best used when |
|---|---|---|
| Mean | Data roughly symmetric, no extreme outliers | |
| Median | Middle value / | Skewed data or outliers present |
| Mode | Most frequent value / modal class | Categorical or heavily repeated data |
| Range | Max Min | Quick, crude spread — very outlier-sensitive |
| IQR | Robust spread measure, pairs naturally with median | |
| Standard deviation | Pairs naturally with the mean; basis for -scores |
Key takeaways
- Grouped-data mean and variance use midpoints and are always estimates, not exact values.
- Adding a constant to data shifts the mean, never the spread; multiplying scales both mean and spread by the same factor.
- Regression gradient must be interpreted in context (units and direction); the intercept is only meaningful if is inside the data range.
- Quadratic (or other non-linear) regression models have a genuine turning point you can extract with — a straight-line model never does.
- State whether a prediction is interpolation (safe) or extrapolation (flag the risk) every time you're asked to predict.
Probability
Sample spaces, combined events, conditional probability
Everything in this section reduces to counting outcomes in a sample space , or to combining known probabilities using one of three tools: a Venn diagram (for combined/overlapping events), a tree diagram (for sequential events, especially without replacement), or a straight formula (for conditional probability).
- — the complement rule, useful whenever 'at least one' appears in a question (find P(none) first, then subtract from 1).
- Without replacement means probabilities on the second draw change — always redraw the tree with new denominators for the second stage.
- 'Given that' in a question is the conditional probability signal — it restricts the sample space to the condition, so the denominator changes to , not .
The four relationships examiners test
- Mutually exclusive events
- Events that cannot both happen: , so .
- Independent events
- Events where one occurring has no effect on the other: .
- Conditional probability
- — the probability of given that has already occurred.
- Complementary events
- and partition the whole sample space: .
Combining events
general addition rule (works for overlapping events; reduces to if mutually exclusive)
the multiplication rule for independent events — also the test used to CHECK independence
conditional probability
Venn diagram for two events A and B
Worked example
Checking independence with a Venn diagram (subject choices)
Tree diagram for two-stage conditional probability
The pairing every exam checks
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Mutually exclusive | Independent | Mutually exclusive events CANNOT both happen (); independent events CAN both happen and one occurring just doesn't change the other's probability. Two events with non-zero probability can never be both mutually exclusive AND independent. |
Assuming mutually exclusive means independent
Treating 'the events can't both happen' as equivalent to 'the events don't affect each other', then multiplying probabilities for mutually exclusive events.
Consequence: If and are genuinely mutually exclusive with , then knowing happened tells you definitely did NOT — the opposite of independence. Using here gives a nonsense positive value for an event that's actually impossible.
Fix: For mutually exclusive events, always. Only use the multiplication rule after confirming independence separately (or being told the events are independent).
Key takeaways
- 'At least one' problems are almost always faster via the complement: find , subtract from 1.
- Without replacement changes the denominators on later tree branches — redraw with the new totals, don't reuse the first stage's fractions.
- 'Given that' signals conditional probability — restrict the sample space to the condition in the denominator.
- To test independence, always compute and compare to the given — never assume from wording alone.
Probability Distributions
From single events to whole distributions
A discrete random variable takes specific values with specific probabilities that sum to 1; a continuous random variable like the normal distribution assigns probability as AREA under a curve, not to individual points. Binomial handles repeated identical yes/no trials; normal handles continuous, symmetric, bell-shaped measurement data (heights, lengths, times).
- For a discrete distribution, always — a classic 'find ' question uses this to solve for an unknown probability.
- The binomial distribution requires: a fixed number of trials, two outcomes per trial, constant probability of success, and independent trials — violate any one and is the wrong model.
- For a continuous variable, for any single value — you can only ever find , or , i.e. an area.
Core distribution vocabulary
- Discrete random variable
- A variable that takes a countable set of values, each with an associated probability listed in a probability distribution table.
- Expected value,
- The long-run average value of : .
- Binomial distribution,
- Models the number of successes in independent trials, each with success probability .
- Normal distribution,
- A continuous, symmetric, bell-shaped distribution fully determined by its mean and standard deviation .
Discrete, binomial and normal formulas
mean and variance of a discrete random variable
binomial probability,
mean and variance of the binomial distribution
standardising a normal variable to the standard normal distribution
BINS — checking a binomial model applies
B.I.N.S.
Binary outcomes (success/failure) · Independent trials · Number of trials fixed in advance · Same probability of success every trial.
Worked example
Binomial probability and its mean/variance (defective items)
Normal distribution: area between two non-central values
Worked example
Normal distribution: area (non-central interval) and inverse normal
GDC keystrokes still need a labelled sketch or working line
Why this exact shape of question keeps appearing
Key takeaways
- Discrete probabilities must sum to 1 — use this to solve for an unknown probability in a distribution table.
- Check BINS before using a binomial model: Binary outcome, Independent trials, fixed Number, Same probability.
- For continuous (normal) variables, only intervals have non-zero probability — it's always an area, never a single point.
- Inverse normal problems run the standardising formula backwards — always convert the resulting back into an -value with correct units.
Quick Reference
Statistics & Probability — everything on one page
Formulas
- CI for mean, unknown (most common case)
- CI for mean, known
- one/two-sample -test statistic
- chi-squared test for independence
- regression line
- general addition rule
- conditional probability
- binomial
- standardising a normal variable
Key facts
- Degrees of freedom, one-sample
- Degrees of freedom, contingency table
- Outlier fence
- beyond or
- Binomial mean/variance
- /
Mnemonics
- B.I.N.S.Binary outcome, Independent trials, fixed Number, Same probability — conditions for a binomial model
Don't confuse
- Mutually exclusive vs Independent: Mutually exclusive: cannot both happen (). Independent: can both happen, but neither affects the other's probability.
- (population form) vs (sample form): Use whenever the data is a sample estimating a wider population — the default in almost every inference question.
- -test vs -test: only when population is explicitly given; otherwise it's with .
Command terms
- Show that:
- Full substitution required, even to a given answer
- State:
- Direct read-off, no working needed, but must be exact
- Interpret:
- Explain the value's meaning using the scenario's variables, not just the number
Exam checklist
- Fixed the direction of from the wording before calculating anything?
- Used not for any sample-based inference?
- Checked whether is known (z) or only is known (t)?
- Totaled rows/columns before building expected frequencies in a chi-squared table?
- Finished every inference question with a sentence back in context?
- Flagged extrapolation risk whenever predicting outside the data range?
- Converted any inverse-normal -value back into an -value with units?