Worked example 1
A die was rolled 180 times with the following results:
| Score | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| Frequency | 25 | 35 | 28 | 32 | 22 | 38 |
Test, at the 5% significance level, whether the die is fair.
Show solution outline
-
Hypotheses : The die is fair. (The data follows a discrete uniform distribution). : The die is not fair.
-
Expected Frequencies If the die is fair, the probability of each score is . The total number of rolls is 180. Expected frequency for each score, . All expected frequencies are > 5, so the test is valid.
-
Calculate the Test Statistic We use the formula .
Score 1 25 30 -5 25 0.8333 2 35 30 5 25 0.8333 3 28 30 -2 4 0.1333 4 32 30 2 4 0.1333 5 22 30 -8 64 2.1333 6 38 30 8 64 2.1333 -
Degrees of Freedom and Critical Value Number of categories = 6. Number of restrictions = 1 (since we only used the total frequency). No parameters were estimated. Degrees of freedom, . Significance level = 5% = 0.05. From tables, the critical value is .
-
Conclusion Since our calculated value is less than the critical value of 11.070, we do not reject . There is insufficient evidence at the 5% significance level to suggest that the die is not fair.