3 missions. Guess, learn, then check. Your place is saved.
Mission 1A survey says students sleep 7.1 ± 0.2 hours. What does ± promise?
Mission 2Usually 3 complaints a week. This week, 8. Bad luck or a real problem?
Mission 3Two curves fit the same data. Which is better, and can you prove it?
The specification points and sources are listed under the lesson: see Sources.
Mission 1
A survey says students sleep 7.1 ± 0.2 hours. What does ± promise?
Make a guess: A survey says students sleep 7.1 ± 0.2 hours. What does ± promise?
HL statistics · estimators and confidence intervals
Transforming and combining random variables
One variable: E(aX+b)=aE(X)+bE(aX+b) = aE(X)+b and Var(aX+b)=a2Var(X)Var(aX+b) = a²Var(X). Adding bb shifts; it never changes the spread.
Any XX and YY: E(aX±bY)=aE(X)±bE(Y)E(aX ± bY) = aE(X) ± bE(Y).
IndependentXX and YY: Var(aX±bY)=a2Var(X)+b2Var(Y)Var(aX ± bY) = a²Var(X) + b²Var(Y). Variances always add, even for a difference.
Two separate observations are not the same as doubling one: Var(X1+X2)=2Var(X)Var(X₁ + X₂) = 2Var(X) but Var(2X)=4Var(X)Var(2X) = 4Var(X).
A linear combination of independent normal variables is normal.
Worked exampleHL statistics · estimators and confidence intervals
Packing a box of flour
Question
Bags of flour have mass X∼N(1010,62)X ~ N(1010, 6²) grams. An empty box has mass Y∼N(250,42)Y ~ N(250, 4²) grams. A full box holds 5 bags, all masses independent. Find the probability that a full box weighs more than 5,320 g.
1
Write the total as separate bags: T=X1+X2+X3+X4+X5+YT = X₁ + X₂ + X₃ + X₄ + X₅ + Y
Variance, adding each part: Var(T)=5×36+16=196Var(T) = 5 × 36 + 16 = 196, so the standard deviation is 14
4
TT is normal, so use your GDC: P(T>5320)P(T > 5320) with T∼N(5300,142)T ~ N(5300, 14²) gives 0.0766
Answer
0.0766 (3 s.f.)
⚠️ Watch out
writing 5X5X gives Var(T)=25×36+16=916Var(T) = 25 × 36 + 16 = 916 and a probability of 0.254. Five different bags are X1+⋯+X5X₁ + ⋯ + X₅, not one bag counted five times.
Quick check
?XX and YY are independent with Var(X)=4Var(X) = 4 and Var(Y)=1Var(Y) = 1. Find Var(2X−3Y)Var(2X − 3Y).
HL statistics · estimators and confidence intervals
Estimators and the central limit theorem
xˉ=n∑xix̄ = (Σ xᵢ)/n is an unbiased estimate of the population mean μμ.
sn−12=n−1nsn2sₙ₋₁² = n/(n−1)sₙ² is an unbiased estimate of σ2σ². Dividing by nn tends to underestimate it.
If X∼N(μ,σ2)X ~ N(μ, σ²), then Xˉ∼N(μ,nσ2)X̄ ~ N(μ, σ²/n) for any nn.
Central limit theorem: whatever the distribution of XX, XˉX̄ is approximately N(μ,nσ2)N(μ, σ²/n) for large nn. In IB exams, n>30n > 30 counts as large.
Calculate
?A random sample of 8 apples has masses, in grams: 48, 52, 50, 47, 55, 51, 49, 54. Use your GDC to find an unbiased estimate of the population variance. Give your answer to 3 significant figures.
Calculate
?The number of people in a car on a city road has mean 1.6 and standard deviation 0.9. Its distribution is not normal. A random sample of 50 cars is taken. Use the central limit theorem to estimate the probability that the sample mean is greater than 1.75. Give your answer to 3 significant figures.
HL statistics · estimators and confidence intervals
Confidence intervals for a mean
A confidence interval is estimate ± margin: xˉ±z∗nσx̄ ± z^(*)σ/(√n) when σσ is known.
When σσ is unknown, use sn−1sₙ₋₁ and the tt-distribution with n−1n−1 degrees of freedom, whatever the sample size. Your GDC does both.
Meaning: if you took many samples and built a 95% interval from each, about 95% of the intervals would contain μμ. The 95% belongs to the method, not to one interval.
Higher confidence or a smaller sample gives a wider interval.
Worked exampleHL statistics · estimators and confidence intervals
A tt-interval for mean sleep
Question
A random sample of 12 students records sleep times, assumed normal. The sample has xˉ=7.1x̄ = 7.1 hours and sn−1=0.31sₙ₋₁ = 0.31 hours. Find a 95% confidence interval for the mean sleep time of all students.
1
σσ is unknown, so use a tt-interval with 12−1=1112 − 1 = 11 degrees of freedom
2
Use your GDC with xˉ=7.1x̄ = 7.1, sn−1=0.31sₙ₋₁ = 0.31, n=12n = 12, level 0.95: the critical value is t∗≈2.201t^(*) ≈ 2.201
using z∗=1.96z^(*) = 1.96 here gives a narrower interval, 6.926.92 to 7.287.28. With σσ unknown the IB expects tt, even for large samples.
Calculate
?A machine fills bottles. The volumes are normal with known standard deviation 2.4 ml. A sample of 36 bottles has mean 51.3 ml. Find the lower limit of a 99% confidence interval for the mean volume. Give your answer to 3 significant figures.
ml
Mission check
?A survey says students sleep 7.1 ± 0.2 hours (95% confidence). What does ± promise?
The ± is a 95% confidence interval for the mean, xˉ±x̄ ± margin. It promises a method: about 95% of intervals made this way contain the true mean. It says nothing certain about this one interval, and nothing about single students.
Mission 2
Usually 3 complaints a week. This week, 8. Bad luck or a real problem?
Make a guess: Usually 3 complaints a week. This week, 8. Bad luck or a real problem?
HL statistics · Poisson and hypothesis tests
The Poisson model
X∼Po(m)X ~ Po(m) counts events in a fixed interval: P(X=x)=x!mxe−mP(X = x) = (m^x e^(−m))/(x!), for x=0,1,2,…x = 0, 1, 2, …
Mean = variance = mm.
Use it when events are independent and occur at a uniform average rate. Scale mm with the interval: 3 a week is 6 a fortnight.
If X∼Po(m1)X ~ Po(m₁) and Y∼Po(m2)Y ~ Po(m₂) are independent, then X+Y∼Po(m1+m2)X + Y ~ Po(m₁ + m₂).
Worked exampleHL statistics · Poisson and hypothesis tests
Two help desks
Question
Calls reach help desk A at an average rate of 2.5 per hour and desk B at 1.5 per hour, independently and at random. Find the probability that the two desks receive at most 2 calls in total in one hour.
Evaluate, or use the Poisson cdf on your GDC with m=4m = 4, upper bound 2
Answer
13e−4≈0.23813e⁻⁴ ≈ 0.238 (3 s.f.)
⚠️ Watch out
"at most 2" includes 2. Using P(T<2)P(T < 2) leaves out P(T=2)P(T = 2) and gives 0.0916.
Sort it
?Choose the best model for each random variable.
Tap a statement, then tap the group it belongs in. Then press Check.
HL statistics · Poisson and hypothesis tests
Testing a parameter; critical regions and errors
Binomial and Poisson tests are one-tailed, e.g. H0:m=3H₀: m = 3, H1:m>3H₁: m > 3.
pp-value: probability, under H0H₀, of a result at least as extreme as the one seen. Reject H0H₀ if p<p < the significance level.
Critical region: the values that lead to rejecting H0H₀. For a discrete variable, make P(X∈CR)P(X ∈ CR) as large as possible while staying below the significance level.
Type I error: rejecting a true H0H₀; its probability is P(X∈CR∣H0)P(X ∈ CR | H₀). Type II error: accepting a false H0H₀.
Worked exampleHL statistics · Poisson and hypothesis tests
A binomial test for a proportion
Question
A seed company claims 80% of its seeds germinate. A gardener suspects the rate is lower. She plants 20 seeds and 12 germinate. Test the claim at the 5% significance level.
1
Hypotheses: H0:p=0.8H₀: p = 0.8, H1:p<0.8H₁: p < 0.8, where pp is the proportion that germinate
2
Under H0H₀, X∼B(20,0.8)X ~ B(20, 0.8)
3
Use your GDC: pp-value =P(X≤12)≈0.0321= P(X ≤ 12) ≈ 0.0321
4
Compare: 0.0321<0.050.0321 < 0.05, so reject H0H₀
Answer
there is significant evidence at the 5% level that fewer than 80% of the seeds germinate.
⚠️ Watch out
the pp-value is P(X≤12)P(X ≤ 12), not P(X=12)≈0.0222P(X = 12) ≈ 0.0222. "At least as extreme" means 12 or fewer here.
Calculate
?A road has an average of 2.5 accidents a month. Residents think a new junction has increased this. The council tests H0:m=2.5H₀: m = 2.5 against H1:m>2.5H₁: m > 2.5 at the 5% level, using XX, the number of accidents in one month. The critical region is X≥cX ≥ c. Find cc.
Calculate
?For the test on the previous screen (critical region X≥6X ≥ 6), the true mean rate is in fact 5 accidents a month. Find the probability of a Type II error. Give your answer to 3 significant figures.
HL statistics · Poisson and hypothesis tests
Tests for a mean and for correlation
σσ known: zz-test on xˉx̄, with Xˉ∼N(μ0,nσ2)X̄ ~ N(μ₀, σ²/n) under H0H₀. Critical values and error probabilities can be found.
σσ unknown: tt-test using sn−1sₙ₋₁, whatever the sample size. Use the pp-value from your GDC.
Paired samples (before and after, on the same people): find each difference dd, then do a one-sample test on the differences, H0:μd=0H₀: μ_d = 0.
Correlation: for bivariate normal data, your GDC tests H0:ρ=0H₀: ρ = 0 and gives a pp-value.
Calculate
?Bags of rice have masses that are normal with known standard deviation 4 g. The label says the mean is 500 g. An inspector weighs a random sample of 16 bags and tests H0:μ=500H₀: μ = 500 against H1:μ<500H₁: μ < 500 at the 5% significance level. The true mean is in fact 497 g. Find the probability of a Type II error. Do not round the critical value, and give your answer to 3 significant figures.
Mission check
?Usually 3 complaints a week. This week, 8. Bad luck or a real problem?
Model the complaints as X∼Po(3)X ~ Po(3) and test H0:m=3H₀: m = 3 against H1:m>3H₁: m > 3. The pp-value is P(X≥8)≈0.0119P(X ≥ 8) ≈ 0.0119, below 5%, so 8 complaints is significant evidence that the rate has risen. There is still a small chance (a Type I error) that it was bad luck.
Mission 3
Two curves fit the same data. Which is better, and can you prove it?
Make a guess: Two curves fit the same data. Which is better, and can you prove it?
HL statistics · data collection and non-linear regression
Designing valid data collection
Questions must be unbiased (not leading), precise and, where possible, structured with consistent answer choices. Open, unstructured questions are hard to analyse.
Avoid needlessly personal questions: people skip them or answer untruthfully.
Choose only the relevant variables and data for your question.
For a χ2chi² test, choose categories so every expected frequency is greater than 5, merging neighbouring classes if needed.
In a goodness of fit test, each parameter estimated from the data removes one more degree of freedom.
Sort it
?Sort each survey question.
Tap a statement, then tap the group it belongs in. Then press Check.
HL statistics · data collection and non-linear regression
Reliability and validity
Reliable: gives consistent results when repeated. Valid: measures what it claims to measure. A test can be reliable but not valid.
Test-retest (reliability): the same people take the same test again later; the scores should correlate strongly.
Parallel forms (reliability): the same people take two equivalent versions; the scores should correlate strongly.
Content validity: the test covers the full range of what it should measure.
Criterion-related validity: results agree with an established measure (the criterion).
Quick check
?A new 10-minute fitness test is given to 40 athletes, who also run a standard lab treadmill test that is known to be accurate. The two sets of scores have a correlation of 0.88. What has been checked?
Calculate
?The number of goals in each of 80 matches is recorded. A χ2chi² goodness of fit test checks whether a Poisson model fits, with the mean estimated from the data as 1.9. The categories are 0, 1, 2, 3, 4 and 5 or more, but the expected frequency for "5 or more" is about 3.5, so it is merged with "4". How many degrees of freedom does the test have?
HL statistics · data collection and non-linear regression
Residuals, SSresSS_res and R2R²
Your GDC fits least squares models: linear, quadratic, cubic, exponential, power and sine.
A residual is y−y^y − ŷ: observed minus predicted. The sum of square residualsSSres=∑(y−y^)2SS_res = Σ (y − ŷ)². Smaller means a closer fit.
R2R² is the proportion of the variability in yy explained by the model. For a linear model, R2=r2R² = r².
R2R²alone can't choose a model: extra terms never lower it. Check the model makes sense in context.
Worked exampleHL statistics · data collection and non-linear regression
SSresSS_res for an exponential model
Question
An app's users yy (thousands) after xx months are (0,2.1)(0, 2.1), (1,2.9)(1, 2.9), (2,4.6)(2, 4.6), (3,6.8)(3, 6.8), (4,10.3)(4, 10.3). Model A is y^=2×1.5xŷ = 2 × 1.5^x. Find SSresSS_res for model A.
square each residual before adding. The residuals themselves add to 0.325, and positive and negative residuals can cancel.
Calculate
?For the same app data, model B is the straight line y^=2x+1.5ŷ = 2x + 1.5. Find SSresSS_res for model B, exactly as a decimal.
Calculate
?A farmer records yield yy (kg per plot) for fertiliser xx (kg per plot): (0,1.5)(0, 1.5), (1,5.6)(1, 5.6), (2,9.3)(2, 9.3), (3,9.4)(3, 9.4), (4,9.0)(4, 9.0), (5,5.1)(5, 5.1). Use your GDC to fit a quadratic regression model and find the coefficient of determination R2R². Give your answer to 3 significant figures.
Mission check
?Two curves fit the same data. Which is better, and can you prove it?
Compare the models with SSresSS_res (smaller is closer) or R2R² (nearer 1 explains more variability). For the app, model A has SSres≈0.0631SS_res ≈ 0.0631 against 2.66, so it fits far better. But a number is not the whole proof: the model must also make sense in context, and R2R² alone can mislead.
xˉx̄ and sn−12sₙ₋₁² are unbiased estimates; XˉX̄ has standard deviation nσσ/(√n) and is approximately normal for n>30n > 30.
Confidence interval for μμ: normal if σσ is known, tt with n−1n − 1 degrees of freedom if not. 95% describes the method.
X∼Po(m)X ~ Po(m): independent events at a uniform average rate; mean = variance = mm; independent Poisson variables add.
Binomial and Poisson tests are one-tailed. The critical region is as large as possible with P(Type I error)P(Type I error) below the significance level.
σσ known: zz-test; σσ unknown: tt-test; paired data: one-sample test on the differences.
Good questions are unbiased, precise and structured; a reliable test is consistent (test-retest, parallel forms); a valid test measures the right thing (content, criterion-related).
χ2chi² goodness of fit: merge classes so expected frequencies exceed 5; df = categories − 1 − parameters estimated.
SSres=∑(y−y^)2SS_res = Σ (y − ŷ)² measures fit; R2R² is the proportion of variability explained; neither alone decides between models.
🏆
Mini-lesson complete!
⭐⭐⭐
You've worked through HL Statistics (AI HL) for IB Diploma Mathematics: Applications & Interpretation HL. 🎉
Mission 1A survey says students sleep 7.1 ± 0.2 hours. What does ± promise?
Mission 2Usually 3 complaints a week. This week, 8. Bad luck or a real problem?
Mission 3Two curves fit the same data. Which is better, and can you prove it?