Chi-squared tests determine whether observed data differs significantly from expected data. They're central to IB Maths statistics.
Chi-Squared Test Statistic
where = observed, = expected.
Goodness of Fit Test
Tests whether data follows a particular distribution.
: Data follows the expected distribution. : It doesn't.
Degrees of freedom: (where = number of categories).
Test for Independence
Tests whether two categorical variables are independent.
: Variables are independent. : They are not independent.
Expected frequency: .
Degrees of freedom: .
Decision Rule
If (from tables at significance level), reject .
Or: if -value < significance level, reject .
Conditions
- All expected frequencies should be ≥ 5.
- Data should be frequencies (not percentages).
Practice Problems
- A die is rolled 60 times. Expected: 10 per face. Observed: 8, 12, 11, 7, 13, 9. Test at 5%.
- A 2×3 table with observed frequencies. Test for independence.
Want to check your answers and get step-by-step solutions?
Key Takeaways
.
GOF: . Independence: .
Reject if exceeds critical value.
All expected values should be ≥ 5.
