Is this conspicuous value really unusual? (outlier tests: Grubbs, generalized ESD, Dixon)
In brief
An outlier test asks whether a conspicuous value would be unusual with a normal distribution. It does not say whether the value is an error. The case stays in the data; Statable removes nothing. Anyone who wants to exclude cases uses the data assistant "Selection" for that (reversible).
When
- Grubbs test: one suspect value, from 7 values. Generalized ESD test (after Rosner): up to k suspect values, from 25 values, at most 10 and at most one fifth of the values. Dixon test: one suspect value with 3 to 10 values.
- The values should be approximately normally distributed without the outliers.
How it works in Statable
- Run the card "How is something distributed?" with the number column. Under the result open the section "More options: check for outliers" and switch on "Check for outliers".
- With several number columns choose "Which column?". Then the test (Grubbs, generalized ESD or Dixon; unsuitable ones are greyed out) and the level (0.10, 0.05 or 0.01).
- With the Grubbs test the direction: two-sided (default), only too high or only too low values. One-sided is only allowed if the direction was fixed before looking at the data. With the ESD test "Look for at most this many outliers".
Reading the result
- A sentence says whether a value stands out and in which row it is. The table gives for each test the level, the test statistic, the critical value, the reported rows and the mean and standard deviation with and without these values.
- With several suspects the generalized ESD test shows more than the Grubbs test, which can be fooled by a second large value (masking).
What is often misunderstood
- An unusual value can be the most interesting one. The test only says that it would be rare with a normal distribution.
- Applying the Grubbs test several times in a row is not a test: the error rate for the number of reported values is then not controlled. Anyone who tests several columns in a row will more often get a finding that is only chance.
- The data check uses a rule (2.2 · IQR) and looks for typos; a test asks about the normal distribution. Both can say different things.
Reporting the result
Report: the test (Grubbs, generalized ESD or Dixon), the level, whether it was one- or two-sided (one-sided only with a reason fixed before looking at the data), the test statistic with the critical value, the row of the reported value and, most important, what was done with it. Also: the results with and without the value side by side and, for ESD, the maximum number of outliers fixed in advance. The tests assume roughly normally distributed values (Grubbs 1969, Technometrics 11, 1-21).
An outlier test by [Grubbs/Dixon/generalized ESD] (α = …, [two-sided]) examined the value … (row …): [G/r₁₀/R_i] = …, critical value = …; the value [stood out/did not stand out]. It stayed in the data. Results with and without it: M = … (SD = …) versus M = … (SD = …).
For specialists
The critical values of Grubbs and ESD follow from the t distribution, without a table. The critical value of the Dixon test r10 for n = 3 to 10 is calculated exactly (two-dimensional integration, confirmed by simulation) and differs in the third digit from the copied table in Rorabacher. Tietjen-Moore and the modified z score are not built.
Sources
Grubbs, F. E. (1950). Sample criteria for testing outlying observations. Annals of Mathematical Statistics, 21, 27-58. Rosner, B. (1983). Percentage points for a generalized ESD many-outlier procedure. Technometrics, 25, 165-172. Dixon, W. J. (1950). Analysis of extreme values. Annals of Mathematical Statistics, 21, 488-506. Rorabacher, D. B. (1991). Statistical treatment for rejection of deviant values. Analytical Chemistry, 63, 139-146.