Supriya Ghosh (Editor)

Grubbs' test for outliers

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Grubbs' test (named after Frank E. Grubbs, who published the test in 1950), also known as the maximum normed residual test or extreme studentized deviate test, is a statistical test used to detect outliers in a univariate data set assumed to come from a normally distributed population.

Contents

Definition

Grubbs' test is based on the assumption of normality. That is, one should first verify that the data can be reasonably approximated by a normal distribution before applying the Grubbs' test.

Grubbs' test detects one outlier at a time. This outlier is expunged from the dataset and the test is iterated until no outliers are detected. However, multiple iterations change the probabilities of detection, and the test should not be used for sample sizes of six or fewer since it frequently tags most of the points as outliers.

Grubbs' test is defined for the hypothesis:

H0: There are no outliers in the data set Ha: There is at least one outlier in the data set

The Grubbs' test statistic is defined as:

G = max i = 1 , , N | Y i Y ¯ | s

with Y ¯ and s denoting the sample mean and standard deviation, respectively. The Grubbs test statistic is the largest absolute deviation from the sample mean in units of the sample standard deviation.

This is the two-sided version of the test. The Grubbs test can also be defined as a one-sided test. To test whether the minimum value is an outlier, the test statistic is

G = Y ¯ Y min s

with Ymin denoting the minimum value. To test whether the maximum value is an outlier, the test statistic is

G = Y max Y ¯ s

with Ymax denoting the maximum value.

For the two-sided test, the hypothesis of no outliers is rejected at significance level α if

G > N 1 N t α / ( 2 N ) , N 2 2 N 2 + t α / ( 2 N ) , N 2 2

with tα/(2N),N−2 denoting the upper critical value of the t-distribution with N − 2 degrees of freedom and a significance level of α/(2N). For the one-sided tests, replace α/(2N) with α/N.

Several graphical techniques can, and should, be used to detect outliers. A simple run sequence plot, a box plot, or a histogram should show any obviously outlying points. A normal probability plot may also be useful.

References

Grubbs' test for outliers Wikipedia


Similar Topics