Testing Normal Models Using Chi-Square Goodness-of-Fit
Apply the chi-square goodness-of-fit test to assess whether sample data come from a normal distribution: bin the data, compute expected frequencies from the normal CDF, calculate the chi-square statistic, determine degrees of freedom (adjusting when parameters are estimated), and decide whether to reject the null hypothesis.
Tutorial
Expected Frequencies Under a Normal Model
The chi-square goodness-of-fit test can be used to test whether a sample comes from a specified normal distribution . Since the normal distribution is continuous, we first partition the real line into non-overlapping bins and convert the data into bin counts.
Under , the probability that an observation falls in bin is
where is the standard normal CDF. The expected count in bin is
For instance, suppose and . For the bin ,
so .