By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
"Mastering statistical tests in IB Math AI HL/SL can earn you 10-15% of your final exam score—and help you answer real-world questions like: ‘Is this new drug effective?’ or ‘Is there a link between study time and grades?’ Today, you’ll learn the exact steps to ace t-tests, Chi-squared, Spearman’s Rank, and p-values—so you can walk into your exam confident and prepared."
Before diving in, ensure you understand: 1. Hypothesis Testing Basics – Null hypothesis (H₀) vs. alternative hypothesis (H₁), significance level (α). 2. Normal Distribution & Critical Values – How to read statistical tables (t-distribution, Chi-squared, Spearman’s). 3. Basic Probability – p-values, Type I/II errors.
Formula: [ t = \frac{\bar{x}_1 - \bar{x}_2}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}} ] Variables: - (\bar{x}_1, \bar{x}_2) = sample means - (s_1^2, s_2^2) = sample variances - (n_1, n_2) = sample sizes MEMORISE THIS (but check if given on your exam sheet).
Degrees of Freedom (df): [ df = n_1 + n_2 - 2 ]
Formula: [ \chi^2 = \sum \frac{(O - E)^2}{E} ] Variables: - (O) = observed frequency - (E) = expected frequency (row total × column total ÷ grand total) GIVEN ON EXAM SHEET (but know how to use it).
Degrees of Freedom (df): [ df = (r - 1)(c - 1) ] (where (r) = rows, (c) = columns)
Formula: [ r_s = 1 - \frac{6 \sum d_i^2}{n(n^2 - 1)} ] Variables: - (d_i) = difference between ranks - (n) = number of pairs MEMORISE THIS (but check exam sheet).
Interpretation: - (r_s = 1) → perfect positive correlation - (r_s = -1) → perfect negative correlation - (r_s = 0) → no correlation
Example: H₀: μ₁ = μ₂ vs. H₁: μ₁ ≠ μ₂ (two-tailed t-test).
Choose Significance Level (α)
Usually α = 0.05 (given in exam).
Calculate Test Statistic
Use the correct formula (t, χ², or rₛ).
Find Critical Value or p-Value
p-Value Approach: Compare p-value to α.
Make Decision
Otherwise → Fail to reject H₀.
Write Conclusion in Context
Question: Two groups of students took a math test. Group A (n=10) had a mean score of 75 with s=8. Group B (n=12) had a mean of 70 with s=6. Test at α=0.05 if Group A performed better.
Step-by-Step Solution:
H₁: μ₁ > μ₂ (Group A is better) → One-tailed test
Significance Level
α = 0.05
Calculate t-statistic [ t = \frac{75 - 70}{\sqrt{\frac{8^2}{10} + \frac{6^2}{12}}} = \frac{5}{\sqrt{6.4 + 3}} = \frac{5}{3.07} ≈ 1.63 ]
Degrees of Freedom [ df = 10 + 12 - 2 = 20 ]
Find Critical Value
One-tailed t-table (df=20, α=0.05) → 1.725
Compare t to Critical Value
1.63 < 1.725 → Fail to reject H₀
Conclusion "There is insufficient evidence to conclude that Group A performed better."
What we did and why: - Used a one-tailed t-test because the question asked "better" (directional). - Compared t to critical value (not p-value) since the exam often expects this. - Failed to reject H₀ because the test statistic was less extreme than the critical value.
Question: A survey asked 100 students if they prefer online or in-person learning. Test at α=0.05 if preference is independent of grade level.
Solution:
H₁: Preference depends on grade level.
Expected Frequencies (E)
E (Grade 12, In-Person) = 22.5
Calculate χ² [ \chi^2 = \frac{(30-27.5)^2}{27.5} + \frac{(20-22.5)^2}{22.5} + \frac{(25-27.5)^2}{27.5} + \frac{(25-22.5)^2}{22.5} ] [ = \frac{6.25}{27.5} + \frac{6.25}{22.5} + \frac{6.25}{27.5} + \frac{6.25}{22.5} ≈ 0.227 + 0.278 + 0.227 + 0.278 = 1.01 ]
Degrees of Freedom [ df = (2-1)(2-1) = 1 ]
Critical Value (α=0.05, df=1)
χ² table → 3.841
Decision
1.01 < 3.841 → Fail to reject H₀
Conclusion "There is no evidence that learning preference depends on grade level."
Question: 6 students ranked their math and science difficulty (1=easiest, 6=hardest). Test if there’s a correlation at α=0.05.
H₁: There is a correlation (two-tailed).
Calculate Differences (d) and d² | Student | Math (x) | Science (y) | d = x-y | d² | |---------|----------|-------------|---------|----| | A | 2 | 3 | -1 | 1 | | B | 1 | 1 | 0 | 0 | | C | 4 | 5 | -1 | 1 | | D | 3 | 2 | 1 | 1 | | E | 6 | 6 | 0 | 0 | | F | 5 | 4 | 1 | 1 | Σd² = 4
Calculate rₛ [ r_s = 1 - \frac{6 \times 4}{6(36 - 1)} = 1 - \frac{24}{210} ≈ 0.886 ]
Critical Value (n=6, α=0.05, two-tailed)
Spearman’s table → 0.886
0.886 ≥ 0.886 → Reject H₀
Conclusion "There is a significant positive correlation between math and science difficulty rankings."
Question: A t-test gives p=0.03. The significance level is α=0.05. What conclusion can you draw?
p = 0.03 < 0.05 → Reject H₀
Conclusion "There is sufficient evidence to reject the null hypothesis at the 5% significance level."
What we did and why: - Used p-value approach (common in exams). - Rejected H₀ because p was less than α, meaning the result is statistically significant.
"Here’s your last-minute cheat sheet for statistical tests in IB Math AI:
Now go ace that exam!
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.