Introduction
Normality matters because many parametric methods, including the t-test and confidence intervals based on the mean, assume it. Knowing how to test for it, and when a test is or is not appropriate, is a core skill in an oral answer.
Why normality is checked
Many classical methods assume that the variable, or the residuals of a model, are approximately normal in the population. Checking this guides both the choice of summary measures and the choice of inferential test. The check concerns the population distribution, so a sample never shows perfect normality, and visual inspection should always accompany any formal test.
- Normality is an assumption about the population, not a property the sample must display perfectly.
- Histograms, box plots and Q-Q plots are the first step; a formal test supplements them.
- Skewness and kurtosis (topic 21) give a quick numerical sense of departure from normality.
Kolmogorov-Smirnov test
The Kolmogorov-Smirnov (K-S) test compares the empirical cumulative distribution function of the sample with the cumulative distribution function of a reference distribution. The test statistic D is the largest vertical distance between the two curves. For normality, the reference is the normal distribution with the stated or estimated mean and standard deviation.
- State the hypotheses: H0 - the sample comes from a normal distribution; H1 - it does not.
- Order the observations and compute the empirical cumulative proportion at each value.
- Compute the theoretical normal cumulative probability at each value, using the mean and standard deviation.
- Find D as the maximum absolute difference between the two cumulative distributions.
- Obtain the p-value, or compare D with the critical value, and decide at the chosen significance level, usually 0.05.
A key point for the exam: when the mean and standard deviation are estimated from the same sample, the classical K-S critical values are too lenient, so the Lilliefors correction must be used. Many software programs apply it automatically when the normal parameters are taken from the data.
- The test applies to one continuous variable at a time, ideally measured on at least an interval scale.
- For a large sample with known parameters, the approximate 5% critical value of D is 1.36 divided by the square root of n.
- The test is most sensitive to differences near the centre of the distribution and less sensitive in the tails.