Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Detection and quantitation limits from the standard deviation of the response and the slope (ICH Q2(R2)), version 1.0.1

detection-limits@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; statsmodels 0.15.0 OLS on slope and σ; DL and QL factors from ICH Q2(R2); σ's n − 2 a standard definition. Reference kind: an outside program, R lm and confint (base stats), R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, exact rationals for every sum; t(0.975, n - 2) at 60 digits in mpmath; rounded once; not an outside program.

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

Every version of this method · Every method · What the levels mean

Version 1.0.1

Level: Checked against a reference; statsmodels 0.15.0 OLS on slope and σ; DL and QL factors from ICH Q2(R2); σ's n − 2 a standard definition. Reference kind: an outside program, R lm and confint (base stats), R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, exact rationals for every sum; t(0.975, n - 2) at 60 digits in mpmath; rounded once; not an outside program. detection-limits@1.0.1

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: DL = 3.3σ/|S| and QL = 10σ/|S| as in ICH Q2(R2) §3.2.3.3, re-read at source 14 November 2026. The n − 2 divisor of the residual SD is a standard definition; ICH does not state it. Slope and residual SD compared with statsmodels 0.15.0 OLS. Every output compared with a second implementation in Python by a separate agent of the same model family (53 cases, 24 at the edges). Just above the zero-sigma floor, σ carries about nine significant digits.

DL = 3.3σ/|S| and QL = 10σ/|S|, S the least-squares slope of a straight-line calibration, σ from blank responses, the calibration's residual standard error, or the standard deviation of several lines' intercepts.

  • How results are reported: none: full double precision; the limits are in the calibration's concentration unit as given
  • Uncertainty: Estimates, which ICH Q2(R2) asks to be confirmed with samples at or near the limits; no interval on DL or QL is given.
  • Computes through this project's own routines: the straight-line fit of each calibration (slope, intercept, residual SD, standard errors); the Student t quantile of the slope interval; its bracket search is capped at MAX_BRACKET_DOUBLINGS = 1024, with its own tests in stored reference values; the SD of blank responses and of intercepts; the mean slope over lines
  • Reference, as its record states it: R's lm and an exact-rational script (Python fractions)
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

84 cases in 3 files, linked by this exact version.

Run through the tool at build against an outside program, R lm and confint (base stats), R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); a reference program this project wrote itself, second implementation (Python 3.13), 2026-11-14, exact rationals for every sum; t(0.975, n - 2) at 60 digits in mpmath; rounded once; not an outside program: 71 agree within the tolerance the file states, 13 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 29 cases

    • Where the expected values came from: an outside program, R lm and confint (base stats) R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R)
    • Recorded on: 2026-11-10
    • Reference: R lm and confint (base stats), R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); licence GPL-2.0-or-later
    • Tolerance as the file states it: relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, sources, directions, units and counts exact
  • File 2, 51 cases

    • Where the expected values came from: an outside program, second implementation (Python 3.13) 2026-11-14
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: slopes, SDs, limits and intercepts relative 1e-10 (absolute 1e-20 below 1e-10, in each value's unit); counts, directions, sources, statuses and codes exact
  • File 3, 4 cases

    • Where the expected values came from: an outside program, second implementation (Python 3.13) 2026-11-14
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: just above the zero-sigma floor: sigma, DL and QL relative 1e-8, the measured precision there (about nine significant digits of sigma in floating point); slopes and intercepts relative 1e-10 (absolute 1e-20 below 1e-10, in each value's unit); counts, directions, sources, statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

The t quantile's tails and large degrees of freedom as changed by two corrections to the shared t quantile, recorded among the known issues (a confidence level whose tail is below 1e-4, or df at or above 1e4): no case of this method's fixtures reaches them; the routine-level rows in stored reference values and stored reference values do; Whether the calibration's range lies near the limits (S-ICHQ2 asks it; the tool cannot see it); weighted calibrations (the shared weighted routine is not used at 1.0.0); a stated slope (needs a response-per-concentration input); confirmation samples near the limits; CLSI EP17's limit of blank and Assay's blank + 3 SD read-through (different methods). Precision just above the zero-sigma floor: there σ comes from near-identical responses and carries about nine significant digits in floating point, so σ, DL and QL hold to about one part in a hundred million, measured against exact arithmetic, not to the full double precision of the reporting rule. A slope whose unit is outside the tool's UCUM map, such as (mAU*s)/(mg/mL), is served without a UCUM code (units.codes says none): the tool's limit, not a number.

Equations

Equation 1

DL = 3.3 × σ / |S|
Symbol Meaning and unit
DL detection limit, in the calibration's concentration unit, ug/mL
σ standard deviation of the response, in the response unit, mAU*s
S slope of the calibration curve, mAU*s/(ug/mL)

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3 Based on the Standard Deviation of a Linear Response and a Slope, Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Equation 2

QL = 10 × σ / |S|
Symbol Meaning and unit
QL quantitation limit, in the calibration's concentration unit, ug/mL
σ standard deviation of the response, mAU*s
S slope of the calibration curve, mAU*s/(ug/mL)

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3, Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Equation 3

σ = sample standard deviation (n − 1) of the blank responses
Symbol Meaning and unit
σ sample standard deviation of the blank responses, mAU*s
n number of blanks

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3, Based on the Standard Deviation of the Blank, Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Equation 4

σ = √(Σ eᵢ² / (n − 2)), the residual standard error of the calibration line: the standard definition, whose n − 2 divisor ICH Q2(R2)'s 'root mean square error/deviation' does not state
Symbol Meaning and unit
σ residual standard error of the calibration line, mAU*s
eᵢ residuals, mAU*s
n number of points

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3, Based on the Calibration Curve ('root mean square error/deviation'), Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Equation 5

σ = sample standard deviation of the intercepts of three or more calibration lines
S = the mean of their slopes
Symbol Meaning and unit
σ sample standard deviation of the intercepts, mAU*s
S the mean of the lines' slopes, mAU*s/(ug/mL)

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3, Based on the Calibration Curve ('standard deviation of y-intercepts of the regression lines'), Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Equation 6

S, a, σ by ordinary least squares of response on concentration (the suite's least-squares engine, named under "computes through")
no demonstrated response when S ± t(0.975, n − 2) × se(S) × (1 + 1e-9) includes 0, the relative 1e-9 a stated tolerance (Drybench, 11 November 2026)
Symbol Meaning and unit
S least-squares slope, mAU*s/(ug/mL)
a least-squares intercept, mAU*s
se(S) standard error of the slope, mAU*s/(ug/mL)
t Student t quantile

Source: ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.2.1 (a regression line by the method of least squares; a minimum of five concentrations), Step 4 final version with the error correction of 30 November 2023 (file ICH_Q2(R2)_Guideline_2023_1130.pdf); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning d935618fd3c5. Free to read (ICH legal notice: may be used, reproduced and adapted under a public licence, ICH's copyright acknowledged and changes labelled), checked 2026-11-10. No erratum found (searched the guideline's own Document History (the 30 November 2023 correction is in the file read), ich.org Q2(R2) page, web search for ICH Q2(R2) errata, 11 November 2026), 2026-11-11.

Conventions

What each mode computes:

  • sigmaBasis = blank-sd: σ is the sample standard deviation (n − 1) of six or more blank responses, in the response unit; S is the slope of the stated calibration.
  • sigmaBasis = residual-sd: σ is the residual standard error √(SSE/(n − 2)) of the calibration line, in the response unit; S is its slope.
  • sigmaBasis = intercept-sd: σ is the sample standard deviation of the intercepts of three or more calibration lines, in the response unit; S is the mean of their slopes.

Constants

Constant Value and unit Source Date read
factor for the detection limit, as printed (3.3) 3.3 ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3 2026-11-10
factor for the quantitation limit, as printed (10) 10 ICH Harmonised Guideline Q2(R2), Validation of Analytical Procedures, adopted at Step 4 on 1 November 2023, section §3.2.3.3 2026-11-10

Worked example

Worked example: one case of detection-limits@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • sigmaBasis = blank-sd
  • blankResponses[0] = 0.01 mAU*s
  • blankResponses[1] = 0.012 mAU*s
  • blankResponses[2] = 0.009 mAU*s
  • blankResponses[3] = 0.011 mAU*s
  • blankResponses[4] = 0.013 mAU*s
  • blankResponses[5] = 0.01 mAU*s
  • calibration.concentration[0] = 1 ug/mL
  • calibration.concentration[1] = 2 ug/mL
  • calibration.concentration[2] = 3 ug/mL
  • calibration.concentration[3] = 4 ug/mL
  • calibration.concentration[4] = 5 ug/mL
  • calibration.response[0] = 0.051 mAU*s
  • calibration.response[1] = 0.101 mAU*s
  • calibration.response[2] = 0.151 mAU*s
  • calibration.response[3] = 0.201 mAU*s
  • calibration.response[4] = 0.251 mAU*s

Steps

  1. sigma = 0.0014719601 mAU·s, from blankResponses; by equation 3; gives sigma.
  2. S = 0.05 (mAU·s)/(µg/mL), from calibration; by equation 6; gives slope.
  3. DL = 0.09714937 µg/mL, from sigma, S; by equation 1; gives detectionLimit.
  4. QL = 0.29439203 µg/mL, from sigma, S; by equation 2; gives quantitationLimit.

The working, as the case writes it:

blanks: mean 0.0108333
squared deviations sum 10.833e-6
s^2 = 2.1667e-6
s = 0.00147196
slope of 0.051 ... 0.251 on 1 ... 5 is 0.05
DL = 3.3 x 0.00147196/0.05 = 0.097149
QL = 0.29439 ug/mL.

Answer

  • sigma = 0.0014719601 mAU·s
  • slope = 0.05 (mAU·s)/(µg/mL)
  • detectionLimit = 0.09714937 µg/mL
  • quantitationLimit = 0.29439203 µg/mL

Where these values came from: an outside program, R lm and confint (base stats) R 4.3.3; Ubuntu r-base-core 4.3.3-2build2; stats 4.3.3 (Part of R); ICH Q2(R2) Validation of Analytical Procedures, adopted 1 November 2023, 3.2.3.3 (DL = 3.3 sigma/S, QL = 10 sigma/S); 'Based on the Standard Deviation of the Blank'.

At build the tool returned this answer within the tolerance the file states: relative 1e-12 (absolute 1e-18 below 1e-6); statuses, codes, sources, directions, units and counts exact.

Who worked this case: not recorded.

What it refuses, and its input ranges

  • TOO_FEW_POINTS: a calibration has fewer than five concentrations (the minimum for linearity in ICH Q2(R2), the floor in every mode) Next: Give a calibration of at least five concentrations.
  • TOO_FEW_BLANKS: fewer than six blanks (Drybench's floor of 13 October 2026) Next: Give at least six blank responses.
  • TOO_FEW_LINES: fewer than three lines for the standard deviation of intercepts (Drybench's floor) Next: Give at least three calibration lines.
  • X_NO_SPREAD: every concentration is the same: no slope exists Next: Give a calibration over at least two different concentrations.
  • ZERO_SLOPE: the slope's two-sided t-interval at ninety-five percent, each end widened by a relative one part in a billion of its half-width, includes zero: no response to concentration is demonstrated (a project rule, Drybench's of 10 November 2026; the tolerance, 11 November 2026, is the resolution of the arithmetic, and a slope within it is refused) Next: No change of input makes this computable on these data.
  • SLOPES_DIFFER_IN_SIGN: intercept-sd: the lines' slopes differ in sign, so no mean slope represents them (Drybench's ruling of 10 November 2026) Next: No change of input makes this computable on these data.
  • ZERO_SIGMA: σ is at most 1e-12 × the largest |response| it came from: numerically zero (a project rule, Drybench's) Next: No change of input makes this computable on these data.

Changes

No correction is logged for detection-limits@1.0.1.

Tools that use it

Cite this version

Detection and quantitation limits from the standard deviation of the response and the slope (ICH Q2(R2)). Drybench; detection-limits@1.0.1; https://www.drybench.com/methods/m/detection-limits/1.0.1 (accessed [date]).