3. Extreme Value Test

Grubbs' test to detect extreme values (outliers) in the measurements or in group means.

The Extreme Value Test uses Grubbs' test to check whether there are extreme values (outliers) in a sample. With a category column, the test is applied to the means of each category (for example, laboratories or operators), as in interlaboratory comparisons.

Input fields

Field Description
Measurements Numeric column with the results.
Category Column with the groups (laboratories, operators, etc.). If left as None, the test is applied to the individual measurements.
Significance level Level of the test. The default is 0.05.

Details

The Grubbs statistic for each value $x_i$ is

$$Z_i = \frac{\left| x_i - \bar{x} \right|}{s}$$

where $\bar{x}$ and $s$ are the sample mean and standard deviation. The most distant value is considered extreme when $Z$ exceeds the Grubbs critical value, which depends on the sample size and the significance level. The test assumes that the data come from a normal distribution.

Example: net effective engine power

The net effective power of an engine, in kilowatts (kW), was measured by eight operators, under the same conditions, at 1200 rpm. We want to know whether any operator has an outlying mean.

The data are in the columns Codigo (operator) and Potencia. Load the example Metrologia — valor extremo potencia motor in Data upload › Examples.

Engine power data

Open Metrology › Laboratory Comparison › Extreme Value Test and fill in:

  1. Measurements: Potencia; Category: Codigo.
  2. Significance level: 0.05.
  3. Click Calculate.

Extreme Value Test settings

Results

Outlier Test Summary

Value
Mean without outliers 8.7808
Standard deviation without outliers 0.1255
Mean 8.7808
Standard deviation 0.1255
Significance level 0.05
Critical Value 2.1266

Outlier Test Table

Code Mean Z P-value Status
1 8.862 0.6473 1 ok
2 8.6171 1.3048 0.7175 ok
3 8.7944 0.1088 1 ok
4 8.8444 0.5075 1 ok
5 8.897 0.9265 1 ok
6 8.925 1.1496 0.9849 ok
7 8.6 1.4409 0.5198 ok
8 8.7063 0.594 1 ok

Interpretation

  • The largest value of $Z$ is 1.44 (operator 7), below the critical value of 2.13. No mean is extreme: all have status ok.
  • Since there are no outliers, the mean and standard deviation with and without outliers are the same (8.7808 kW and 0.1255 kW).
  • If an operator were identified as extreme, the summary would show the mean and standard deviation recomputed without it.

References

  • F. E. Grubbs (1969). Procedures for Detecting Outlying Observations in Samples. Technometrics, 11(1), 1–21.