Grubbs Test - Explained With Examples - All Things Statistics
Grubbs Test - Explained With Examples - All Things Statistics
INFERENTIAL STATISTICS
Grubbs test
ADMIN JULY 14, 2021
Now Playing
Grubbs test (also called the Maximum Normed Residual Test) is a test used to find outliers in a
given set of data. It can detect whether the smallest value or the largest value in the given set
of data is an outlier or not.
Note that the Grubbs’ test detects the presence of outliers one at a time. So if you want to test
whether two of the smallest values are outliers, you will need to run the test twice.
Also, this test can only be applied if the data is normally distributed since the Grubbs’ test
statistic formula is obtained under the assumption that the data is drawn from a normal
population.
Here, X can be taken to either be the smallest value or the largest value.
2. Decide which value (lowest or highest) you want to test for being an outlier.
3. Calculate the value of the Grubbs test statistic (denoted as G) using the Grubbs test statistic
formula given above.
4. Find the critical table value for the given level of significance. You can find critical table
values for the Grubbs test here.
5. If the value of the Grubbs test statistic exceeds the critical table value we conclude that the
given data point is an outlier.
6. If the value of the Grubbs test statistic is less than the critical table value we conclude that
the given data point is not an outlier.
Example 1:
Check whether the smallest value in the given set of data is an outlier (Take the level of
significance α = 5%).
Solution: Step 1: We obtain the mean and standard deviation of the data as,
Mean= 10.33
G = |4 – 10.33|/3.78 = 1.67
Step 3: From here we see that the critical table value for n=6 is,
Step 4: Since the test statistic is less than the critical value we conclude that the smallest
value is not an outlier.
Example 2:
Check whether the largest value in the given set of data is an outlier. Take the level of
significance α = 5%
Solution: Step 1: We obtain the mean and standard deviation of the data as,
Mean= 16.43
Step 3: From here we see that the critical table value for n=7 is,
Step 4: Since the test statistic exceeds the critical value we conclude that the largest value is
an outlier.
1. The 1.5 IQR rule uses the inter-quartile range to detect outliers.