A die is rolled 60 times and faces 1 to 6 appear times. The critical value for 5 degrees of freedom is . Is the die fair according to a chi-squared goodness-of-fit test at the 5% level?
Probability and statistics, Hypothesis testing
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can set up and run a chi-squared goodness-of-fit test, including degrees of freedom.
Key idea
, where are observed counts and are expected counts under . For categories with no fitted parameters it follows approximately.
Steps
- State : the die is fair, so each face has probability . : it is not fair.
- Expected counts: for each face. All are at least 5, so the chi-squared approximation is fine.
- Compute .
- So .
- Degrees of freedom: . The critical value is , and , so reject at 5%.
- The p-value is about . Most of the statistic () comes from face 6, which appeared twice as often as expected.
Common mistakes
- Using instead of dividing by .
- Using instead of degrees of freedom.
- Running the test on proportions instead of counts. The statistic scales with the sample size.
How long your answer should be
Half a page, 4 minutes.
Read this
Previous in Probability and statistics: You run independent hypothesis tests, all with true null hypotheses, each at level . What is the probability of at least one false positive? What level per test does the Bonferroni correction use, and what family-wise error rate does that achieve?
Next in Probability and statistics: In a sample of 100 emails, a rule fires on 40 of them. Of the 50 emails that are spam, the rule fires on 30. The 50 non-spam emails give the other 10 firings. The critical value for 1 degree of freedom at 5% is . According to a chi-squared test of independence, are the rule and the spam label independent?