Adjust many p-values
stats_adjust_p_values
Adjusts many p-values for multiple testing and counts the tests at or below the chosen level.
- Runs
- Built, not hosted
- Level
- Checked against a reference: R 4.4.3 p.adjust
What it is
Required: method (BH, BY, holm, bonferroni); level (0.01, 0.05, 0.1). Adjusts p-values for multiple testing as R's p.adjust does and counts adjusted values at or below the stated level, at full precision. Values outside [0, 1], text cells or fewer than two finite p-values withhold the adjustment; nothing is clipped.
Field: Statistics. It is the same calculation as Drybench Assay, called by an AI assistant through the server.
What it does
You give
tests(required): One entry per test: exact numeric p-value (null for blank cell, left out and counted) and optional label.method(required): Multiple-testing method: 'BH', 'BY', 'holm', or 'bonferroni'.level(required): Threshold for the atOrBelow count: 0.01, 0.05, or 0.1.
Asked with
- method
- BH
- level
- 0.05
It answered (computed)
- method
- BH
- threshold
- 0.05
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 units3 inputs
tests(required): One entry per test: exact numeric p-value (null for blank cell, left out and counted) and optional label.method(required): Multiple-testing method: 'BH', 'BY', 'holm', or 'bonferroni'.level(required): Threshold for the atOrBelow count: 0.01, 0.05, or 0.1.
The calculation
The method's equations, constants and worked example.
No equation is recorded for this version.
Kind of method: not recorded.
Worked example: not recorded for p-value-adjustment@1.0.1.
Sources
No source is recorded for this tool's methods.
How it is checked
- Level
Checked against a reference.
- Checked against
R 4.4.3 p.adjust (BH, BY, Holm, Bonferroni) on 10 cases of the 0.11.0 fixture, up to m = 10,000: adjusted p within 1e-12 relative, counts, m and withheld states exact (2026-10-13). R only; SciPy not run.
- Cases
No case set is linked to this version.
- Hostile inputs
Sent 88 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
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 p-value-adjustment@1.0.1.
- The equation for p-value-adjustment@1.0.1.
- The constants with their sources for p-value-adjustment@1.0.1.
- A case set linked to this version for p-value-adjustment@1.0.1.
- A record of what was not checked for p-value-adjustment@1.0.1.
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_adjust_p_values, server 1.0.0; p-value-adjustment@1.0.1 (Checked against a reference); receipt 1bebda4ca06a/5e461b9af76f; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/stats-adjust-p-values. Quote this line with any number taken from this reply.Changes to its methods1 change
- 18 November 2026, p-value-adjustment@1.0.1: Every row supplied is read, so a null p counts as a blank wherever it sits, the last row included, and moving a blank changes neither the counts nor any adjusted p. The engine reads an editor's table only to its last entry when the caller says the table is an editor's, as the app's panel and export do. The method takes version 1.0.1, because blank and rowsUsed are returned fields that moved; no adjusted p and no count of tests moved, and the Assay app's reading (rows: "entered") is unchanged.