Loading…
STA 112 lesson
Explain and apply work with category counts.
Source note: flagged. Uncertain or incomplete source text was not invented.
STA112-T30-L01; Source: S55, S63-65 | Course topic 19
Goodness of fit compares one categorical variable with specified probabilities pi, using expected counts Ei=npi. The statistic is χ²=∑(Oi-Ei)²/Ei. If k category probabilities are fully specified, df=k-1; subtract further degrees of freedom for parameters estimated from these same data. Observations should be independent and categories mutually exclusive. For the elementary chi-square approximation here, use expected counts at least 5.