Null Hypothesis (Uniform)
Expected Candy Distribution
Assume a candy company claims exactly $20\%$ per color (Red, Blue, Green, Yellow, Orange).
Total samples: $N = 100$.
Observed Deviation ($O$)
TEST METRICS ($df = 4$)
Total Error $\chi^2$: 0.00
P-Value: 1.000
VERDICT ($a = 0.05$)
FAIL TO REJECT H₀
Random Chance: When all observed counts perfectly match expectations ($O=20$), the $\chi^2$ value is exactly 0. Try sliding the observed counts away from 20 to see the massive squared penalties stack up!