Statistics and probability
Sampling and data, mean, median, mode, quartiles, standard deviation, outliers, box plots and cumulative frequency, the effect of transforming data, probability rules, Venn and tree diagrams, conditional probability and independence, and Bayes’ theorem for HL.
mentorriyaz.in
In 30 seconds
- Centre: mean, median, mode. Spread: range, IQR = Q3 − Q1, standard deviation σ. An outlier is more than 1.5 × IQR beyond a quartile.
- Adding a constant to every value shifts the mean and median but leaves the spread alone. Multiplying by k multiplies both the centre and the spread by k.
- Probability: P(A ∪ B) = P(A) + P(B) − P(A ∩ B), P(A ∣ B) = P(A ∩ B)/P(B). A and B are independent ⇔ P(A ∩ B) = P(A)P(B).
- HL Bayes: reverse a conditional probability with a tree diagram: P(A ∣ B) = P(A ∩ B)/P(B), with P(B) summed over all branches.
By the end you can
- Identify types of data, sampling methods and sources of bias.
- Find and interpret measures of centre and spread, including from grouped data.
- Draw and interpret box plots and cumulative frequency graphs, and identify outliers.
- Describe the effect of adding or multiplying every value by a constant.
- Use Venn diagrams, tree diagrams and sample space diagrams to find probabilities.
- Use conditional probability and test for independence.
- Use Bayes' theorem with two or three events. HL
1Data and sampling
- Discrete data is counted (number of siblings); continuous data is measured (height, time).
- Sampling methods: simple random, systematic (every kth), stratified (proportional to group sizes), quota, convenience. Know one advantage and one problem for each.
- Bias comes from the method, not the size: a large convenience sample is still biased.
2Centre and spread
- σ (population standard deviation) measures the typical distance from the mean. In IB exams, use the GDC for σ; you are not expected to use the formula by hand.
Find the mean, median, quartiles and IQR of 3, 5, 7, 8, 9, 11, 12, 15, 18.
- mean = 88/9 = 9.78 A1
- median = 5th value = 9 A1
- Q1 = 6, Q3 = 13.5, so IQR = 7.5 A1A1
Are there any outliers in that data set?
- Q1 − 1.5(7.5) = −5.25 and Q3 + 1.5(7.5) = 24.75 M1
- every value is between these, so no outliers A1
The ages of 30 people are grouped: 0–10 (4), 10–20 (10), 20–30 (12), 30–40 (4). Estimate the mean.
- midpoints 5, 15, 25, 35 M1
- (20 + 150 + 300 + 140)/30 M1
- ≈ 20.3 years A1
- Why "estimate"? You only know which class each value is in, so the midpoint stands in for every value in the class.
| Change to every value | Mean, median | SD, IQR |
|---|---|---|
| add b | + b | no change |
| multiply by a | × a | × ǀaǀ |
| y = ax + b | a x̄ + b | ǀaǀσ |
The mean of a data set is 12 and the SD is 3. Each value is doubled and then 5 is added. Find the new mean and SD.
- new mean = 2(12) + 5 = 29 A1
- new SD = 2(3) = 6 (adding 5 doesn't change spread) A1
3Cumulative frequency
- Reading off: median at n/2, Q1 at n/4, Q3 at 3n/4. For "how many took longer than 30 minutes", read up from 30 and subtract from n.
- Percentiles: the 90th percentile is read from 0.9n.
4Probability rules
P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.15. Find P(A ∪ B) and P(A ∣ B), and decide whether A and B are independent.
- P(A ∪ B) = 0.5 + 0.4 − 0.15 = 0.75 A1
- P(A ∣ B) = 0.15/0.4 = 0.375 A1
- P(A)P(B) = 0.2 ≠ 0.15, so not independent R1
5Tree diagrams
A bag has 5 red and 3 blue counters. Two are taken without replacement. Find P(both the same colour).
- P(RR) = 58 × 47 = 2056 M1
- P(BB) = 38 × 27 = 656 M1
- total = 2656 = 1328 A1
Given that both counters are the same colour, find the probability that they are both red.
- P(RR ∣ same) = 20/5626/56 M1
- = 1013 A1
6Bayes' theorem HL
2% of people have a disease. A test detects 95% of cases but gives a positive result for 10% of healthy people. Find P(disease ∣ positive).
- P(+) = 0.02(0.95) + 0.98(0.10) = 0.019 + 0.098 = 0.117 M1A1
- P(D ∣ +) = 0.0190.117 M1
- = 0.162 A1
- Three or more events: the same idea works with three first-stage branches (say, three factories making a part): the denominator adds three products.
7Bivariate statistics (before 2029 only)
- Pearson's r (−1 ≤ r ≤ 1) measures linear correlation; use the GDC. r close to ±1 is strong, close to 0 is weak. Correlation is not causation.
- Regression line y on x predicts y from x; x on y predicts x from y. Both pass through (x̄, ȳ). Only interpolate: predictions outside the data range are unreliable.
Test yourself — cover the answers first
Quick check
- Is "time to run 100 m" discrete or continuous?
- Find the median of 4, 9, 2, 7, 5, 1.
- Every value is increased by 10. What happens to the IQR?
- P(A) = 0.3. Find P(A′).
- A and B are independent, P(A) = 0.4 and P(B) = 0.5. Find P(A ∩ B).
- HL Give the denominator in Bayes' theorem in words.
Exam-style
- In a class of 30, 18 study French, 12 study Spanish and 5 study both. A student is chosen at random. Find the probability that they study French given that they study Spanish, and the probability that they study neither.
- HL Machines A, B and C make 50%, 30% and 20% of the parts in a factory. 2%, 3% and 5% of their parts are faulty. A part is faulty. Find the probability it came from C.
Show answers
- continuous
- 4.5
- no change
- 0.7
- 0.2
- the total probability of the given event
- P(F ∣ S) = 512
neither = 30 − (18 + 12 − 5) = 5
P(neither) = 16 - P(F) = 0.5(0.02) + 0.3(0.03) + 0.2(0.05) = 0.01 + 0.009 + 0.01 = 0.029
P(C ∣ F) = 0.01/0.029
= 0.345
Send it to me on WhatsApp. I read every message.
Want regular help? Send this to your parent →