Grubbs’ Test

Global Algorithm - One-Dimensional Algorithm

Grubbs’ test algorithm calculates the ratio of the deviation of each data point from the mean of the data set to the standard deviation of the data set. The basic formula is as follows:

G=max|(Yiμ)|σ

where G is the Grubbs’ test statistic, Yi is the ith component of Y, μ is the mean value, and σ is the standard deviation of the data set. If

G>Gtable,

then the data point can be considered outside the region of interest. Gtable includes literature values for a certain significance level.

Input Parameters

Parameter Type Constraint Description Remarks
Y YRN NN Input data sequence of length N Not effective for a data vector with less than 6 constituents.
μ μR   Mean distribution of Y  
σ σR   Standard deviation of Y  
Gtable     Grubbs’ test values from literature  

Output Parameters

Parameter Type Constraint Description Remarks
ˆY ˆYRN   Values in the Y list which are outside the region of interest are marked  

Single Steps using the Algorithm

References

  • F. Grubbs, Procedures for Detecting Outlying Observations in Samples, Technometrics, vol. 11(1), pp. 1-21, 1969.