- IB
- Question Type 6: Initiating the chi-squared goodness of fit test with the hypothesis and critical region
A chi-squared goodness-of-fit test is performed on a set of six categories with the following observed counts: . The null hypothesis is that the categories are equally likely.
Using statistical software, determine the p-value for the chi-squared statistic, given that there are degrees of freedom.
[3]Determine the smallest significance level at which the fair-die hypothesis would be rejected for a test statistic with degrees of freedom.
[3]The question requires the calculation of a critical value for the chi-squared distribution using the degrees of freedom and significance level.
Calculate the critical value for a chi-squared distribution with 5 degrees of freedom at significance level .
[2]Calculate the expected frequency for each face when rolling a fair six-sided die a total of 55 times.
[2]A loaded die is rolled 60 times with observed frequencies for faces 1–6. Test at whether the die is fair by computing the chi-squared statistic and stating your conclusion.
[5]At significance level , conclude the chi-squared test for fairness of the die based on the statistic with degrees of freedom.
[4]A fair six-sided die is rolled 55 times.
Calculate the expected frequency for face 3. Show your calculation by hand and state the result as it would be verified using statistical software (e.g. or Python) based on a uniform distribution model.
[3]A six-sided die is rolled several times. The observed counts for the faces 1 to 6 are and respectively.
Formulate the null and alternative hypotheses for testing whether the die is fair.
[2]Chi-squared goodness-of-fit test
Determine the degrees of freedom for the chi-squared goodness-of-fit test applied to a six-sided die with no parameters estimated from the data.
[2]The following table shows the observed frequencies of each face when a six-sided die is rolled 55 times.
| Face | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Frequency | 9 | 11 | 3 | 15 | 8 | 9 |
Calculate the goodness of fit test statistic for these results, under the null hypothesis that the die is fair.
[3]For the observed counts , calculate and interpret the Pearson residual for face 3 under the assumption of a fair die.
[5]At significance level , conclude the chi-squared test for fairness of the die based on the statistic with 5 degrees of freedom.
[4]