Chi Square Decision Bench
Is the gap chance, or is the hypothesis wrong?
State the null hypothesis as a ratio (for example 3:1). Multiply the total by each expected fraction to get E, keeping decimals. For each class compute (O − E)2/E and add: that sum is χ2.
Degrees of freedom = number of classes − 1, never the number of offspring. Compare χ2 with the critical value at P = 0.05: 3.841 (df 1), 5.991 (df 2), 7.815 (df 3), 9.488 (df 4).
If χ2 is larger, reject: chance alone would make a deviation this large less than 5 percent of the time. If smaller, fail to reject; that is not proof the hypothesis is true.
Always use raw counts: 60:40 out of 100 gives χ2 = 4.0, but 6:4 out of 10 gives 0.4. Expected numbers should be at least about 5 in every class.
Hypothesis and counts
Working table
| Class | O | E | (O−E)2/E |
|---|
Same percentages, different sample size. Watch χ2 change.
The chi square distribution
| df | P 0.95 | 0.50 | 0.10 | 0.05 | 0.01 |
|---|
Unlimited practice
New questions keep coming, each with an explained answer. Use the number keys to answer and N for the next question.