Dealing With Non‐normal Data
Kristin Lynn Sainani · PM&R · 2012
Although some continuous variables follow a normal, or bell-shaped, distribution, many do not. Non-normal distributions may lack symmetry, may have extreme values, or may have a flatter or steeper "dome" than a typical bell. There is nothing inherently wrong with non-normal data; some traits simply do not follow a bell curve. For example, data about coffee and alcohol consumption are rarely bell shaped. Instead, these follow a right-skewed distribution: they have a cluster of values at zero (nonconsumers), another bunch in the low-to-moderate range, and a few extreme values to the right (heavy consumers). Researchers need to be aware of whether their variables follow normal or non-normal distributions, because this influences how data are described and analyzed. Non-normal variables, particularly those with extreme right or left tails, may be better summarized (described) with medians and percentiles rather than means and standard deviations. Standard statistical tests for analyzing continuous data (t-test, analysis of variance [ANOVA], linear regression) may also perform poorly on non-normal data but only if the sample size is small. In these cases, alternative statistical approaches may be warranted. This article reviews how to spot, describe, and analyze non-normal data, and clarifies when the "normality assumption" matters and when it is unimportant. Researchers should always plot the distributions of their variables. Just looking at a simple histogram ("eye-balling" it) will usually reveal whether or not a given variable is normally distributed (follows a bell curve), is skewed (has a left or right tail), or otherwise deviates from a bell shape (eg, is flat). For example, histograms for 2 hypothetical variables, 1 with a heavy right skew (right tail) and 1 with a bell curve, are shown in Figure 1. A normal probability plot (or Q-Q plot) can also help assess normality; if a variable is normally distributed, then this plot will approximate a straight line (Figure 2). Histograms of a right-skewed variable and a normally distributed variable (both variables are computer generated). (A) Right-skewed data (N = 30). (B) Normally distributed data (N = 30). Normal probability plots of a right-skewed variable and a normally distributed variable. When the data follow a normal distribution, the normal probability plot will approximate a straight line. (A) Normal probability plot (skewed distribution). (B) Normal probability plot (normal distribution). Researchers may also apply formal tests of normality, such as the Shapiro-Wilk test or the Kolmogorov-Smirnov test. The null hypothesis for these tests is that the variable follows a normal distribution; thus, small P values give evidence against normality. For example, running the Shapiro-Wilk test on the hypothetical variable from Figures 1B and 2B gives a P value of .80, which indicates concordance with normality; whereas running this test on the skewed variable (Figures 1A and 2A) gives a P value of .001, which indicates a violation of normality. Formal normality tests are highly sensitive to sample size: very large samples may pick up unimportant deviations from normality, and very small samples may miss important deviations. Thus, these tests are optional and should always be interpreted alongside histograms and normality plots. Histograms of the hypothetical weight-loss data from the Diet A and Diet B groups. (A) Diet A (N = 10). (B) Diet B (N = 10). The raw data and plot reveal that 1 individual in Diet A was highly successful (losing 300 lb!), but that, overall, the dieters in Diet B fared better. The mean for Diet A is misleading, because it is completely driven by a single extreme value. When faced with such an "outlier," researchers are often tempted to simply throw away the data point. This is a mistake. If the data point is real (not simply a data recording or entry error), then it contains important information that should not be discarded. If 1 person truly lost 300 lb on Diet A, then it is possible that Diet A is highly effective for some people. Rather than ignoring this information, researchers can use statistical approaches that are not overly influenced by extreme values. In this case, the median would be a better summary measure than the mean. The median is the middle-most value (or the average of the 2 middle-most values). The median weight change in Diet A is −4.5 lb, which means that 5 people lost fewer than 4.5 lb (+4, +3, 0, −3, and −4 lb), and 5 people lost more than this (−5, −11, −14, −15, and −300 lb). The median in Diet B is −19.0 lb (Table 1), which reflects the greater overall success in this group. Medians are not influenced by extreme values; the median would remain unchanged regardless of whether the most successful dieter in Diet A lost 300, 100, or 30 lb. Similar to the mean, the standard deviation in Diet A is highly influenced by the extreme value and does not reflect the experience of the majority. Nine of the 10 participants in Diet A had weight losses that were within 20 lb of each other, but the standard deviation, 93.5 lb, suggests much higher variability. Thus, for highly skewed data, it is preferable to report the interquartile range as a measure of variability. The interquartile range gives the middle 50% of the data, so is not influenced by extreme values (or by right or left tails). The interquartile range is 14 lb wide for Diet A and 12 lb wide for Diet B (Table 1), which suggests that the variability in weight loss is similar in the 2 groups for the bulk of participants. Many researchers are aware that a certain family of statistical tests, called linear models, which include the t-test, ANOVA, and linear regression, have a "normality assumption." These tests are said to be appropriate only when the outcome (dependent) variable is normally distributed. In fact, this assumption is critical for small samples but is irrelevant above a certain sample size. Linear models make inferences about means;
Cited by 189 works. doi:10.1016/j.pmrj.2012.10.013