VerifyKit sample-size calculator: reference-value check report
109 / 109published reference values matched
1documented discrepancy (shown, not counted as a pass)
225 + 225grid points (one- and two-sided k) cross-checked
3.0e-12 / 1.0e-12worst confidence error, one- / two-sided
96 / 96attribute n confirmed by direct binomial sums
How to use this report. It documents that the calculator's methods reproduce published values and that its exact methods behave as intended in independent checks and simulations. It can support your own validation of the tool for its intended use, but it does not replace that validation. The self-test page reruns every reference case in your browser and prints the results with the SHA-256 of
stats.js. Templates are in validation-kit/.1. Comparison with published reference values
R is reliability (coverage proportion) and C is confidence. "exact" means the integers must match exactly. Other cases are compared within half a unit of the last published digit, plus 1e-9 to allow for a value that sits exactly on a rounding boundary. Where the source rounds in a known way, that rounding is applied first. Datasets for the normality and outlier cases are the public R example datasets (mtcars, ToothGrowth, airquality, iris) and the NIST uranium isotope example, embedded in reference-data.js.
| ID | Method | Inputs | Published | VerifyKit | |diff| | Tolerance | Result | Source | Notes |
|---|---|---|---|---|---|---|---|---|---|
| SR-1 | Success-run (zero failures), n | R = 0.9, C = 0.9 | 22 | 22 | 0.0e+0 | exact | PASS | CLOSED_FORM | ln(0.10)/ln(0.90) = 21.85 -> 22 |
| SR-2 | Success-run (zero failures), n | R = 0.9, C = 0.95 | 29 | 29 | 0.0e+0 | exact | PASS | CLOSED_FORM | Spec "95/90" = 95 % confidence, 90 % reliability. ln(0.05)/ln(0.90) = 28.43 -> 29 |
| SR-3 | Success-run (zero failures), n | R = 0.95, C = 0.95 | 59 | 59 | 0.0e+0 | exact | PASS | ENVSTATS_NP | Identical formula to a one-sided distribution-free limit; EnvStats tolIntNparN(coverage=0.95, conf.level=0.95, ti.type="upper") prints 59 |
| SR-4 | Success-run (zero failures), n | R = 0.99, C = 0.95 | 299 | 299 | 0.0e+0 | exact | PASS | CLOSED_FORM | Spec "99/95" = 99 % reliability, 95 % confidence. ln(0.05)/ln(0.99) = 298.07 -> 299 |
| AT-0 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 0 | 59 | 59 | 0.0e+0 | exact | PASS | ENVSTATS_NP | c = 0 reduces to the success-run case |
| AT-1 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 1 | 93 | 93 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(ltl.rank=1) prints 93 (u + w - 1 = 1 failure allowed) |
| AT-2 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 2 | 124 | 124 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(ltl.rank=2) prints 124 |
| AT-3 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 3 | 153 | 153 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(ltl.rank=3) prints 153 |
| AT-4 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 4 | 181 | 181 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(ltl.rank=4) prints 181 |
| AT-5 | Attribute with c failures, n | R = 0.95, C = 0.95, c = 5 | 208 | 208 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(ltl.rank=5) prints 208 |
| BIN-1 | Exact binomial upper limit | x = 4, n = 20, C = 0.95 | 0.401029 | 0.40102812 | 8.8e-7 | 0.000001 | PASS | NIST_BIN | Example: 4 defects in 20, 90 % two-sided exact interval (= one-sided 95 % limits). NIST prints pu = 0.401029; direct binomial summation puts the root at 0.4010281, so the NIST 6th digit is 1 high |
| BIN-2 | Exact binomial lower limit | x = 4, n = 20, C = 0.95 | 0.071354 | 0.071353884 | 1.2e-7 | 5e-7 | PASS | NIST_BIN | Same example, NIST prints pl = 0.071354 |
| NP-1 | Distribution-free tolerance, n | R = 0.95, C = 0.95, sided = 1 | 59 | 59 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(coverage=0.95, conf.level=0.95, ti.type="upper") |
| NP-2 | Distribution-free tolerance, n | R = 0.95, C = 0.95, sided = 2 | 93 | 93 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN() defaults: two-sided, min..max |
| NP-3 | Distribution-free tolerance, n | R = 0.5, C = 0.95, sided = 2 | 8 | 8 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(coverage = seq(0.5, 0.9, 0.1)) prints 8 10 14 22 46 |
| NP-4 | Distribution-free tolerance, n | R = 0.6, C = 0.95, sided = 2 | 10 | 10 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-5 | Distribution-free tolerance, n | R = 0.7, C = 0.95, sided = 2 | 14 | 14 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-6 | Distribution-free tolerance, n | R = 0.8, C = 0.95, sided = 2 | 22 | 22 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-7 | Distribution-free tolerance, n | R = 0.9, C = 0.95, sided = 2 | 46 | 46 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector; NIST 7.2.6.4 approximate formula also gives 46 |
| NP-8 | Distribution-free tolerance, n | R = 0.95, C = 0.5, sided = 2 | 34 | 34 | 0.0e+0 | exact | PASS | ENVSTATS_NP | tolIntNparN(conf.level = seq(0.5, 0.9, 0.1)) prints 34 40 49 59 77 |
| NP-9 | Distribution-free tolerance, n | R = 0.95, C = 0.6, sided = 2 | 40 | 40 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-10 | Distribution-free tolerance, n | R = 0.95, C = 0.7, sided = 2 | 49 | 49 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-11 | Distribution-free tolerance, n | R = 0.95, C = 0.8, sided = 2 | 59 | 59 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-12 | Distribution-free tolerance, n | R = 0.95, C = 0.9, sided = 2 | 77 | 77 | 0.0e+0 | exact | PASS | ENVSTATS_NP | same vector |
| NP-13 | Distribution-free n (vs NIST approximation) | R = 0.99, C = 0.95, sided = 2 | 473 | 473 | 0.0e+0 | 1 | PASS | NIST_NP | NIST gives 473 from an APPROXIMATE chi-square formula; exact n may differ by 1 |
| K1-1 | One-sided normal k (exact) | n = 10, R = 0.95, C = 0.95 | 2.911 | 2.9109634 | 3.7e-5 | 0.0005 | PASS | SPEC_TABLE | 3-decimal table value |
| K1-2 | One-sided normal k (exact) | n = 20, R = 0.95, C = 0.95 | 2.396 | 2.3960017 | 1.7e-6 | 0.0005 | PASS | SPEC_TABLE | 3-decimal table value |
| K1-3 | One-sided normal k (exact) | n = 30, R = 0.95, C = 0.95 | 2.22 | 2.2198375 | 1.6e-4 | 0.0005 | PASS | SPEC_TABLE | 3-decimal table value |
| K1-4 | One-sided normal k (exact) | n = 43, R = 0.9, C = 0.99 | 1.874 | 1.8739536 | 4.6e-5 | 0.00005 | PASS | NIST_TI | Worked example, non-central t method |
| K1-5 | One-sided normal k (exact) | n = 6, R = 0.9, C = 0.99 | 4.4111 | 4.4110806 | 1.9e-5 | 0.00005 | PASS | NIST_TI | Small-sample comparison, non-central t method |
| K1-6 | One-sided normal k (exact) | n = 20, R = 0.99, C = 0.9 | 3.051543 | 3.0515426 | 4.2e-7 | 0.000005 | PASS | ENVSTATS_K | tolIntNormK(n=20, ti.type="upper", coverage=0.99, conf.level=0.9) |
| K1-7 | One-sided normal k (exact) | n = 8, R = 0.95, C = 0.95 | 3.187294 | 3.1872936 | 4.3e-7 | 0.000005 | PASS | ENVSTATS_K | tolIntNormK(n=8, ti.type="upper") |
| K2-1 | Two-sided normal k (exact) | n = 2, R = 0.95, C = 0.95 | 36.519 | 36.519215 | 2.1e-4 | 0.0005 | PASS | SPC_ODEH | Odeh & Owen Table 3.4.1 |
| K2-2 | Two-sided normal k (exact) | n = 3, R = 0.95, C = 0.95 | 9.789 | 9.7887524 | 2.5e-4 | 0.0005 | PASS | SPC_ODEH | |
| K2-3 | Two-sided normal k (exact) | n = 4, R = 0.95, C = 0.95 | 6.341 | 6.3410826 | 8.3e-5 | 0.0005 | PASS | SPC_ODEH | |
| K2-4 | Two-sided normal k (exact) | n = 5, R = 0.95, C = 0.95 | 5.077 | 5.0768745 | 1.3e-4 | 0.0005 | PASS | SPC_ODEH | |
| K2-5 | Two-sided normal k (exact) | n = 6, R = 0.95, C = 0.95 | 4.422 | 4.4221504 | 1.5e-4 | 0.0005 | PASS | SPC_ODEH | |
| K2-6 | Two-sided normal k (exact) | n = 7, R = 0.95, C = 0.95 | 4.02 | 4.0195956 | 4.0e-4 | 0.0005 | PASS | SPC_ODEH | |
| K2-7 | Two-sided normal k (exact) | n = 8, R = 0.95, C = 0.95 | 3.7456 | 3.7455075 as published (ceil to 4 dp): 3.7456 |
0.0e+0 | 0.00005 | PASS | JANIGA | Odeh & Owen 3.746. Janiga values equal the exact factor rounded UP (conservatively) to 4 decimals, so the check is ceil(actual, 4 dp) == expected |
| K2-8 | Two-sided normal k (exact) | n = 9, R = 0.95, C = 0.95 | 3.5459 | 3.5458941 as published (ceil to 4 dp): 3.5459 |
0.0e+0 | 0.00005 | PASS | JANIGA | Odeh & Owen 3.546 |
| K2-9 | Two-sided normal k (exact) | n = 10, R = 0.95, C = 0.95 | 3.3935 | 3.3934295 as published (ceil to 4 dp): 3.3935 |
0.0e+0 | 0.00005 | PASS | JANIGA | Odeh & Owen 3.393. NOTE: the spec table value 3.379 is the Wald-Wolfowitz approximation (see WW-2) |
| K2-10 | Two-sided normal k (exact) | n = 20, R = 0.95, C = 0.95 | 2.760346 | 2.7603462 | 1.8e-7 | 0.000005 | PASS | ENVSTATS_K | tolIntNormK(n=20) exact method. Spec value 2.752 is an approximation (see WW-1, WW-3) |
| WW-2 | Two-sided k, Wald-Wolfowitz approximation | n = 10, R = 0.95, C = 0.95 | 3.379 | 3.3794418 | 4.4e-4 | 0.0005 | PASS | SPEC_TABLE | Spec value (classical table). Reproduced by the Wald-Wolfowitz approximation (3.3794), NOT by the exact method (3.3934) nor by Howe (3.3819) |
| WW-3 | Two-sided k, Wald-Wolfowitz approximation | n = 20, R = 0.95, C = 0.95 | 2.752 | 2.7517886 | 2.1e-4 | 0.0005 | PASS | SPEC_TABLE | Spec value; Wald-Wolfowitz approximation. Exact = 2.7603 (see K2-10) |
| WW-4 | Two-sided k, Wald-Wolfowitz approximation | n = 30, R = 0.95, C = 0.95 | 2.549 | 2.5494325 | 4.3e-4 | 0.0005 | PASS | SPEC_TABLE | Spec value; Wald-Wolfowitz approximation. Exact = 2.5549 (no published exact value found to cite) |
| HOWE-4 | Two-sided k, Howe approximation | n = 43, R = 0.9, C = 0.99 | 2.217 | 2.2173159 | 3.2e-4 | 0.0005 | PASS | NIST_TI | NIST worked example of the Howe formula |
| WW-1 | Two-sided k, Wald-Wolfowitz approximation | n = 20, R = 0.95, C = 0.95 | 2.751789 | 2.7517886 | 3.8e-7 | 0.000005 | PASS | ENVSTATS_K | tolIntNormK(n=20, method="wald") Wald-Wolfowitz approximation |
| D-1 | Chi-square quantile | p = 0.95, df = 4 | 9.488 | 9.487729 | 2.7e-4 | 0.0005 | PASS | NIST_NP | chi-square 0.95 quantile, 4 df, used in the NIST example |
| ISO-1 | One-sided normal k (exact) | n = 12, R = 0.95, C = 0.95 | 2.737 | 2.7363425 as published (ceil to 3 dp): 2.737 |
0.0e+0 | exact | PASS | ISO16269_2005 | Example 3, k3(12; 0.95; 0.95). The exact value is 2.73634, and the ISO value is that value rounded up to 3 decimals |
| ISO-2 | Two-sided normal k (exact) | n = 12, R = 0.9, C = 0.95 | 2.671 | 2.6702849 as published (ceil to 3 dp): 2.671 |
0.0e+0 | exact | PASS | ISO16269_2005 | Example 4, k4(12; 0.90; 0.95). The exact value is 2.67028, rounded up. The Wald-Wolfowitz approximation would give 2.655 |
| DP-0.9-0.5 | Two-sided k, Howe approximation | n = 195, R = 0.9, C = 0.5 | 1.6519 | 1.6519048 | 4.8e-6 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.9-0.95 | Two-sided k, Howe approximation | n = 195, R = 0.9, C = 0.95 | 1.8003 | 1.800293 | 7.0e-6 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.95-0.75 | Two-sided k, Howe approximation | n = 195, R = 0.95, C = 0.75 | 2.0378 | 2.0378414 | 4.1e-5 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.95-0.95 | Two-sided k, Howe approximation | n = 195, R = 0.95, C = 0.95 | 2.1452 | 2.1451815 | 1.9e-5 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.95-0.999 | Two-sided k, Howe approximation | n = 195, R = 0.95, C = 0.999 | 2.3233 | 2.3232852 | 1.5e-5 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.99-0.9 | Two-sided k, Howe approximation | n = 195, R = 0.99, C = 0.9 | 2.765 | 2.7650224 | 2.2e-5 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| DP-0.99-0.99 | Two-sided k, Howe approximation | n = 195, R = 0.99, C = 0.99 | 2.9258 | 2.9258062 | 6.2e-6 | 0.00005 | PASS | DATAPLOT_HOWE | Howe approximation (comparison only) |
| D-2 | Chi-square quantile | p = 0.025, df = 99 | 73.361 | 73.36108 | 8.0e-5 | 0.0005 | PASS | NIST_CHISQ_SD | lower 2.5 % point, 99 df |
| D-3 | Chi-square quantile | p = 0.975, df = 99 | 128.422 | 128.42199 | 1.1e-5 | 0.0005 | PASS | NIST_CHISQ_SD | upper 2.5 % point, 99 df |
| AD-1 | Anderson-Darling A2 | data = mtcars_mpg | 0.57968 | 0.57968071 | 7.1e-7 | 0.000005 | PASS | R_AD_MTCARS | nortest prints the unmodified A |
| AD-2 | Anderson-Darling p-value | data = mtcars_mpg | 0.1207 | 0.12073706 | 3.7e-5 | 0.00005 | PASS | R_AD_MTCARS | p-value branch 0.34 <= A* < 0.6 |
| AD-3 | Anderson-Darling A2 | data = iris_petal_width | 5.1057 | 5.105662 | 3.8e-5 | 0.00005 | PASS | R_AD_IRIS | |
| AD-4 | Anderson-Darling p-value | data = iris_petal_width | 1.125e-12 | 1.1248611e-12 | 1.4e-16 | 5e-16 | PASS | R_AD_IRIS | p-value branch A* >= 0.6 |
| AD-5 | Anderson-Darling A2 | data = iris_sepal_length | 0.889199 | 0.88919949 | 4.9e-7 | 5e-7 | PASS | METRICGATE_AD | |
| AD-6 | Anderson-Darling modified A*2 | data = iris_sepal_length | 0.893734 | 0.8937344 | 4.0e-7 | 5e-7 | PASS | METRICGATE_AD | modified A* = A(1 + 0.75/n + 2.25/n^2) |
| AD-7 | Anderson-Darling p-value | data = iris_sepal_length | 0.0225 | 0.022510515 | 1.1e-5 | 0.00005 | PASS | METRICGATE_AD | |
| SW-1W | Shapiro-Wilk W | data = mtcars_mpg | 0.9475647 | 0.94756473 | 2.6e-8 | 5e-8 | PASS | R_SW_HOWTO | n = 32 (n >= 12 branch). 7-digit values extracted from the result object |
| SW-1P | Shapiro-Wilk p-value | data = mtcars_mpg | 0.1228814 | 0.12288136 | 4.1e-8 | 5e-8 | PASS | R_SW_HOWTO | n = 32 (n >= 12 branch). 7-digit values extracted from the result object |
| SW-2W | Shapiro-Wilk W | data = mtcars_mpg_cyl4 | 0.91243 | 0.91243923 | 9.2e-6 | 0.000005 | DOCUMENTED DISCREPANCY | R_SW_HOWTO | n = 11 (small-sample branch). UNRESOLVED: our W is 0.9124392, which prints as 0.91244 at R's 5 significant digits, but the page prints 0.91243 (a difference of 9e-6). The p-value 0.2606 matches. No second source was found. Kept visible as a documented discrepancy |
| SW-2P | Shapiro-Wilk p-value | data = mtcars_mpg_cyl4 | 0.2606 | 0.26059308 | 6.9e-6 | 0.00005 | PASS | R_SW_HOWTO | n = 11 (small-sample branch) |
| SW-3W | Shapiro-Wilk W | data = mtcars_mpg_cyl6 | 0.89903 | 0.89903497 | 5.0e-6 | 0.000005 | PASS | R_SW_HOWTO | n = 7 (small-sample branch). The two r-statistics.co pages print different p-values for this W (0.3252 and 0.3278), so neither is used as a reference |
| SW-4W | Shapiro-Wilk W | data = iris_setosa_sl | 0.9776986 | 0.97769855 | 5.0e-8 | 5e-8 | PASS | R_SW_HOWTO | n = 50 |
| SW-4P | Shapiro-Wilk p-value | data = iris_setosa_sl | 0.4595132 | 0.45951315 | 4.8e-8 | 5e-8 | PASS | R_SW_HOWTO | n = 50 |
| SW-5W | Shapiro-Wilk W | data = toothgrowth_len | 0.96743 | 0.96742864 | 1.4e-6 | 0.000005 | PASS | R_SW_TOOTH | n = 60 |
| SW-5P | Shapiro-Wilk p-value | data = toothgrowth_len | 0.1091 | 0.10910049 | 4.9e-7 | 0.00005 | PASS | R_SW_TOOTH | n = 60 |
| SW-6W | Shapiro-Wilk W | data = mtcars_wt | 0.94326 | 0.94325772 | 2.3e-6 | 0.000005 | PASS | R_SW_NORMVAR | n = 32 |
| SW-6P | Shapiro-Wilk p-value | data = mtcars_wt | 0.09265 | 0.092654989 | 5.0e-6 | 0.000005 | PASS | R_SW_NORMVAR | n = 32 |
| SW-7W | Shapiro-Wilk W | data = airquality_temp | 0.97617 | 0.97617296 | 3.0e-6 | 0.000005 | PASS | R_SW_NORMVAR | n = 153 |
| SW-7P | Shapiro-Wilk p-value | data = airquality_temp | 0.009319 | 0.009319356 | 3.6e-7 | 5e-7 | PASS | R_SW_NORMVAR | n = 153 |
| SW-8W | Shapiro-Wilk W | data = iris_versicolor_sl | 0.9778 | 0.97783568 | 3.6e-5 | 0.00005 | PASS | R_SW_NORMVAR | n = 50 |
| SW-8P | Shapiro-Wilk p-value | data = iris_versicolor_sl | 0.4647 | 0.46473704 | 3.7e-5 | 0.00005 | PASS | R_SW_NORMVAR | n = 50 |
| SW-9W | Shapiro-Wilk W | data = iris_virginica_sl | 0.9712 | 0.9711794 | 2.1e-5 | 0.00005 | PASS | R_SW_NORMVAR | n = 50 |
| SW-9P | Shapiro-Wilk p-value | data = iris_virginica_sl | 0.2583 | 0.25831475 | 1.5e-5 | 0.00005 | PASS | R_SW_NORMVAR | n = 50 |
| GR-1 | Grubbs G | data = nist_grubbs_uranium | 2.4687 | 2.4687646 | 6.5e-5 | 0.0001 | PASS | NIST_GRUBBS | G = max|x - mean| / s. NIST prints 2.4687 and we compute 2.468765, so NIST appears to truncate to 4 decimals. Compared within 1 unit of the 4th decimal |
| GR-2 | Grubbs critical value | n = 8, alpha = 0.05, sided = 1 | 2.032 | 2.031652 | 3.5e-4 | 0.0005 | PASS | NIST_GRUBBS | one-sided (upper) critical value used in the NIST example |
| GRT-3-05 | Grubbs critical value | n = 3, alpha = 0.05, sided = 2 | 1.155 | 1.1543049 | 7.0e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-3-01 | Grubbs critical value | n = 3, alpha = 0.01, sided = 2 | 1.155 | 1.1546847 | 3.2e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-4-05 | Grubbs critical value | n = 4, alpha = 0.05, sided = 2 | 1.481 | 1.48125 | 2.5e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-4-01 | Grubbs critical value | n = 4, alpha = 0.01, sided = 2 | 1.496 | 1.49625 | 2.5e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-5-05 | Grubbs critical value | n = 5, alpha = 0.05, sided = 2 | 1.715 | 1.7150373 | 3.7e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-5-01 | Grubbs critical value | n = 5, alpha = 0.01, sided = 2 | 1.764 | 1.7636785 | 3.2e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-6-05 | Grubbs critical value | n = 6, alpha = 0.05, sided = 2 | 1.887 | 1.8871451 | 1.5e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-6-01 | Grubbs critical value | n = 6, alpha = 0.01, sided = 2 | 1.973 | 1.9728167 | 1.8e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-7-05 | Grubbs critical value | n = 7, alpha = 0.05, sided = 2 | 2.02 | 2.0199685 | 3.1e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-7-01 | Grubbs critical value | n = 7, alpha = 0.01, sided = 2 | 2.139 | 2.139106 | 1.1e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-8-05 | Grubbs critical value | n = 8, alpha = 0.05, sided = 2 | 2.126 | 2.1266451 | 6.5e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-8-01 | Grubbs critical value | n = 8, alpha = 0.01, sided = 2 | 2.274 | 2.2743651 | 3.7e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-9-05 | Grubbs critical value | n = 9, alpha = 0.05, sided = 2 | 2.215 | 2.2150042 | 4.2e-6 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-9-01 | Grubbs critical value | n = 9, alpha = 0.01, sided = 2 | 2.387 | 2.3868099 | 1.9e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-10-05 | Grubbs critical value | n = 10, alpha = 0.05, sided = 2 | 2.29 | 2.2899541 | 4.6e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-10-01 | Grubbs critical value | n = 10, alpha = 0.01, sided = 2 | 2.482 | 2.4820832 | 8.3e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-11-05 | Grubbs critical value | n = 11, alpha = 0.05, sided = 2 | 2.355 | 2.3547301 | 2.7e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-11-01 | Grubbs critical value | n = 11, alpha = 0.01, sided = 2 | 2.564 | 2.5641213 | 1.2e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-12-05 | Grubbs critical value | n = 12, alpha = 0.05, sided = 2 | 2.412 | 2.4115595 | 4.4e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-12-01 | Grubbs critical value | n = 12, alpha = 0.01, sided = 2 | 2.636 | 2.635733 | 2.7e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-13-05 | Grubbs critical value | n = 13, alpha = 0.05, sided = 2 | 2.462 | 2.4620329 | 3.3e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-13-01 | Grubbs critical value | n = 13, alpha = 0.01, sided = 2 | 2.699 | 2.6989719 | 2.8e-5 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-14-05 | Grubbs critical value | n = 14, alpha = 0.05, sided = 2 | 2.507 | 2.5073209 | 3.2e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-14-01 | Grubbs critical value | n = 14, alpha = 0.01, sided = 2 | 2.755 | 2.7553724 | 3.7e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
| GRT-15-05 | Grubbs critical value | n = 15, alpha = 0.05, sided = 2 | 2.549 | 2.5483078 | 6.9e-4 | 0.001 | PASS | LIBRETEXTS_GRUBBS | Compared with the two-sided formula (NIST 1.3.5.17.1) within 1 unit of the last digit. The table's last digit is not consistently rounded: n = 3 and 15 look rounded up and n = 8 truncated, and its n = 15, alpha = 0.01 entry repeats the n = 14 value, so that entry is omitted |
2. Findings from the source checks
- Two-sided 95/95 factors in older tables are approximations. The values 3.379 (n = 10), 2.752 (n = 20) and 2.549 (n = 30) are reproduced by the Wald-Wolfowitz approximation. The exact factors are 3.3934, 2.7603 and 2.5549. VerifyKit uses the exact factor. It agrees with Odeh & Owen (1980) and R EnvStats.
- ISO 16269-6. The worked examples in the ISO 16269-6:2005 preview give k3(12; 0.95; 0.95) = 2.737 and k4(12; 0.90; 0.95) = 2.671. These equal the exact values (2.73634 and 2.67028) rounded up to 3 decimals. The Wald-Wolfowitz approximation would give 2.655. The 2014 edition's tables were not seen.
- Janiga & Garaj (2009) list the exact two-sided factors rounded up to 4 decimals.
- NIST Dataplot output for the Howe approximation (N = 195) is reproduced to all printed digits.
- NIST binomial example. NIST prints 0.401029. Direct summation gives 0.4010281, so the last digit differs by 1.
- NIST Grubbs example. NIST prints G = 2.4687. The computed value is 2.468765, which suggests NIST truncates. It is compared within 1e-4.
- Grubbs critical values (Harvey, LibreTexts). The table matches the two-sided formula in NIST 1.3.5.17.1 to within 1 unit in the last digit, but its rounding is inconsistent. Its n = 15, α = 0.01 entry repeats the n = 14 value, so that entry is excluded.
- Shapiro-Wilk, mtcars mpg with cyl = 6 (n = 7). Two pages on the same site print the same W but different p-values (0.3252 and 0.3278). VerifyKit gives 0.32518, so only W is used as a reference.
- Shapiro-Wilk, mtcars mpg with cyl = 4 (n = 11). Unresolved. The page prints W = 0.91243. VerifyKit's W = 0.9124392 would print as 0.91244, a difference of 9e-6. The p-value (0.2606) matches. No second source was found. Every other W, from n = 7 to n = 153, matches to all printed digits. The case is kept visible as a documented discrepancy.
- Distribution-free sample size. NIST's chi-square approximation gives 473 for 99%/95% two-sided, and the exact formula also gives 473.
- Notation. "95/90" is written as C/R in some places and R/C in others. The calculator always labels C and R explicitly.
3. Independent numerical checks and simulations
- One-sided k. For n in {2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 20, 25, 30, 40, 50, 60, 80, 100, 150, 200, 300, 500, 750, 1000}, R in {0.9, 0.95, 0.99} and C in {0.9, 0.95, 0.99}, the confidence each factor achieves was recomputed with a different integral (over the normal variable, using the chi-square survival function). Worst |confidence - C| = 2.98e-12.
- Two-sided k. Same grid, recomputed by integrating over the SD first. Worst |confidence - C| = 1.03e-12.
- Attribute and success-run n. Each n was confirmed to be the smallest sufficient sample size by direct binomial sums, in 96 of 96 cases.
- Tolerance factors by Monte Carlo (seeded, 100,000 samples, 95/95): one-sided n = 5: 95.02%; one-sided n = 10: 95.02%; two-sided n = 5: 95.12%; two-sided n = 10: 95.08% (target 95%, standard error about 0.07%).
- Probability of passing (exact noncentral-t / integral compared with 40,000 simulated tests): one-sided LSL, n = 10, true margin 3.5 SD, 95/95: exact 81.58%, simulated 81.44%; two limits, whole-interval rule, n = 12, 95/95: exact 78.51%, simulated 78.45%; two limits, per-limit rule, n = 12, 95/95: exact 93.67%, simulated 93.53%.
- False-alarm rates for normal data (2,000 samples, alpha = 0.05): Anderson-Darling 4.3% (n = 20), Shapiro-Wilk 5.0% (n = 20), Grubbs 4.3% (n = 15). The target is about 5% for each.
- Upper 90% confidence bound on the SD (n = 10, 20,000 samples) covered the true SD in 90.0% of samples (target 90%).
- Transforms. The tests check that Box-Cox and its inverse round-trip, that λ = 0 gives the log, that the transform is increasing, and that the analysis after transforming the data and the limits matches a direct calculation. They also check that the chosen λ maximizes the normal probability plot correlation (NIST 1.3.3.6).
4. Two-sided approximations compared with the exact factor (R = 95%, C = 95%)
For information only. The calculator does not use these approximations for decisions.
| n | Exact | Howe (1969) | Error | Wald-Wolfowitz (1946) | Error |
|---|---|---|---|---|---|
| 2 | 36.5192 | 38.2806 | 4.82% | 37.6745 | 3.16% |
| 3 | 9.7888 | 9.9928 | 2.08% | 9.9157 | 1.30% |
| 4 | 6.3411 | 6.3986 | 0.91% | 6.3699 | 0.45% |
| 5 | 5.0769 | 5.0935 | 0.33% | 5.0787 | 0.04% |
| 6 | 4.4222 | 4.4230 | 0.02% | 4.4140 | -0.18% |
| 8 | 3.7455 | 3.7360 | -0.25% | 3.7317 | -0.37% |
| 10 | 3.3934 | 3.3819 | -0.34% | 3.3794 | -0.41% |
| 15 | 2.9649 | 2.9548 | -0.34% | 2.9538 | -0.38% |
| 20 | 2.7603 | 2.7523 | -0.29% | 2.7518 | -0.31% |
| 30 | 2.5549 | 2.5496 | -0.21% | 2.5494 | -0.21% |
| 50 | 2.3816 | 2.3788 | -0.12% | 2.3787 | -0.12% |
| 100 | 2.2339 | 2.2328 | -0.05% | 2.2328 | -0.05% |
5. Computed factor tables
These are VerifyKit outputs, not published values.
One-sided exact k
| n | R 90% C 90% | R 90% C 95% | R 95% C 90% | R 95% C 95% | R 99% C 95% | R 99% C 99% |
|---|---|---|---|---|---|---|
| 2 | 10.2527 | 20.5815 | 13.0897 | 26.2597 | 37.0936 | 185.6170 |
| 3 | 4.2582 | 6.1553 | 5.3115 | 7.6559 | 10.5527 | 23.8956 |
| 4 | 3.1878 | 4.1619 | 3.9566 | 5.1439 | 7.0424 | 12.3873 |
| 5 | 2.7423 | 3.4066 | 3.3998 | 4.2027 | 5.7411 | 8.9390 |
| 6 | 2.4937 | 3.0063 | 3.0919 | 3.7077 | 5.0620 | 7.3346 |
| 7 | 2.3326 | 2.7554 | 2.8938 | 3.3995 | 4.6417 | 6.4119 |
| 8 | 2.2186 | 2.5819 | 2.7543 | 3.1873 | 4.3539 | 5.8118 |
| 9 | 2.1329 | 2.4538 | 2.6499 | 3.0312 | 4.1430 | 5.3889 |
| 10 | 2.0657 | 2.3546 | 2.5684 | 2.9110 | 3.9811 | 5.0737 |
| 11 | 2.0113 | 2.2753 | 2.5026 | 2.8150 | 3.8523 | 4.8290 |
| 12 | 1.9662 | 2.2101 | 2.4483 | 2.7363 | 3.7471 | 4.6330 |
| 13 | 1.9281 | 2.1554 | 2.4024 | 2.6705 | 3.6592 | 4.4720 |
| 14 | 1.8953 | 2.1088 | 2.3631 | 2.6144 | 3.5845 | 4.3372 |
| 15 | 1.8668 | 2.0684 | 2.3290 | 2.5660 | 3.5201 | 4.2224 |
| 16 | 1.8418 | 2.0330 | 2.2990 | 2.5237 | 3.4639 | 4.1233 |
| 17 | 1.8195 | 2.0017 | 2.2724 | 2.4863 | 3.4144 | 4.0367 |
| 18 | 1.7995 | 1.9738 | 2.2486 | 2.4529 | 3.3703 | 3.9604 |
| 19 | 1.7815 | 1.9487 | 2.2272 | 2.4230 | 3.3308 | 3.8924 |
| 20 | 1.7652 | 1.9260 | 2.2078 | 2.3960 | 3.2952 | 3.8316 |
| 25 | 1.7015 | 1.8381 | 2.1323 | 2.2917 | 3.1580 | 3.6011 |
| 30 | 1.6571 | 1.7773 | 2.0798 | 2.2198 | 3.0639 | 3.4465 |
| 35 | 1.6239 | 1.7323 | 2.0407 | 2.1667 | 2.9946 | 3.3344 |
| 40 | 1.5979 | 1.6972 | 2.0103 | 2.1255 | 2.9409 | 3.2486 |
| 50 | 1.5595 | 1.6456 | 1.9653 | 2.0650 | 2.8624 | 3.1246 |
| 60 | 1.5320 | 1.6089 | 1.9333 | 2.0222 | 2.8071 | 3.0383 |
| 80 | 1.4947 | 1.5594 | 1.8899 | 1.9644 | 2.7326 | 2.9237 |
| 100 | 1.4701 | 1.5267 | 1.8613 | 1.9265 | 2.6840 | 2.8496 |
| 150 | 1.4328 | 1.4778 | 1.8182 | 1.8698 | 2.6114 | 2.7405 |
| 200 | 1.4113 | 1.4496 | 1.7933 | 1.8372 | 2.5697 | 2.6786 |
| 300 | 1.3863 | 1.4169 | 1.7645 | 1.7996 | 2.5219 | 2.6080 |
| 500 | 1.3618 | 1.3851 | 1.7364 | 1.7630 | 2.4754 | 2.5402 |
| 1000 | 1.3376 | 1.3538 | 1.7088 | 1.7273 | 2.4301 | 2.4746 |
Two-sided exact k
| n | R 90% C 90% | R 90% C 95% | R 95% C 90% | R 95% C 95% | R 99% C 95% | R 99% C 99% |
|---|---|---|---|---|---|---|
| 2 | 15.5123 | 31.0922 | 18.2207 | 36.5192 | 46.9444 | 234.8775 |
| 3 | 5.7881 | 8.3059 | 6.8233 | 9.7888 | 12.6471 | 28.5857 |
| 4 | 4.1571 | 5.3681 | 4.9127 | 6.3411 | 8.2207 | 14.4054 |
| 5 | 3.4993 | 4.2906 | 4.1425 | 5.0769 | 6.5980 | 10.2201 |
| 6 | 3.1406 | 3.7326 | 3.7225 | 4.4222 | 5.7577 | 8.2915 |
| 7 | 2.9128 | 3.3895 | 3.4557 | 4.0196 | 5.2411 | 7.1907 |
| 8 | 2.7541 | 3.1560 | 3.2699 | 3.7455 | 4.8892 | 6.4790 |
| 9 | 2.6367 | 2.9861 | 3.1322 | 3.5459 | 4.6328 | 5.9801 |
| 10 | 2.5459 | 2.8563 | 3.0257 | 3.3934 | 4.4369 | 5.6102 |
| 11 | 2.4734 | 2.7537 | 2.9405 | 3.2728 | 4.2818 | 5.3242 |
| 12 | 2.4139 | 2.6703 | 2.8707 | 3.1747 | 4.1555 | 5.0959 |
| 13 | 2.3642 | 2.6010 | 2.8122 | 3.0931 | 4.0505 | 4.9093 |
| 14 | 2.3219 | 2.5424 | 2.7625 | 3.0241 | 3.9616 | 4.7534 |
| 15 | 2.2855 | 2.4922 | 2.7196 | 2.9649 | 3.8853 | 4.6212 |
| 16 | 2.2537 | 2.4486 | 2.6821 | 2.9135 | 3.8189 | 4.5074 |
| 17 | 2.2256 | 2.4102 | 2.6491 | 2.8683 | 3.7606 | 4.4083 |
| 18 | 2.2007 | 2.3763 | 2.6197 | 2.8283 | 3.7088 | 4.3212 |
| 19 | 2.1784 | 2.3460 | 2.5934 | 2.7925 | 3.6626 | 4.2439 |
| 20 | 2.1583 | 2.3188 | 2.5696 | 2.7603 | 3.6210 | 4.1747 |
| 25 | 2.0813 | 2.2151 | 2.4786 | 2.6377 | 3.4621 | 3.9149 |
| 30 | 2.0289 | 2.1451 | 2.4166 | 2.5549 | 3.3546 | 3.7425 |
| 35 | 1.9905 | 2.0942 | 2.3712 | 2.4946 | 3.2761 | 3.6185 |
| 40 | 1.9611 | 2.0553 | 2.3362 | 2.4484 | 3.2159 | 3.5244 |
| 50 | 1.9183 | 1.9990 | 2.2855 | 2.3816 | 3.1288 | 3.3897 |
| 60 | 1.8885 | 1.9599 | 2.2500 | 2.3351 | 3.0680 | 3.2969 |
| 80 | 1.8488 | 1.9081 | 2.2029 | 2.2735 | 2.9875 | 3.1753 |
| 100 | 1.8232 | 1.8748 | 2.1724 | 2.2339 | 2.9355 | 3.0976 |
| 150 | 1.7855 | 1.8260 | 2.1275 | 2.1757 | 2.8593 | 2.9846 |
| 200 | 1.7642 | 1.7984 | 2.1022 | 2.1429 | 2.8162 | 2.9215 |
| 300 | 1.7400 | 1.7672 | 2.0734 | 2.1058 | 2.7674 | 2.8503 |
| 500 | 1.7169 | 1.7374 | 2.0458 | 2.0702 | 2.7207 | 2.7828 |
| 1000 | 1.6946 | 1.7088 | 2.0193 | 2.0361 | 2.6759 | 2.7183 |
6. Methods
- Success-run: n = ceil(ln(1 - C) / ln R). Attribute: the smallest n with P(X ≤ c | n, 1 - R) ≤ 1 - C, using an exact binomial via the regularized incomplete beta function.
- One-sided normal k: exact, from the noncentral t distribution (NIST 7.2.6.3), using Gauss-Legendre integration and Brent root finding. Two-sided: the exact Odeh-type integral.
- Two-sided decision rules. The default is "whole interval inside spec", using the two-sided k. The optional "one-sided bound at each limit" rule uses the one-sided k at each limit. No verified reference that prescribes the second rule was found, so the page explains its weaker guarantee instead of citing one.
- Probability of passing: P = E[max(0, Φ(√n(KU - kV)) - Φ(√n(kV - KL)))], with V = s/σ. For one limit this is the noncentral t expression. The SD upper bound uses the chi-square quantile (NIST 1.3.5.8).
- Anderson-Darling: case 3, mean and SD estimated. The modified statistic and the p-value follow Stephens (1986), as in R nortest. The p-value needs n ≥ 8. Shapiro-Wilk: Royston AS R94, as in R shapiro.test, for 3 ≤ n ≤ 5000.
- Grubbs: two-sided, with critical value ((n-1)/√n)√(t²/(n-2+t²)) and t at α/(2n) with n - 2 df (NIST 1.3.5.17.1). It flags values only and never removes them.
- Box-Cox: (xλ - 1)/λ, or ln x at λ = 0. λ is chosen to maximize the normal probability plot correlation (NIST 1.3.3.6), and the spec limits are transformed the same way. Distribution-free: NIST 7.2.6.4.
7. Citation status
- Verified on the source page: the NIST/SEMATECH e-Handbook sections cited above, the FDA QMSR page (21 CFR Part 820 incorporates ISO 13485:2016 by reference, effective 2 February 2026), the R documentation and outputs listed in the sources, and the ISO 16269-6:2005 preview examples.
- Verified through catalogue or secondary sources only (paid standards): ISO 13485:2016 clause 7.3.6 content (paraphrased, never quoted), ISO 13485:2016 clause 4.1.6 (validation of QMS software), the titles and scope of ISO 16269-6:2014, ISO 2859-1:2026, ISO 3951-1:2022 and ISO/TR 80002-2:2017.
- Not verified from a primary table: the one-sided 95/95 values 2.911, 2.396 and 2.220 (a search index shows them in Illinois 35 IAC 742 Appendix A Table B, but the page could not be opened), and an exact two-sided value for n = 30 (2.5549 here). Both are supported by independent integrals and simulation. The one-sided method is also confirmed by ISO, NIST and EnvStats examples.
8. Sources
- NIST_TI: NIST/SEMATECH e-Handbook of Statistical Methods, section 7.2.6.3 "Tolerance intervals for a normal distribution" https://www.itl.nist.gov/div898/handbook/prc/section2/prc263.htm
- NIST_NP: NIST/SEMATECH e-Handbook of Statistical Methods, section 7.2.6.4 "Tolerance intervals based on the largest and smallest observations" https://www.itl.nist.gov/div898/handbook/prc/section2/prc264.htm
- NIST_BIN: NIST/SEMATECH e-Handbook of Statistical Methods, section 7.2.4.1 "Confidence intervals" (exact binomial limits for a proportion) https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm
- ENVSTATS_K: R package EnvStats, help page tolIntNormK (printed example output) https://rdrr.io/cran/EnvStats/man/tolIntNormK.html
- ENVSTATS_NP: R package EnvStats, help page tolIntNparN (printed example output) https://rdrr.io/cran/EnvStats/man/tolIntNparN.html
- SPC_ODEH: R package spc, help page tol.lim.fac, which reproduces Odeh & Owen (1980), "Tables for Normal Tolerance Limits, Sampling Plans and Screening", p. 98, Table 3.4.1 https://search.r-project.org/CRAN/refmans/spc/html/tol.lim.fact.html
- JANIGA: Janiga I., Garaj I. (2009), "On Two-Sided Statistical Tolerance Intervals for Normal Distributions with Unknown Parameters", MEASUREMENT 2009, Proc. 7th Int. Conf., Smolenice, Table 3 (m = 1) https://www.measurement.sk/M2009/proceedings/057_Janiga1.pdf
- SPEC_TABLE: VerifyKit spec reference table (classical 3-decimal 95/95 factors). One-sided values also appear in Illinois 35 IAC 742 Appendix A Table B according to a search-engine index; that page could not be opened, so treat as secondary
- CLOSED_FORM: Closed form n = ceil(ln(1 - C) / ln(R)); value checked by direct arithmetic
- ISO16269_2005: ISO 16269-6:2005 (since replaced by the 2014 edition), worked examples in clause 5.4 (Example 3, one-sided, unknown variance) and clause 5.5 (Example 4, two-sided, unknown variance), read in the free preview published by iTeh. The factors in the standard are rounded up https://cdn.standards.iteh.ai/samples/38772/9532c47232fc4eb8a52ed3c4c86281a5/ISO-16269-6-2005.pdf
- DATAPLOT_HOWE: NIST Dataplot Reference Manual, TOLERANCE LIMITS, example output (two-sided normal limits, Howe method, N = 195) https://itl.nist.gov/div898/software/dataplot/refman1/auxillar/tolelimi.htm
- R_DATASETS: R built-in datasets (mtcars, ToothGrowth, airquality, iris), values taken from the Rdatasets CSV mirror https://vincentarelbundock.github.io/Rdatasets/datasets.html
- R_AD_MTCARS: R-bloggers, Anderson-Darling Test in R (Quick Normality Check): printed nortest::ad.test(mtcars$mpg) output https://www.r-bloggers.com/2021/11/anderson-darling-test-in-r-quick-normality-check/
- R_AD_IRIS: Statology, How to Conduct an Anderson-Darling Test in R: printed nortest::ad.test(iris$Petal.Width) output https://www.statology.org/anderson-darling-test-r/
- METRICGATE_AD: MetricGate Anderson-Darling documentation: iris Sepal.Length computed in R with nortest::ad.test (A2, modified A2*, p) https://metricgate.com/docs/fr/anderson-darling-test/
- NORTEST_SRC: R package nortest, ad.test source code (modified statistic and piecewise p-value constants), copy in package ufs https://rdrr.io/cran/ufs/src/R/ad.test_from_nortest.R
- R_SW_HOWTO: r-statistics.co, Shapiro-Wilk Test in R: printed shapiro.test output for mtcars$mpg (overall and by cyl) and iris setosa https://r-statistics.co/How-to-do-Shapiro-Wilk-Test-in-R.html
- R_SW_NORMVAR: r-statistics.co, Test Normality and Equal Variance in R: printed shapiro.test output for mtcars$wt, airquality$Temp, iris species https://r-statistics.co/Normality-and-Variance-Tests-in-R.html
- R_SW_TOOTH: R-snippets documentation, Statistical Tests: printed shapiro.test(ToothGrowth$len) output https://r-snippets.readthedocs.io/en/latest/stats/tests.html
- NIST_GRUBBS: NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5.17.1, Grubbs Test for Outliers (uranium isotope example, N = 8) https://www.itl.nist.gov/div898/handbook/eda/section3/eda35h1.htm
- LIBRETEXTS_GRUBBS: Harvey, Analytical Chemistry 2.1 (Chemistry LibreTexts), Appendix 16.7, Critical Values for Grubbs Test. The page does not say whether the values are one- or two-sided https://chem.libretexts.org/Bookshelves/Analytical_Chemistry/Analytical_Chemistry_2.1_(Harvey)/16%3A_Appendix/16.07%3A_Critical_Values_for_Grubb%27s_Test
- NIST_CHISQ_SD: NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5.8, Chi-Square Test for the Variance (chi-square critical values for 99 df) https://www.itl.nist.gov/div898/handbook/eda/section3/eda358.htm