the expected frequency for each category is computed here as:
Ei = pi *1200
The chi square test statistic controbution for each category here is computed as:
O_i | E_i | (O_i - E_i)^2/E_i | |
Democrats | 540 | 576 | 2.25 |
Republicans | 480 | 456 | 1.263157895 |
Independent | 40 | 48 | 1.333333333 |
Undecided | 140 | 120 | 3.333333333 |
1200 | 1200 | 8.179824561 |
Therefore the chi square test statistic from the above table is computed here as:
For n - 1 = 3 degrees of freedom, the p-value here is computed from the chi square distribution tables as:
As the given p-value here is 0.04 < 0.05 which is the level of significance, therefore the test is significance here and we can reject the null hypothesis here and conclude that we have sufficient evidence that proportion of voters has changed.
Get Answers For Free
Most questions answered within 1 hours.