Skip to content

Outlier candidates for review

stats_outlier_candidates

Flags candidate outliers for review in columns of values.

Runs
Built, not hosted
Level
Checked against a reference: R 4.4.3

What it is

Required: frame (columns, groups). Flags statistical outlier candidates for review: one non-iterated two-sided Grubbs test per column (n at least 6, alpha fixed at 0.05), or externally studentised one-way residuals across groups with Bonferroni over total N. Flags only: nothing is excluded or removed.

Field: Statistics. It is the same calculation as Drybench Assay, called by an AI assistant through the server.

What it does

You give

  • columns (required): Columns of numeric values, one per group or variable, rows matched by position; null marks a blank cell.
  • frame (required): Screening frame: 'columns' (each column alone) or 'groups' (columns as groups of one experiment).
A request and its answer

Asked with

frame
columns

It answered (computed)

frame
columns
excluded
0

Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here.

Limits

  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
  • No other limit is recorded for this tool.
Every input, with its units2 inputs
  • columns (required): Columns of numeric values, one per group or variable, rows matched by position; null marks a blank cell.
  • frame (required): Screening frame: 'columns' (each column alone) or 'groups' (columns as groups of one experiment).

The calculation

2 methods, each with its equations, constants and worked example.

Grubbs' test for one candidate per column (two-sided)grubbs-two-sided@1.0.1

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for grubbs-two-sided@1.0.1.

Externally studentised residuals across groups, Bonferroni-adjustedstudentised-residuals-one-way@1.0.1

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for studentised-residuals-one-way@1.0.1.

Sources

No source is recorded for this tool's methods.

How it is checked

Level

Checked against a reference, the lowest of its 2 methods.

Checked against

Grubbs' test for one candidate per column (two-sided): 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).

Externally studentised residuals across groups, Bonferroni-adjusted: 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

Grubbs' test for one candidate per column (two-sided): No case set is linked to this version.

Externally studentised residuals across groups, Bonferroni-adjusted: No case set is linked to this version.

Hostile inputs

Sent 52 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason.

Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

Same answer

Called twice and with its arguments in another order, it gave the same result.

Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

Not checked

Grubbs' test for one candidate per column (two-sided): Not recorded. Its absence does not mean everything was checked.

Externally studentised residuals across groups, Bonferroni-adjusted: Not recorded. Its absence does not mean everything was checked.

What this project's records still lack5 things
  • A case worked by hand from the source's equation for both methods.
  • The equation for both methods.
  • The constants with their sources for both methods.
  • A case set linked to this version for both methods.
  • A record of what was not checked for both methods.
Cite a number from this toolthe cite line

Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.

stats_outlier_candidates, server 1.0.0; grubbs-two-sided@1.0.1 (Checked against a reference); receipt d6e9a530b489/84d834a84742; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/stats-outlier-candidates. Quote this line with any number taken from this reply.
Changes to its methods2 changes
  • 21 November 2026, grubbs-two-sided@1.0.1: 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.
  • 21 November 2026, studentised-residuals-one-way@1.0.1: 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.