# Externally studentised residuals across groups, Bonferroni-adjusted, version 1.0.1

studentised-residuals-one-way\@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](https://www.drybench.com/methods/m/studentised-residuals-one-way) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.0.1

**Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.** `studentised-residuals-one-way@1.0.1`

[What this page can and cannot show](#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 studentised-residuals-one-way\@1.0.1.

### Not yet recorded for this version

- Equation: not recorded for studentised-residuals-one-way\@1.0.1.
- Constants: not recorded for studentised-residuals-one-way\@1.0.1.
- Worked example: not recorded for studentised-residuals-one-way\@1.0.1.
- Prediction error: not recorded.

### What was not checked

What was not checked: not recorded for studentised-residuals-one-way\@1.0.1. Its absence does not mean everything was checked.

### Changes

#### 2026-11-21-studentised-residuals-one-way\@1.0.1-1

2026-11-21 · [`studentised-residuals-one-way@1.0.1`](https://www.drybench.com/methods/m/studentised-residuals-one-way) · Corrections to our methods

- **What was wrong:** The externally studentised residuals were formed from the residual sum of squares of the values as typed. Where a residual's square passed the largest double the sum became infinite, every t came out 0 and every p 0, and the rows were listed in the wrong order: three groups scaled by 1e160 put a residual with p 0.96 first with p 0. Below the smallest normal double the sum lost digits (t 0.057472 against 0.057462 at 1e-160) or vanished.
- **Affected:** The group frame of stats\_outlier\_candidates and of the Assay app's outlier screening in version 1.0.0, only where a residual was 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: Data whose largest absolute value lies within 2^±100 are computed as given, as in 1.0.0; beyond that range every value is multiplied by one power of two that brings the largest just inside it before the group means, and every residual likewise before any square; each residual is reported multiplied back. t, p and the adjusted p are unchanged by a positive scale: the three groups above give the unscaled t, p, order and candidate at 1e±160 and 1e±200. A residual that overflows in the data's unit is refused as BEYOND\_DOUBLE\_RANGE; one that is far below its group's spread is reported as the arithmetic gives it. 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 group case through the tool at 1e±160 and 1e±200, shifted and not; every number moved exactly by the power at 2^±100 and 2^±400; subnormal residuals reported with their t; only a residual that overflows is refused as BEYOND\_DOUBLE\_RANGE.

## Tools that use it

- [`stats_outlier_candidates`](https://www.drybench.com/methods/tools/stats-outlier-candidates)

## Cite this version

Externally studentised residuals across groups, Bonferroni-adjusted. Drybench; studentised-residuals-one-way\@1.0.1; [https://www.drybench.com/methods/m/studentised-residuals-one-way/1.0.1](https://www.drybench.com/methods/m/studentised-residuals-one-way/1.0.1) (accessed \[date\]).
