Multiple Comparisons and Outliers

Rosner's Generalized ESD Test Table: Critical Values for Detecting Several Outliers

Critical values λᵢ for the generalized extreme studentized deviate (ESD) test, which detects up to r outliers in a normally distributed sample without having to guess how many there are.

  • n = 15 to 500
  • Up to 10 outliers
  • α = 0.05 and 0.01
  • Test your data

Rosner's Generalized ESD Table

Jump to an overall significance level below. Rows: sample size n · Columns: test number i · Cells: critical value λi. Compare Ri with λi; the number of outliers is the largest i with Ri > λi.

Overall α = 0.05

Overall α = 0.05
Test number (i) →
Sample size (n) ↓
i = 1i = 2i = 3i = 4i = 5i = 6i = 7i = 8i = 9i = 10
152.54832.50732.46202.41162.35472.29002.21502.12662.02001.8871
202.70822.68092.65162.62002.58572.54832.50732.46202.41162.3547
252.82172.80162.78032.75772.73382.70822.68092.65162.62002.5857
302.90852.89272.87622.85892.84082.82172.80162.78032.75772.7338
352.97822.96532.95192.93802.92362.90852.89272.87622.85892.8408
403.03613.02533.01413.00262.99062.97822.96532.95192.93802.9236
453.08543.07613.06663.05673.04663.03613.02533.01413.00262.9906
503.12823.12013.11183.10323.09453.08543.07613.06663.05673.0466
603.19973.19323.18663.17993.17303.16603.15883.15143.14393.1362
703.25763.25233.24693.24133.23573.23003.22423.21823.21223.2060
803.30613.30163.29703.29243.28773.28293.27803.27303.26803.2628
903.34773.34383.33993.33593.33183.32773.32353.31923.31493.3106
1003.38413.38073.37723.37373.37013.36653.36283.35913.35543.3516
1503.51703.51493.51283.51063.50853.50633.50413.50193.49963.4974
2003.60553.60403.60253.60103.59943.59793.59643.59483.59323.5916
3003.72363.72263.72173.72073.71983.71883.71783.71693.71593.7149
5003.86313.86263.86213.86153.86103.86053.85993.85943.85893.8583

Overall α = 0.01

Overall α = 0.01
Test number (i) →
Sample size (n) ↓
i = 1i = 2i = 3i = 4i = 5i = 6i = 7i = 8i = 9i = 10
152.80612.75542.69902.63572.56412.48212.38682.27442.13911.9728
203.00082.96802.93252.89402.85212.80612.75542.69902.63572.5641
253.13533.11173.08663.05993.03143.00082.96802.93252.89402.8521
303.23613.21793.19893.17883.15773.13533.11173.08663.05993.0314
353.31563.30103.28583.27003.25343.23613.21793.19893.17883.1577
403.38073.36863.35613.34313.32963.31563.30103.28583.27003.2534
453.43543.42523.41463.40373.39243.38073.36863.35613.34313.3296
503.48253.47363.46453.45513.44543.43543.42523.41463.40373.3924
603.55983.55293.54583.53863.53113.52353.51573.50773.49953.4911
703.62173.61613.61033.60443.59853.59243.58613.57983.57333.5666
803.67293.66823.66333.65853.65353.64843.64333.63803.63273.6272
903.71643.71233.70823.70403.69983.69553.69113.68663.68213.6775
1003.75403.75053.74693.74323.73963.73583.73203.72823.72433.7204
1503.88943.88723.88513.88293.88083.87863.87633.87413.87193.8696
2003.97773.97623.97473.97323.97163.97013.96863.96703.96553.9639
3004.09354.09264.09174.09084.08984.08894.08804.08704.08614.0851
5004.22834.22784.22734.22684.22634.22584.22534.22474.22424.2237

Tip: click any value to highlight its row and column.

How to read this table

  1. Choose r, an upper limit on the number of suspected outliers. It is better to choose r too large than too small.
  2. For i = 1, 2, …, r: compute the mean and SD of the current sample, find the value farthest from the mean, and compute Ri = max|x − x̄| / s. Then remove that value and repeat on the smaller sample.
  3. Find the row for the original sample size n and the column for test number i. That cell is λi.
  4. The number of outliers is the largest i for which Ri > λi. All values removed up to and including step i are outliers.

Worked example

Twenty-five assay results (listed in the calculator below) are screened for up to r = 4 outliers at an overall α = 0.05. Each step removes the value farthest from the current mean and standard deviation: step 1 removes 13.4 with R1 = 3.287; step 2 removes 12.8 with R2 = 3.729; step 3 removes 11.9 with R3 = 4.163; step 4 removes 10.4 with R4 = 1.976.

The critical values come from the n = 25 row of the α = 0.05 table: λ1 = 2.8217, λ2 = 2.8016, λ3 = 2.7803, λ4 = 2.7577. The test uses the largest i with Ri > λi, here i = 3, so the 3 most extreme values (13.4, 12.8, 11.9) are outliers. Do not stop at the first step that fails to exceed its limit: an earlier R can fall below its limit while a later R exceeds its own.

Click the underlined links to highlight the value in the table.

Calculator

Paste your data, set r and the overall α. For sample sizes between the rows of the table.

Formula and how the values were computed

λi = (n − i) · tp, n−i−1 / √[(n − i − 1 + tp, n−i−1²)(n − i + 1)]  ·  p = 1 − α / [2(n − i + 1)]

Values use Rosner's exact expression (Rosner, 1983), where tp, ν is the p-th percentile of Student's t with ν df. For i = 1 the formula is identical to the two-sided Grubbs' critical value, so the first column of this table agrees with the two-sided columns of the Grubbs' test table. The test is generally recommended for samples of about 25 or more values; smaller sample sizes are included for completeness.

Frequently asked questions

What is the difference between Rosner's test and Grubbs' test?

Grubbs' test checks for one outlier. Applying it repeatedly can miss outliers that hide each other (masking). The generalized ESD test checks for up to r outliers in one procedure, with the overall false-positive rate held at α.

How do I choose r?

Choose the largest number of outliers you think is plausible, not the number you expect. If r is larger than needed, the test still finds only the real outliers, because the answer is the largest i whose R exceeds its limit.

Why does the table start at n = 15?

Very small samples have too few degrees of freedom left once outliers are removed, and the test is generally recommended for about 25 or more values. Rows from n = 15 are included; use the calculator for other sample sizes, or Dixon's Q test for very small samples.

Does the data need to be normal?

Yes. The test assumes the data apart from the outliers come from a normal distribution. Check normality on the data with the suspected outliers removed.

Related calculators and tutorials