Determine a the x2 test statistic b the degrees of freedom c
Determine (a) the x2 test statistic, (b) the degrees of freedom, (c) the critical value using a= 0.05, and (d) test the hypothesis at the a= 0.05 level of significance.
Ho: The random variable X is binomical with n= 4, p= 0.8
H1: The random variable X is not binomial with n= 4, p= 0.
Answer (a) thru (d)
| Outcome | Observed | Expected |
| 0 | 1 | 1.6 |
| 1 | 35 | 25.3 |
| 2 | 122 | 152.1 |
| 3 | 441 | 405.5 |
| 4 | 391 | 405.5 |
Solution
a)
Chi square test static = sigma (Observed -Expexted)^2/Expected
= ( (1-1.6)^2/1.6 + (35-25.3)^2/25.3 + (122-152.1)^2/152.1 + (441-405.5)^2/405.5 + (391-405.5)^2/405.5 )
= 13.53
b)
Degrees of freedom = 5-1 =4
c)
Chi square test static = 13.53
dF=4
a=0.05
Therefore,
Critical Value = 0.008957
d)
Since 0.008957 < 0.05
We will reject null hypothesis.
