IB Middle Years Programme · Mathematics (Extended) MYP Year 5

Statistics and Probability

Cover illustration for Statistics and Probability (Mathematics (Extended) MYP Year 5).
MYP · Mathematics (Extended) MYP Year 5

Statistics and Probability

MYP5 Extended — Statistics and Probability

38 min readExtendedHigh — appears across criterion B/C investigations and on-screen assessments; probability and data handling questions are near-guaranteed on every eAssessment paper.

This is the topic where careless arithmetic costs more marks than not knowing the theory. Almost every question here is really testing three things: can you read the diagram correctly, can you use the right formula for experimental vs theoretical probability, and can you write a conclusion in a full sentence instead of just a number. Get those three habits right and this topic becomes free marks.

Overview

Statistics and Probability in MYP5 Extended splits into two connected worlds: descriptive statistics (organising and summarising data with graphs, averages and spread) and probability (predicting chance events, and checking predictions against real experimental results). The exam bank shows a strong bias towards quality-control style scenarios — dice, bottles, machines — where you calculate an experimental probability, compare it to a theoretical one, and explain the gap.

  • Descriptive statistics answers 'what does this data set look like?' — box plots, histograms, cumulative frequency curves, mean/median/mode, range/IQR/standard deviation.
  • Probability answers 'how likely is this event?' — theoretical probability from counting outcomes, experimental probability from real trials, and rules for combining events (AND/OR, independent/dependent).
  • The two worlds meet in every quality-control question: you collect data (organise it), calculate a relative frequency (statistics), then compare it to a theoretical model (probability).

The shape of the chapter

Command term guidance

Command termWhat it demandsAOMark-earning move
CalculateObtain a numerical answer showing the relevant working — a bare answer with no formula shown loses method marks.Knowing and usingWrite the formula first, substitute values, then compute — each stage can carry its own mark.
StateGive a short answer with no justification needed — usually 1 mark, don't over-explain.Knowing and usingOne line, no working required.
DeduceReach a conclusion using given information plus a logical step — you must show the reasoning link, not just the result.Applying and reasoningState what you compared and what the comparison shows.
JustifyGive valid reasons or evidence to support a statement — a numerical answer alone earns zero if the reasoning is missing.Applying and reasoningReference the specific numbers that support your claim.
ExplainGive a detailed account including reasons or causes — examiners want the 'because', not just the 'what'.CommunicatingLink cause to effect in a full sentence.

Key point

Experimental probability = relative frequency = observed/total. Theoretical probability = favourable outcomes/total possible outcomes (from counting, assuming fairness). They are almost never exactly equal — that's not an error, that's chance.

Box Plots, Histograms and Cumulative Frequency

These three graphs all summarise a data set's shape, but each one answers a slightly different question. A box plot gives you a fast five-number snapshot. A histogram shows the distribution's shape for continuous or grouped data (using frequency density, not raw frequency, when class widths are unequal). A cumulative frequency graph (ogive) lets you read off quartiles, medians and percentiles by drawing a horizontal line across to the curve.

  • Box plot = minimum, , median (), , maximum — the box spans the IQR, whiskers extend to the extremes (or to 1.5×IQR if outliers are excluded).
  • Histogram bars must touch (no gaps) because the data is continuous; bar height = frequency density when class widths differ, not raw frequency.
  • Cumulative frequency is plotted at the upper boundary of each class interval — this trips up almost everyone the first time.
  • The ogive's shape (S-curve) lets you read at , median at , at up the cumulative frequency axis.

Key relationships

Used for histograms with unequal class widths so bar area (not height) represents frequency.

— number of data values in that class
— upper boundary minus lower boundary of the class

Interquartile range — the spread of the middle 50% of the data, read straight off the box plot or ogive.

Memorise

Cumulative frequency curve with quartiles marked

The curve is plotted at upper class boundaries; dashed guide lines read across from n/4, n/2, 3n/4 on the vertical axis to the curve, then down to the horizontal axis.

Cumulative frequency (axis, 0 to 50)Data value (axis)Q1 dashed line at cf=12.5Median dashed line at cf=25Q3 dashed line at cf=37.5S-shaped curve through plotted upper-boundary points

Worked example

Reading quartiles off a non-linear ogive

[4]
A cumulative frequency curve for the times (in minutes) taken by 60 students to finish a puzzle passes through (10,2), (20,10), (30,25), (40,40), (50,52), (60,60). Estimate the median and the interquartile range.

Common mistake

Plotting cumulative frequency at the midpoint or lower boundary of each class interval instead of the upper boundary.

Consequence: The entire curve shifts and every quartile/median reading is wrong, even if the arithmetic afterwards is perfect.

Fix: Always plot cumulative frequency against the upper class boundary — the cumulative total 'includes everything up to and including this point'.

Examiner tip

For histograms with unequal class widths, examiners specifically check that you've calculated frequency density (frequency ÷ width) before drawing bars — using raw frequency as bar height when widths differ loses the method mark even if the bars 'look reasonable'.

Key takeaways

  • Box plot = five-number summary; use it to compare spread and skew between two data sets quickly.
  • Histogram bar height = frequency density (frequency ÷ class width) whenever class widths are unequal.
  • Cumulative frequency is always plotted at the upper class boundary, and quartiles are read at , , up the vertical axis, interpolating within the correct segment.

Experimental vs Theoretical Probability

This is the single most-tested idea in the whole topic, and the exam bank confirms it — nearly every question given is a variation of 'roll a die / inspect bottles, compare the result to what a fair model predicts'. Theoretical probability is what should happen based on counting equally likely outcomes; experimental probability (also called relative frequency) is what actually happened in a real trial.

  • Theoretical probability assumes a fair, unbiased process — you calculate it by counting the sample space, no experiment needed.
  • Experimental probability comes only from real data: it can only be calculated after trials have been run.
  • The Law of Large Numbers says experimental probability converges towards theoretical probability as the number of trials increases — small samples (12 rolls, 20 items) will show noticeable gaps purely by chance.
  • A gap between the two values is NOT automatically evidence of bias — you need either a very large sample or a very large gap before concluding the process is unfair.
Theoretical probability
, calculated by reasoning about a fair model, not by running trials.Example: rolling a fair die, .
Experimental probability (relative frequency)
, calculated only from actual recorded data.Example: 3 defects in 20 items gives relative frequency .

The two probability formulas

Theoretical probability — used when outcomes are equally likely and can be counted without experimenting.

Memorise

Experimental probability / relative frequency — used whenever you have real recorded data.

Memorise

Worked example

Sum of two dice: relative frequency vs theoretical probability (Q1-style)

[3]
A student rolls two fair dice 50 times and records the sum each time. The frequency of a sum of 7 is 10. (a) Calculate the relative frequency of rolling a sum of 7. (b) Show that the theoretical probability of rolling a sum of 7 is .

Worked example

Quality control: is the difference meaningful? (Q4/Q6-style)

[3]
A prototype die is rolled 30 times: face 6 appears 3 times. The specification allows no more than 0.05 difference between experimental and theoretical probability. Is face 6 within specification?

Common mistake

Concluding a die/machine is 'biased' just because experimental probability ≠ theoretical probability.

Consequence: Loses the reasoning mark on 'explain'/'advise' questions — examiners want acknowledgment that chance variation is expected in small samples.

Fix: Always mention that some difference is expected due to random variation, and that a larger number of trials would give a more reliable comparison before concluding bias.

Examiner tip

When asked to 'state the formula and use it' (like Q2), you must literally write the general formula with words or symbols before substituting numbers — examiners award a separate mark just for stating .

Key point

More trials = experimental probability gets closer to theoretical probability (Law of Large Numbers). Never call a small-sample gap 'proof of bias' without saying so explicitly.

Key takeaways

  • Theoretical probability is calculated by counting outcomes in a fair model; experimental probability is calculated only from real trial data using relative frequency.
  • Always double-check whether outcomes are equally likely before counting — dice sums are the classic trap.
  • A difference between the two values needs comparison to a stated tolerance (or common sense) plus a written conclusion, not just a bare number.

Graphs and Data Representation

Choosing the right graph is itself an examined skill — MYP loves asking 'which graph would best represent this data and why'. The choice depends entirely on the type of data: categorical, discrete numerical, continuous numerical, or paired (bivariate) data.

  • Bar chart — categorical or discrete data, bars separated by gaps, height = frequency.
  • Pie chart — categorical data where you want to show proportion of a whole; sector angle .
  • Histogram — continuous or grouped numerical data, bars touching, height = frequency density.
  • Scatter graph — paired (bivariate) numerical data, used to investigate correlation between two variables.
  • Line graph — data collected over time (time series), points joined in sequence to show trend.

Pie chart sector angle

Angle for a category with frequency out of total frequency .

— frequency of that category
— total frequency across all categories

Matching data type to graph

Data typeBest graphWhy
Categorical (e.g. favourite colour)Bar chart or pie chartNo natural numerical order; bars/sectors show frequency or proportion clearly
Discrete numerical (e.g. number of siblings)Bar chart (with gaps) or dot plotValues are countable and separate — gaps show that in-between values don't exist
Continuous numerical, single variable (e.g. height)HistogramValues fall along a continuum; touching bars show that data flows across boundaries
Paired/bivariate numerical (e.g. height vs weight)Scatter graphNeed to see the relationship between two variables, not just each one's spread
Data over timeLine graphOrder matters — joining points in sequence reveals a trend

Common mistake

Drawing a bar chart with touching bars for continuous data, or a histogram with gaps for discrete/categorical data.

Consequence: Loses the accuracy mark for graph construction even if the frequencies plotted are correct.

Fix: Gaps mean 'separate categories'; touching bars mean 'continuous scale' — decide data type first, then pick the bar style.

Key takeaways

  • Match the graph to the data type: categorical → bar/pie, continuous → histogram, paired → scatter, time-based → line graph.
  • Pie chart angles always use and must sum to 360°.
  • Bar/histogram gap rule (gaps vs touching) is an easy accuracy mark examiners specifically check.

Correlation

Correlation describes the strength and direction of a linear relationship between two numerical variables on a scatter graph. It is judged by eye in MYP (strong/weak, positive/negative/none) and described using a line of best fit.

  • Positive correlation — as one variable increases, so does the other (points trend upward left-to-right).
  • Negative correlation — as one variable increases, the other decreases (points trend downward left-to-right).
  • No correlation — points scattered with no visible pattern.
  • Strength is judged by how tightly the points cluster around an imagined line — tight cluster = strong, wide scatter = weak.

Scatter graph types

Compare the tightness of the point cluster around an imagined line to judge strength; compare the slope direction to judge sign.

Strong positive correlationStrong negative correlationNo correlation

Frequently confused

Concept AConcept BThe distinction that matters
CorrelationCausationCorrelation only shows two variables move together; it never proves one causes the other — a hidden third factor could explain both (e.g. ice cream sales and drowning both rise in summer because of heat, not because one causes the other).

Common mistake

Claiming that a strong correlation proves one variable causes the other.

Consequence: Loses the reasoning mark on any 'explain' question about scatter graphs — examiners specifically look for the word 'correlation does not imply causation' or equivalent reasoning.

Fix: Describe the relationship only in terms of association ('as X increases, Y tends to increase') and mention a possible confounding factor if asked to explain the relationship.

Ice cream sales and shark attacks

Beach towns often see ice cream sales and shark attack reports rise together over summer — a strong positive correlation. Neither causes the other; both are driven by hot weather bringing more people (and more ice cream vendors) to the beach. This is the standard example examiners expect you to reference when explaining why correlation isn't causation.

Key takeaways

  • Describe scatter graphs using direction (positive/negative/none) and strength (strong/weak) based on how tightly points cluster.
  • A line of best fit should have roughly equal points above and below it, and can be used to make predictions (interpolation is safer than extrapolation).
  • Correlation never proves causation — always consider confounding variables when explaining a relationship.

Collecting and Organizing Data

Before any statistic can be calculated, data has to be collected fairly and organised sensibly. Exam questions test whether a sampling method is biased and whether a frequency table is built correctly (especially for grouped/continuous data with class intervals).

  • Primary data — collected yourself (survey, experiment, measurement); secondary data — collected by someone else and reused (databases, published reports).
  • Random sample — every member of the population has an equal chance of selection; avoids selection bias.
  • Stratified sample — population split into groups (strata), then sampled proportionally from each group, so the sample reflects the population's structure.
  • Class intervals for grouped continuous data should not overlap and should cover the whole data range — a common construction error is intervals like and , which double-counts the value 20.
Discrete data
Numerical data that can only take specific separate values (usually whole numbers, from counting).Number of pets, number of goals scored.
Continuous data
Numerical data that can take any value within a range (from measuring).Height, time, mass.
Sampling bias
Occurs when the method of choosing a sample means some members of the population are more or less likely to be included than others, making the sample unrepresentative.Surveying only students in the school library about study habits — misses students who avoid the library.

Common mistake

Writing overlapping class intervals such as and written instead as '10–20' and '20–30' without clarifying which group 20 belongs to.

Consequence: Ambiguous intervals can cause double-counting or missing data points, losing accuracy marks on frequency table construction.

Fix: Use inequality notation () or clearly state boundaries so every value belongs to exactly one interval.

Examiner tip

When asked to critique a sampling method, name the SPECIFIC group excluded or over-represented — 'it's biased' with no explanation earns zero; 'only surveying weekday morning shoppers excludes people who work daytime jobs' earns the mark.

Key takeaways

  • Distinguish discrete (counted) from continuous (measured) data before choosing how to group or graph it.
  • Random sampling gives every individual equal chance; stratified sampling proportionally represents subgroups — know which one fixes which problem.
  • Class intervals for grouped data must be non-overlapping and exhaustive — check boundary values carefully.

Independent and Dependent Events

Two events are independent if the outcome of one has zero effect on the probability of the other. They're dependent if the first outcome changes the sample space (and therefore the probability) for the second — the classic dependent case is sampling without replacement.

  • Independent example: rolling a die then flipping a coin — the die result changes nothing about the coin.
  • Dependent example: drawing two cards from a deck without replacing the first — the second draw has one fewer card and possibly one fewer of a given suit/value.
  • The test: does ? If yes, independent. If , dependent.
  • 'With replacement' almost always signals independent events; 'without replacement' almost always signals dependent events.

Combined probability rules

Independent events only — multiply the unconditional probabilities.

Memorise

Dependent events — the second probability must be recalculated based on the new sample space after has occurred.

Memorise

Worked example

Distinguishing independent from dependent draws

[4]
A bag contains 5 red and 3 blue counters. Two counters are drawn (a) with replacement, (b) without replacement. Find in each case.

Frequently confused

Concept AConcept BThe distinction that matters
Independent eventsMutually exclusive eventsIndependent means one event's outcome doesn't affect the other's probability (can happen together); mutually exclusive means the two events CANNOT happen at the same time at all (e.g. rolling a 3 and rolling a 4 on one die) — these are opposite ideas, not synonyms.

Common mistake

Using for a 'without replacement' scenario.

Consequence: Gets the wrong final probability even though the multiplication structure is correct — loses the accuracy mark for the second probability.

Fix: Whenever an item is removed and not replaced, recalculate the second probability using the reduced sample space before multiplying.

Key takeaways

  • Independent: outcome of A doesn't change P(B) — 'with replacement' is the giveaway phrase.
  • Dependent: outcome of A changes the sample space for B — 'without replacement' is the giveaway phrase.
  • Independent and mutually exclusive are NOT the same thing — don't confuse them.

Measures of Central Tendency

Mean, median and mode all try to answer 'what's a typical value?' but each responds differently to outliers and to the shape of the distribution — choosing the right one for a given context is examined just as much as calculating it.

  • Mean — add all values, divide by how many there are; uses every data point but is dragged by outliers.
  • Median — the middle value when data is ordered; resistant to outliers, best for skewed data (e.g. incomes, house prices).
  • Mode — the most frequent value; the only average usable for purely categorical data, but can be misleading with small or flat data sets.
  • For grouped data, you can't find an exact mean — you estimate it using midpoints of each class interval.

Mean formulas

Mean of raw ungrouped data.

— sum of all data values
— number of data values
Memorise

Estimated mean for grouped data, using the midpoint of each class multiplied by its frequency .

— frequency of each class
— midpoint of each class interval
Memorise

Called an ESTIMATE because the exact values within each class are unknown.

Worked example

Estimating the mean from grouped data

[3]
Ages of 40 people at a gym are grouped as: (freq 8), (freq 15), (freq 10), (freq 7). Estimate the mean age.

Choosing the right average

AverageBest used when...Weakness
MeanData is roughly symmetric with no extreme outliersHeavily distorted by outliers
MedianData is skewed or has outliers (e.g. salaries, house prices)Ignores the actual magnitude of extreme values
ModeData is categorical, or you need the single most common valueCan be non-existent, or not unique, or unrepresentative in flat distributions

Common mistake

Reporting the mean as the 'typical' value for a data set that's heavily skewed by outliers (e.g. a rich CEO's salary in a small company).

Consequence: Loses the reasoning mark on 'justify which average is most appropriate' questions.

Fix: Explicitly state that the median is more appropriate because it isn't dragged by the extreme value, and quote both the mean and median to show the gap.

Key takeaways

  • Mean uses every value but is sensitive to outliers; median is resistant to outliers; mode is the only option for categorical data.
  • Grouped-data mean is always an ESTIMATE, calculated with using class midpoints.
  • Justification questions need you to name which average and WHY, referencing outliers or skew explicitly.

Measures of Dispersion

Dispersion measures how spread out the data is — two data sets can have identical means but wildly different consistency, and spread is what tells them apart. Range is the crudest measure (only uses two values); IQR is more robust; standard deviation uses every value and is the most powerful but most calculation-heavy.

  • Range — simple, but wrecked by a single outlier.
  • IQR — spread of the middle 50%, ignores outliers by design.
  • Standard deviation — uses every data point's distance from the mean; small SD = data clustered tightly around the mean, large SD = data spread widely.
  • Lower spread (smaller SD, smaller IQR, smaller range) means more consistent, more predictable data.

Standard deviation

Population standard deviation — square root of the mean squared deviation from the mean.

— each data value
— the mean
— number of data values
Memorise

MYP typically allows this to be found using GDC/calculator statistical mode rather than by hand.

Worked example

Comparing consistency using standard deviation

[3]
Two machines fill bottles with the following volumes (ml) from 5 samples each. Machine A: 500, 498, 502, 499, 501. Machine B: 490, 510, 495, 505, 500. Both have mean 500 ml. Which machine is more consistent?

Examiner tip

When asked to compare two data sets, examiners expect BOTH a measure of centre (mean/median) AND a measure of spread (SD/IQR/range) quoted with numbers — comparing only the mean loses marks even if your conclusion happens to be correct.

Key takeaways

  • Range is quick but fragile to outliers; IQR ignores the extremes; standard deviation uses every value and is the standard measure for consistency.
  • Equal means don't mean equal spread — always quote a dispersion measure alongside any average when comparing data sets.
  • Smaller SD/IQR/range = more consistent, more predictable data.

Box Plots, Histograms and Cumulative Frequency — Applying the Tools

This second pass focuses on how these graphs are actually used in comparison and interpretation questions — the part of the syllabus where students know the mechanics but lose marks on the write-up.

  • Comparing two box plots: compare BOTH the median position (centre) AND the box/whisker width (spread) — a one-sided comparison is an incomplete answer.
  • Skew from a box plot: if the median is closer to and the upper whisker is longer, the data is positively skewed (tail to the right), and vice versa.
  • An outlier on a box plot is typically any value more than beyond or — shown as a separate point, with the whisker stopping at the last non-outlier value.
  • Reading a histogram: total frequency = sum of (frequency density × class width) across all bars, since that product recovers the actual frequency.

Comparing two box plots

Class A has a higher median and a smaller IQR (more consistent); Class B has a lower median but a wider spread including a longer upper whisker (skewed right).

Class A box plotClass B box plotShared numeric axis 0 to 40Median linesQ1 and Q3 box edgesWhiskers to min and max

Worked example

Comparing two box plots in full sentences

[4]
Using the box plots for Class A (min 15, Q1 22, median 26, Q3 30, max 34) and Class B (min 10, Q1 18, median 22, Q3 28, max 38), compare the two classes' test performance.

Mnemonic

MICS — Median, IQR, Compare, State

When comparing box plots: find the Median of each, find the IQR (spread) of each, Compare both numerically, then State a written conclusion referencing both.

Key takeaways

  • Box plot comparisons always need both a centre comparison (median) and a spread comparison (IQR/range) — never just one.
  • Skew is read from where the median sits inside the box and which whisker is longer.
  • Recovering frequency from a histogram means multiplying frequency density by class width for each bar, then summing.

Probability Rules and Tree Diagrams

Tree diagrams are a visual way to track combined probabilities across multiple stages. Every branch shows a probability; multiply ALONG a path, add ACROSS separate paths that lead to the same outcome.

  • All branches from a single point must sum to 1 — a fast self-check for errors.
  • AND rule (multiply along branches): the probability of a specific sequence of outcomes.
  • OR rule (add across paths): the probability of one outcome OR another, when the two paths are mutually exclusive.
  • Complement rule: — often the fastest way to find 'at least one' probabilities.

Core probability rules

Complement rule — probability of an event NOT happening.

Memorise

General addition rule — subtract the overlap so it isn't double-counted; for mutually exclusive events so it simplifies to .

Memorise

General multiplication rule along a tree diagram branch — becomes only when independent.

Memorise

Tree diagram for drawing two counters without replacement

First-stage branches use the original bag composition; second-stage branches change because one counter has been removed — probabilities along each path multiply, and all four end probabilities sum to 1.

First draw: Red (5/8), First draw: Blue (3/8)Second draw after Red: Red (4/7), Blue (3/7)Second draw after Blue: Red (5/7), Blue (2/7)Path probabilities: R-R = 5/8×4/7=20/56, R-B=5/8×3/7=15/56, B-R=3/8×5/7=15/56, B-B=3/8×2/7=6/56

Worked example

Using a tree diagram: at least one event (Q7-style reasoning)

[4]
A bag has 5 red and 3 blue counters. Two are drawn without replacement. Find the probability of drawing at least one red counter.

Common mistake

Adding branch probabilities instead of multiplying when tracking a single path through the tree, or multiplying when combining two separate paths for an OR question.

Consequence: Produces a probability that's either far too small (should have added) or exceeds sensible bounds (should have multiplied) — an easy accuracy check examiners expect you to run.

Fix: Along one path = multiply (AND). Across different paths to the same final outcome = add (OR). Check all branches from one point sum to 1 as a sanity check.

Examiner tip

For 'at least one' probability questions, always try the complement rule first (1 − P(none)) — direct addition of every qualifying path is where most arithmetic errors happen under time pressure.

Mnemonic

Along = ×, Across = +

Multiply probabilities along a single branch path (AND); add probabilities across separate paths to the same outcome (OR).

Key takeaways

  • Tree diagrams track sequential events: multiply along one path, add across separate qualifying paths.
  • The complement rule () is the fastest route to 'at least one' probabilities — always check for this phrasing.
  • Branches from any single node must always sum to 1 — use this as a built-in error check.

Quick Reference

Formulas

  • Theoretical probability
  • Experimental probability / relative frequency
  • Mean of raw data
  • Estimated mean of grouped data (midpoints)
  • Interquartile range
  • Standard deviation
  • Histogram bar height for unequal widths
  • Complement rule — fastest route to 'at least one'
  • Multiplication rule; becomes if independent
  • Pie chart sector angle

Mnemonics

  • Along = ×, Across = +Tree diagrams: multiply along one path, add across separate qualifying paths
  • MICSMedian, IQR, Compare, State — the four steps for comparing box plots

Don't confuse

  • Independent events vs Mutually exclusive events: Independent = one doesn't affect the other's probability; mutually exclusive = they can never occur together at all
  • Correlation vs Causation: Correlation shows two variables move together; it never proves one causes the other
  • Theoretical probability vs Experimental probability: Theoretical is calculated from counting a fair model; experimental only comes from real recorded trial data

Command terms

Calculate:
Show the formula, substitute, compute — every stage can carry marks
Deduce:
State the comparison made and what conclusion it supports
Justify:
Reference specific numbers as evidence, not just an opinion

Exam checklist

  • Plotted cumulative frequency at UPPER class boundaries, not midpoints
  • Used frequency density (not raw frequency) for histograms with unequal class widths
  • Compared BOTH centre and spread when comparing two box plots or data sets
  • Checked 'with replacement' (independent) vs 'without replacement' (dependent) before multiplying
  • Used the complement rule for any 'at least one' probability question
  • Wrote a full-sentence conclusion for 'deduce/justify/explain' questions, not just a number
  • Acknowledged random variation before concluding 'bias' from a small experimental sample