Grubbs' test for one candidate per column (two-sided), version 1.0.1
grubbs-two-sided@1.0.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.
What this page can and cannot show
Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Every version of this method · Every method · What the levels mean
Version 1.0.1
Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. grubbs-two-sided@1.0.1
What this page can and cannot show
What was checked
Checked against R 4.4.3 (outliers 0.15 grubbs.test for G; the Bonferroni bound min(1, 2n P(T > t)) with car 3.1-5 outlierTest as its cross-check; rstudent on lm for the group frame) on 21 cases: G, t and critical G within 1e-9 relative, p within 1e-8 relative, rows, candidate flags and withheld states exact. The package's folded two-sided p is recorded, not used, where twice the one-sided bound exceeds 1 (2026-10-13).
Cases: no case set is linked to grubbs-two-sided@1.0.1.
Not yet recorded for this version
- Equation: not recorded for grubbs-two-sided@1.0.1.
- Constants: not recorded for grubbs-two-sided@1.0.1.
- Worked example: not recorded for grubbs-two-sided@1.0.1.
- Prediction error: not recorded.
What was not checked
What was not checked: not recorded for grubbs-two-sided@1.0.1. Its absence does not mean everything was checked.
Changes
2026-11-21-grubbs-two-sided@1.0.1-1
2026-11-21 · grubbs-two-sided@1.0.1 · Corrections to our methods
- What was wrong: Grubbs' G was formed from the sum of squares of the centred values as typed. Where a centred value's square passed the largest double, the sum became infinite and G came out 0: the column [4.1, 3.8, 4.4, 4.0, 3.9, 4.3, 7.9, 4.2] scaled by 1e160 gave G 0, t 0 and p 1, not a candidate, where G is 2.448 and p 2.6e-5, a candidate. Where the squares fell below the smallest normal double the sum lost its digits or vanished: at 1e-160 G came out 2.44800 against 2.44790, and at 1e-200 the SD came out 0 with p 0.
- Affected: The Grubbs frame of stats_outlier_candidates and of the Assay app's outlier screening in version 1.0.0, only where a column's centred values were above about 1e154 in absolute value, or every one below about 1e-154. Data whose largest absolute value lies within 2^±100 (about 7.9e-31 to 1.27e30) are computed as 1.0.0 computed them, so they give the same bits; 1,000 seeded realistic calls of each of the four tools gave the same bits, and the cases of the finding's range check (members near 1e-300 beside members near 1e30, and every probe case just inside 2^±100) give 1.0.0's reply.
- What changed: In 1.0.1, per column: Data whose largest absolute value lies within 2^±100 are computed as given, as in 1.0.0; beyond that range the values are multiplied by the power of two that brings the largest just inside it before the mean, and the centred values likewise before any square; the mean and SD are multiplied back. G, t, p and the critical G are unchanged by a positive scale: the column above at 1e±160 and 1e±200 now gives G 2.447898827992432 and p 2.57e-5, a candidate, as unscaled. An SD that cannot be reported in the data's unit (beyond about 1.8e308, or below about 2.2e-308) is refused as BEYOND_DOUBLE_RANGE. In a seeded scan of 1,000 calls of the tool at magnitudes from 1e-300 to 1e300, every call whose data share one magnitude and whose reply changed now gives the reply 1.0.0 gives on the same data brought near 1 by a power of two; calls mixing magnitudes more than 2^500 apart have no such reference and were not judged.
- How it was found: An audit replay of the served tools at extreme finite inputs (probes through the tool handlers), repeated on 21 November 2026 by stored reference values with the data scaled by 1e±160 and 1e±200, shifted by 1000 and not, against the reply on the unscaled data; the scientific review's ruling of 18 November 2026 said what clears it, and its ruling of 21 November 2026 (route (b)) kept data within 2^±100 unscaled. Reproduced by unit tests that failed before the fix.
- Cases added: stored reference values: the probe's two outlier cases through the tool at 1e±160 and 1e±200, shifted and not, against the finding file's verdicts; the column above at 1e200 a candidate with G and p within 1e-12 of unscaled; every number moved exactly by the power at 2^±100 and 2^±400; an SD near the largest double and one of subnormal values refused as BEYOND_DOUBLE_RANGE.
Tools that use it
Cite this version
Grubbs' test for one candidate per column (two-sided). Drybench; grubbs-two-sided@1.0.1; https://www.drybench.com/methods/m/grubbs-two-sided/1.0.1 (accessed [date]).