You are conducting a test of independence for the claim that there is an association between the row variable and the column variable.
X | Y | Z | |
---|---|---|---|
A | 30 | 34 | 21 |
B | 40 | 35 | 21 |
What is the chi-square test-statistic for this data?
Applying chi square test of independence: |
Expected | Ei=row total*column total/grand total | X | Y | Z | Total |
A | 32.8729 | 32.4033 | 19.7238 | 85.00 | |
B | 37.1271 | 36.5967 | 22.2762 | 96.00 | |
total | 70.00 | 69.00 | 42.00 | 181.00 | |
chi square χ2 | =(Oi-Ei)2/Ei | X | Y | Z | Total |
A | 0.251 | 0.079 | 0.083 | 0.4123 | |
B | 0.222 | 0.070 | 0.073 | 0.3651 | |
total | 0.4734 | 0.1483 | 0.1557 | 0.777 | |
Chi square test statistic X2 = | 0.7774 |
Get Answers For Free
Most questions answered within 1 hours.