Statistics and Probability — IB Math AI SL Study Guide
For: IB Mathematics Applications & Interpretation SL candidates.
Covers: IB AI SL Topic 4 — descriptive statistics (mean, median, variance), correlation and Pearson's , linear regression, probability rules, conditional probability, normal distribution, chi-squared test for independence and goodness of fit.
A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the IB AI SL style for educational use. They are not reproductions of past IBO papers.
1. Why Stats & Prob in AI SL
Topic 4 is one of the largest in AI SL (about 25% of assessment) and the IA modelling almost always involves statistical analysis. Get fluent with your GDC's statistics functions — most calculations are 1-2 button presses.
2. Descriptive statistics
For a dataset :
- Mean: .
- Median: middle value when sorted (or average of two middles).
- Mode: most frequent value(s).
- Variance: . (Sample variance uses instead.)
- Standard deviation: .
- Range: max − min. IQR: .
Box plot uses median, , , min, max. Outliers (any of: < or >) shown as crosses.
3. Correlation and regression
For paired data :
Pearson's correlation coefficient measures linear association: .
- : perfect positive linear; : perfect negative; : no linear association.
- Strong does not imply causation.
Linear regression fits via least-squares (your GDC computes directly).
Prediction within data range = interpolation (reliable). Prediction outside range = extrapolation (less reliable, especially as is far from ).
4. Probability rules
For events and :
- .
- (complement) .
- Mutually exclusive: , so .
- Independent: .
- Conditional: .
Tree diagrams are heavily examined — start with the first event, branch by outcome, then continue. Multiply along branches; add across branches.
5. Normal distribution
If , is bell-shaped, symmetric about .
Standard normal: , with , . Tables and GDC give .
68-95-99.7 rule: about 68% within 1, 95% within 2, 99.7% within 3.
To find : standardise to , then .
Inverse normal: given probability, find the . GDC's invNorm function.
6. Chi-squared test (AI SL)
The test of independence checks whether two categorical variables are associated.
- Set up null hypothesis: variables are independent.
- Compute expected frequencies: .
- Compute test statistic: .
- Degrees of freedom: for an table.
- Compare to critical value or use -value from GDC. Reject if critical, or significance level (usually 0.05).
Conditions: all expected frequencies (or pool categories if not).
7. Worked Example
A survey of 100 students gives data on whether they cycle to school and whether they live within 2 km. Test at 5% significance whether cycling and proximity are independent.
| Cycles | Doesn't cycle | Total | |
|---|---|---|---|
| Within 2 km | 25 | 15 | 40 |
| Beyond 2 km | 10 | 50 | 60 |
| Total | 35 | 65 | 100 |
Solution.
Expected frequencies: , , , .
Degrees of freedom: . Critical at , df = 1: 3.841.
22.16 > 3.841, so reject . Conclusion: cycling and proximity are not independent at 5% significance.
8. Common Pitfalls
- Sample vs population variance: AI SL uses population formula ( in denominator) by default. Some questions specify sample (use ).
- Tree diagram with replacement: probabilities along the branches stay the same; without replacement, they change after each draw.
- Extrapolation reliability: report before predicting; if is weak, even interpolation is shaky.
- Chi-squared expected frequency: must be for the test to be valid. If not, pool categories or use Fisher's exact (out of AI SL scope).
9. Practice Questions
- Find the mean and variance of {3, 7, 8, 5, 12, 4}.
- The number of customers entering a shop per minute has , (Normal). Find .
- In a sample of 200, 60 own a car. Construct the 95% confidence interval for the population proportion.
10. Quick Reference Cheatsheet
- Mean = ; population SD uses , sample uses .
- IQR = ; outliers .
- Pearson : −1 to 1; strong = magnitude near 1.
- Independent: .
- Conditional: .
- Normal: .
- : ; df = .
11. What's Next
Stats & Prob ties to Topic 5 (Calculus) for continuous distributions and expectation as integral. IA modelling almost always involves regression or chi-squared. Use Ollie for any specific test or distribution: "Set up the chi-squared step by step for this 3×3 table" or "Why is my GDC giving me a different SD?"