|
GRUBBS TESTName:
Grubbs test detects one outlier at a time. For multiple outliers, delete the single outlier detected and run the Grubbs test. Repeat this process until no outliers are detected. More formally, the Grubbs test can be defined as follows.
Note that the above is actually a combination of the following two tests:
To generate these one-sided tests, the test statistic is
or
The significance level in the TPPF function needs to be doubled for the one-sided tests. You can request that one of the one-sided tests be performed (see the Syntax section). Generally, graphical methods such as the box plot or histogram are used to detect outliers. However, the Grubbs test can be used if you prefer a more formal test.
where <y> is the response variable being tested; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax performs the two-sided test.
where <y> is the response variable being tested; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax performs the one-sided test for the minimum value.
where <y> is the response variable being tested; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax performs the one-sided test for the maximum value.
GRUBBS TEST Y1 SUBSET TAG > 2 GRUBBS MINIMUM TEST Y1 GRUBBS MAXIMUM TEST Y1
READ VANGEL31.DAT Y GRUBBS TEST Y
The following output is generated:
Date created: 6/5/2001 |