In: Statistics and Probability
We roll the dice 20 times. The results we obtained are presented in the table.
| obtained number | 1 | 2 | 3 | 4 | 5 | 6 | 
| number of throws | 1 | 1 | 7 | 4 | 4 | 3 | 
a) The value of the relevant test statistics is:
b) Assuming the significance level of 0.05, it can be considered that the dice used to roll IS / IS NOT FAIR
| o -- observed | E-- expected | ||||
| CALCULATION TABLE | |||||
| number | O | Total of frequency | E | O-E | (O-E)2/E | 
| 1 | 1 | 20 | 3.333333333 | -2.333333333 | 1.633333333 | 
| 2 | 1 | 20 | 3.333333333 | -2.333333333 | 1.633333333 | 
| 3 | 7 | 20 | 3.333333333 | 3.666666667 | 4.033333333 | 
| 4 | 4 | 20 | 3.333333333 | 0.666666667 | 0.133333333 | 
| 5 | 4 | 20 | 3.333333333 | 0.666666667 | 0.133333333 | 
| 6 | 3 | 20 | 3.333333333 | -0.333333333 | 0.033333333 | 
| SUM= | 20 | 20 | 7.6 | ||
| E = 20/6 = | 3.333333333 | ||||
| H0: Dice is fair | |||||
| H1: Dice is not fair | |||||
| The significance level = 0.05 | |||||
| df= 6-1=5 | |||||
| a) The value of the relevant test statistics is: | |||||
| a) | CHI SQUARE = | 7.6 | |||
| b) | Critical value of chi square = 11.07 | ||||
| 7.6 < 11.07 | |||||
| Reject H0 | |||||
| so we conclude that dice is not fair |