A die is rolled 60 times and faces 1 to 6 appear 5,8,9,8,10,20 times. The critical value for 5 degrees of freedom is 11.07. 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

χ2=∑i(Oi−Ei)2Ei, where Oi are observed counts and Ei are expected counts under H0. For k categories with no fitted parameters it follows χk−12 approximately.

Steps

  1. State H0: the die is fair, so each face has probability 1/6. H1: it is not fair.
  2. Expected counts: Ei=60/6=10 for each face. All are at least 5, so the chi-squared approximation is fine.
  3. Compute ∑(Oi−Ei)2=25+4+1+4+0+100=134.
  4. So χ2=134/10=13.4.
  5. Degrees of freedom: k−1=5. The critical value is 11.07, and 13.4>11.07, so reject H0 at 5%.
  6. The p-value is about 0.020. Most of the statistic (100/10=10) comes from face 6, which appeared twice as often as expected.

Common mistakes

How long your answer should be

Half a page, 4 minutes.

Read this

Previous in Probability and statistics: You run m=20 independent hypothesis tests, all with true null hypotheses, each at level α=0.05. 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 3.84. According to a chi-squared test of independence, are the rule and the spam label independent?