Chi-square goodness-of-fit test — setup.
mediumAnswer
- Tests whether observed frequencies match an expected distribution: , df = k - 1 - (parameters estimated).
- Uses: is a die fair?
- Does a dataset follow Poisson?
- Requires ≥ 5 (aggregate small buckets).
- Modern alternatives: G-test (likelihood ratio), Kolmogorov-Smirnov (continuous), Anderson-Darling (heavier weight on tails).
Check yourself — multiple choice
- Only for continuous data
- test that observed frequencies match expected; df = k - 1 - #params estimated; ≥ 5 needed
- Same as independence
- Requires normality
Goodness-of-fit : O vs E frequencies; adjust df for estimated params.
#hypothesis-testing#parametric-tests
Practise Statistics Fundamentals
215 interview questions in this topic.