Hypothesis Testing: Chi-Squared Test for Independence and Goodness of Fit
IB DP Mathematics: Applications and InterpretationSL & HLStatistics and ProbabilityTopic 4.11
Free previewRead the preview below. The full note is free with an account.
Unlock the full notes01
Real-World Introduction
A pharmaceutical company tests whether a new drug's side-effect profile is independent of patient age group. A market researcher asks whether customer satisfaction ratings follow a uniform distribution across product categories. Both questions share a common mathematical structure: comparing what we observe in data against what we would expect if a particular claim were true.
The chi-squared () test is the standard tool for answering questions about categorical data. Unlike the t-test, which compares means of numerical data, the chi-squared test works with counts in categories — making it one of the most widely used statistical tests in social science, biology, medicine, and market research.
02
Core Concepts & Definitions
Before performing any chi-squared test, it is essential to understand what kind of question is being asked. There are two distinct chi-squared tests in the IB Math AI syllabus, and choosing the wrong one is a common exam error. The key distinction lies in whether the data involves one categorical variable (goodness of fit) or two categorical variables (test for independence).
The test compares observed cell frequencies with expected cell frequencies — the frequencies that would occur if the two variables were perfectly independent. A large discrepancy between observed and expected values produces a large statistic, which provides evidence against independence.
The preview ends here
Read the full note
- The complete note with worked examples
- Practice questions with mark schemes
- Help from an experienced tutor
