You are on page 1of 3

Chi-sq Test

A die is tossed 180 times with the following result:

x f(observed) E(ex[pected ) o-E(observed-expected)


1 28 30 -2
2 36 30 6
3 36 30 6
4 30 30 0
5 27 30 -3
6 23 30 -7

Is this balanced die? Use 0.01 level of significance.

n 6
N 180
alpha 0.01
H0 It is a balanced die
H1 It is not a balanced die
degree n-1
of freedom 5
(o-e)(o-e){M} M/e
4 0.1333333333 Probability of ocurring 1 on die =
36 1.2 Probability of ocurring 2 on die =
36 1.2 Probability of ocurring 3 on die =
0 0 Probability of ocurring 4 on die =
9 0.3 Probability of ocurring 5 on die =
49 1.6333333333 Probability of ocurring 6 on die =
4.4666666667
chi sqr(without function)

Probability 0.4843556738

since Pvalue > 0.05, we accept the hypothesis H0

Chi-INVERSE 4.2382786163
f ocurring 1 on die = 1/6
f ocurring 2 on die = 1/6
f ocurring 3 on die = 1/6
f ocurring 4 on die = 1/6
f ocurring 5 on die = 1/6
f ocurring 6 on die = 1/6

You might also like