You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
The chi-squared (χ2) goodness of fit test is used to determine whether observed data follow a particular theoretical distribution. This is a key hypothesis testing technique in Further Statistics.
You have observed frequencies Oi from an experiment or survey, and expected frequencies Ei from a theoretical model (e.g., uniform, binomial, Poisson, normal). The test asks: are the differences between observed and expected frequencies larger than what we would expect from random variation alone?
X2=∑iEi(Oi−Ei)2
This statistic measures the overall discrepancy between observed and expected. Under the null hypothesis, X2 approximately follows a chi-squared distribution with ν degrees of freedom.
ν=(number of classes)−1−(number of estimated parameters)
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.