FS1-6 Chi squared tests — coverage pack
1 specification leaves · notes, questions, answers and worked methods
FS1-6.1 · Goodness of fit tests and contingency tables. The null and alternative hypotheses. Degrees of freedom.
- For goodness of fit, states that the proposed distribution fits; for a contingency table, states that the two classifications are independent.
- Use . For goodness-of-fit groups, when parameters are estimated from the data; for an table, .
- In a contingency table, each expected frequency is .
- A common error is to leave an expected frequency below ; adjacent or sensible categories should be combined before calculating the statistic and degrees of freedom.
Tier 1 · Easy
1. A goodness-of-fit test has four categories with model probabilities and a sample size of . No parameter is estimated. Find the expected frequencies and the degrees of freedom.[3 marks]
Answer
- Expected frequencies
Method: Multiply by each model probability to obtain . With groups and no estimated parameter, .
Tier 2 · Standard
1. After fitting a one-parameter model from the same data, five ordered categories have observed frequencies and expected frequencies . Carry out a goodness-of-fit test at the level of significance. The critical value for degrees of freedom is .[8 marks]
Answer
- Combine the final two categories, giving observed and expected
- : the fitted model is suitable; : it is not suitable
- Do not reject ; there is insufficient evidence that the model does not fit
Method: The final expected frequency is , so combine it with the adjacent fourth category. This gives and . Then . After combining there are groups, and one parameter was estimated, so . Since , do not reject .
Tier 3 · Hard
1. The observed counts in a contingency table are . Test independence at the level of significance. The critical value for degrees of freedom is .[10 marks]
Answer
- : row and column classifications are independent; : they are associated
- Expected row in each case:
- Do not reject ; there is insufficient evidence of an association
Method: Each row total is , the column totals are , and the grand total is . Thus every expected row is . Summing over all cells gives . The degrees of freedom are . Since , do not reject independence.