Revision Notes
IB DP Mathematics: Applications and Interpretation – Correlation, regression and hypothesis testing Revision Notes
Condensed revision notes on r, rₛ, regression, χ² tests and the t-test, with a quick self-test, for IB DP Mathematics: Applications and Interpretation.
- Level
- IB
- Topic
- Correlation, regression and hypothesis testing
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Muhammad Ghazali Siddiqui (what this means)
Aligned to International Baccalaureate IB Diploma Programme Mathematics: Applications and Interpretation (DP Mathematics: Applications and Interpretation), First assessments for SL and HL—2021. Official specification .
Syllabus page (what it covers and how it is assessed): IB Diploma Programme Mathematics: Applications and Interpretation.
Syllabus points this page covers
DP Mathematics: Applications and Interpretation
- 4.4 Linear correlation of bivariate data; Pearson’s product-moment correlation coefficient; regression line of y on x
- 4.10 Spearman’s rank correlation coefficient; limitations of Pearson’s and Spearman’s coefficients
- 4.11 Hypothesis testing: null/alternative hypotheses, significance levels, p-values, χ² tests, the t-test
Found an error? Report a correction.
Need help with this topic? Request a free trial class for IB Diploma Programme Mathematics: Applications and Interpretation (DP Mathematics: Applications and Interpretation).
For full explanations and worked examples, read the study guide for this unit first.
These revision notes cover correlation, regression and hypothesis testing for IB Diploma Programme Mathematics: Applications and Interpretation. They are aligned to the IB Mathematics: applications and interpretation guide, first assessment 2021, syllabus sections 4.4, 4.10 and 4.11, which are common content for SL and HL. They follow the IB guide for first assessment 2021, which remains the examined syllabus until the new course is first assessed in May 2029, so they apply to the May and November 2026, 2027 and 2028 sessions.
Links: course hub · printable checklist · practice questions · statistics and probability overview · exam preparation
Definitions
- Bivariate data: pairs of values (x, y) from the same individual or item.
- Mean point: (x̄, ȳ). A line of best fit by eye passes through it, and so does the regression line.
- Pearson’s r: strength and direction of a linear relationship, −1 ≤ r ≤ 1. Find it with technology.
- Spearman’s rₛ: Pearson’s r applied to ranks. Measures a monotonic relationship. Find it with technology; average tied ranks.
- Regression line of y on x: y = ax + b, found with technology. Use it to predict y from x.
- H₀: null hypothesis (“independent”, “fits the distribution”, “means equal”).
- H₁: alternative hypothesis (what you want evidence for).
- Significance level: 1%, 5% or 10% in exam questions.
- p-value: probability of a result at least as extreme as the one observed, assuming H₀ is true.
- Degrees of freedom (df): the number used with the χ² distribution; always greater than 1 in exams.
Formulas and rules
| Item | Rule |
|---|---|
| Regression line | y = ax + b (technology); passes through (x̄, ȳ) |
| a | change in y per unit increase in x |
| b | value of y when x = 0 (only meaningful if x = 0 makes sense) |
| χ² statistic | χ²calc = Σ (f_o − f_e)² / f_e |
| Expected frequency (independence) | (row total × column total) / grand total |
| df, independence test | (rows − 1)(columns − 1) |
| df, goodness of fit (SL) | n − 1, where n is the number of categories |
| Decision (p-value) | reject H₀ if p-value < significance level |
| Decision (critical value) | reject H₀ if χ²calc > critical value |
| t-test at SL | unpaired samples, pooled, variance unknown, populations normal |
Correlation words
| r (or rₛ) | Description |
|---|---|
| close to 1 | strong positive |
| about 0.5 | weak/moderate positive |
| close to 0 | no linear (or monotonic) correlation |
| close to −1 | strong negative |
Say “linear” for r and “monotonic” for rₛ.
Method in steps
Regression and prediction
- Enter x and y as two lists. Run linear regression.
- Write r, a and b to 3 s.f.
- Predict with the stored (unrounded) a and b.
- Check the x value is inside the data range. If not, say “extrapolation, unreliable”.
- Never use the y on x line to predict x.
Spearman’s rₛ
- Rank each variable separately (smallest = 1).
- Tied values share the average rank: two values in positions 4 and 5 both get 4.5.
- Find r for the two rank lists. That is rₛ.
χ² test (either type)
- Write H₀ and H₁ in context.
- Find expected frequencies (check they are greater than 5).
- State df.
- Find χ²calc and the p-value with technology.
- Compare: p-value with the significance level, or χ²calc with the given critical value.
- Conclude in context.
Pooled two-sample t-test
- H₀: μ₁ = μ₂. H₁: μ₁ ≠ μ₂ (two-tailed) or μ₁ > μ₂ / μ₁ < μ₂ (one-tailed).
- Enter both samples. Choose pooled, and the right alternative.
- Read the p-value. Compare with the significance level.
- Conclude in context. State the normality assumption if asked.
Small worked reminders
- 2 × 3 table, row totals 60 and 90, every column total 50, grand total 150: expected top-left = 60 × 50 / 150 = 20. df = 1 × 2 = 2.
- Five equally likely days, 200 customers: each expected frequency is 40; df = 4.
- y = 3.03x + 10.4 for drinks sold (y) against temperature in °C (x): about 3 more drinks per extra degree.
- x = 1, 2, 3, 4, 5, 6 and y = 2, 3, 5, 9, 17, 33: rₛ = 1 (always increasing) but r = 0.906 (curved).
Worked reminder: a full χ² conclusion
Revision method against year group, 150 students, test at 5%.
H₀: revision method and year group are independent
H₁: revision method and year group are not independent
df = (2 − 1)(3 − 1) = 2
χ²calc = 9.5, p-value = 0.00865
0.00865 < 0.05 → reject H₀
Conclusion: there is evidence at the 5% level that revision method depends on year group. The final sentence carries a mark, so never stop at “reject H₀”.
Worked reminder: a t-test conclusion
Method A scores against Method B scores, test at 5% whether A has the higher mean.
H₀: μ_A = μ_B H₁: μ_A > μ_B (one-tailed)
pooled 2-sample t-test: t = 2.62, p-value = 0.0120
0.0120 < 0.05 → reject H₀
Conclusion: there is evidence that Method A gives a higher mean score. If the question had asked whether the means differ, the test would be two-tailed and the p-value would double to 0.0240.
Exam conditions stated in the guide
- Contingency tables have at most 4 rows or 4 columns.
- Degrees of freedom are always greater than 1.
- Expected frequencies are greater than 5.
- Only upper-tail χ² tests at 1%, 5% or 10% are set.
- The χ² critical value is given where appropriate; so are critical values of r.
- You find χ², p-values and t-test results with technology. Hand calculation of expected values is a useful check, not a requirement.
- At SL, t-test samples are unpaired and the population variance is unknown; assume equal variances and use the pooled test.
- rₛ is found with technology in examinations.
Must-know distinctions
- Pearson vs Spearman: Pearson tests only for linearity; Spearman tests for any monotonic relationship and is less sensitive to outliers.
- Correlation vs causation: a strong correlation does not show that one variable causes the other.
- Interpolation vs extrapolation: inside the data range is reasonable; outside is unreliable.
- Independence vs goodness of fit: independence uses a contingency table and df = (r − 1)(c − 1); goodness of fit compares one row of data with a claimed distribution and at SL uses df = n − 1.
- One-tailed vs two-tailed: “greater”, “higher”, “less” → one-tailed; “different”, “differ” → two-tailed.
- p-value vs critical value: small p-value means reject; large χ²calc means reject.
- “Do not reject H₀” vs “accept H₀”: a test never proves H₀. Say there is insufficient evidence.
Quick self-test
- State the degrees of freedom for a χ² test for independence on a 3 × 4 contingency table.
- In a contingency table, a row total is 45, a column total is 60 and the grand total is 180. Find the expected frequency for that cell.
- A goodness of fit test at SL has 5 categories. State the degrees of freedom.
- A test gives a p-value of 0.032. State the decision at the 5% level and at the 1% level.
- χ²calc = 7.21 and the critical value at 5% with df = 3 is 7.81. State the decision.
- Rank the values 12, 15, 15, 18, 20 for Spearman’s rₛ.
- y = 1.8x + 25. Predict y when x = 10.
- The scatter diagram shows y always increasing with x, but along a curve. Which coefficient describes the relationship better?
- A spinner with 5 equal sectors is spun 120 times. Find each expected frequency under H₀.
- Write H₀ and H₁ to test whether the mean time for Group 1 is greater than for Group 2.
- A scatter diagram shows a clear U-shape, and r = 0.12. What can you conclude?
- The regression line is y = 2.5x + 4 and x̄ = 6. Find ȳ.
Answers
- (3 − 1)(4 − 1) = 6
- 45 × 60 / 180 = 15
- 5 − 1 = 4
- 5%: 0.032 < 0.05, reject H₀. 1%: 0.032 > 0.01, do not reject H₀.
- 7.21 < 7.81, so do not reject H₀.
- 1, 2.5, 2.5, 4, 5
- 1.8 × 10 + 25 = 43
- Spearman’s rₛ (monotonic, not linear).
- 120 / 5 = 24
- H₀: μ₁ = μ₂; H₁: μ₁ > μ₂
- Only that there is no linear correlation. The variables are clearly related, but not linearly, so r is not meaningful here.
- ȳ = 2.5 × 6 + 4 = 19 (the line passes through the mean point).
Where marks are usually lost
- Describing r without both direction and strength, or without the word “linear”.
- Rounding a and b before predicting, so the prediction is off in the third significant figure.
- Making a prediction outside the data range without a warning about extrapolation.
- Rearranging y = ax + b to estimate x from a given y.
- Leaving tied values with different ranks instead of the average rank.
- Writing H₀ and H₁ the wrong way round, or without context.
- Giving df as rows × columns, or as n rather than n − 1 for goodness of fit.
- Comparing the p-value with the critical value, or χ²calc with the significance level.
- Choosing a two-tailed alternative when the question asks whether one mean is higher.
- Stating the decision (“reject H₀”) without a sentence in the context of the question.
Official syllabus
International Baccalaureate Organization, Diploma Programme, Mathematics: applications and interpretation guide, first assessment 2021.
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.
Related resources
-
Study Guides
IB DP Mathematics: Applications and Interpretation – Correlation, regression and hypothesis testing Study Guide
Study guide to Pearson and Spearman correlation, the regression line, χ² tests and the t-test, with worked examples, for IB DP Maths AI SL and HL.
Mathematics: Applications and Interpretation · International Baccalaureate · IB
-
Practice Questions
IB DP Mathematics: Applications and Interpretation – Correlation, regression and hypothesis testing Practice Questions
11 original questions with marked answers on correlation, regression, χ² tests and t-tests for IB DP Mathematics: Applications and Interpretation.
Mathematics: Applications and Interpretation · International Baccalaureate · IB
-
Study Guides
IB DP Mathematics: Applications and Interpretation – Functions and modelling Study Guide
Study guide for IB Maths AI functions and modelling: straight lines, functions and inverses, graphs, the six SL models and fitting them.
Mathematics: Applications and Interpretation · International Baccalaureate · IB
Related articles
-
curriculum guides
Choosing subjects at IGCSE and A Level
How subject choices at 14 and 16 affect university options later, and how to keep pathways open without overloading a timetable.
28 July 2026
-
study skills
How to revise for a science examination
Most science revision fails because it rereads notes instead of retrieving them. A practical method for revising physics, chemistry and biology in the weeks before a paper.
14 July 2026
Studying this with a teacher
Working through Mathematics: Applications and Interpretation IB?
This page is free and stays free. If you would rather be taught it, Marlbridge runs Mathematics: Applications and Interpretation classes one-to-one, online in your own time zone. The first trial class is free. WhatsApp replies within an hour (8am–11pm Pakistan time, every day); email the same day.
IB Mathematics: Applications and Interpretation teachers at Marlbridge