Standard curve interpolation
assay_standard_curve
Fits a standard curve to standards of known concentration and reads unknowns from it.
- Runs
- On the server
- Level
- Tested, not reference-checked
What it is
Required: model (linear, 4pl, 5pl); blankCorrection (none, mean-blank); unit. Fits a calibration curve to explicit standards by least squares and interpolates unknowns inside the tested range. A four-parameter fit requires weighting. Reports recovery, inverse-prediction intervals, blank limits and dilution linearity when their rules allow. The five-parameter fit includes an approximate comparison against the four-parameter fit.
Field: Assays. It is the same calculation as Drybench Assay, called by an AI assistant through the server.
What it does
You give
model(required): Fit to run. The logistic models need positive standard concentrations.blankCorrection(required): Whether to subtract the mean of kept blank responses.unit(required): Concentration unit of the standards and estimates. Required. A fit stays in this unit.readings(required): Standard, blank and unknown responses. State the concentrations of the standards in the chosen unit.weighting: Objective weighting for a four-parameter fit.protocol: Optional assay protocol label for the method record.
and 1 more, listed below
Asked with
- model
- 4pl
- unit
- ng/mL
- blankCorrection
- mean-blank
- weighting
- none
- protocol
- elisa
- responseLabel
- Absorbance 450 nm
It answered (computed)
- unit
- ng/mL
- rSquared
- 1
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
- The curve fitted to the standards holds for the unknowns' matrix.
- Independent readings with constant variance about the curve; the curve holds for the unknowns' matrix.
- The blanks are independent readings of a sample with no analyte, in the same matrix and run as the standards.
- Constant-variance errors about the curve; the curve holds for the unknowns' matrix.
- Independent errors with constant variance about the curve (unweighted).
- The two models are nested and fitted to the same observations.
- The two fits are of the same observations.
- 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.
It will not answer when
- A standard without a concentration of at least 0, a concentration on a non-standard, or a dilution factor below 1.
- An excluded reading without a reason.
- Mean-blank subtraction was chosen without a kept blank.
- The selected fit needs more distinct standards.
Every input, with its units7 inputs
model(required): Fit to run. The logistic models need positive standard concentrations.blankCorrection(required): Whether to subtract the mean of kept blank responses.unit(required): Concentration unit of the standards and estimates. Required. A fit stays in this unit.readings(required): Standard, blank and unknown responses. State the concentrations of the standards in the chosen unit.weighting: Objective weighting for a four-parameter fit.protocol: Optional assay protocol label for the method record.responseLabel: Display label for the response measurements.
Every refusal, with its code28 refusals
| Code | When |
|---|---|
INVALID_NUMBER | A standard without a concentration of at least 0, a concentration on a non-standard, or a dilution factor below 1. |
EXCLUSION_REASON_REQUIRED | An excluded reading without a reason. |
NEEDS_BLANK | Mean-blank subtraction was chosen without a kept blank. |
TOO_FEW_STANDARDS | The selected fit needs more distinct standards. |
POSITIVE_STANDARDS_REQUIRED | A logistic model was selected and a standard had a non-positive concentration. |
FLAT_STANDARD_CURVE | The standards do not establish a nonzero slope. |
ASYMMETRY_AT_BOUND | The five-parameter asymmetry reached its allowed edge. |
FIT_UNRESOLVED | The fitting routine did not return a finite identifiable curve. |
withheld: weighted | The fit is weighted. |
withheld: unequal-replicates | The standards have unequal numbers of kept readings. |
withheld: standard-count | n − p is below three. |
withheld: asymptote | Logistic: the slope at the unknown is below ten percent of the slope at the midpoint. |
withheld: unbounded | Linear: g ≥ 1. |
withheld: lower-bound-outside, upper-bound-outside or both-bounds-outside | A bound falls outside the standards, naming which. |
withheld: singular | The logistic Jacobian cannot be inverted. |
withheld: too-few-blanks | Fewer than six kept blanks. |
withheld: no-spread | The kept blanks are all equal. |
withheld: no-fit | No standard curve was fitted. |
withheld: beyond-plateau | The threshold lies outside a logistic curve's plateaus, or the curve has no inverse there. |
withheld: above-highest | The threshold lies beyond the highest standard's response. |
refused: s-at-box | The fitted s lies on its box: the 5PL is refused, with no fallback to the 4PL. |
NO_DATA | No points. |
beyond-double-range | A fitted plateau, multiplied back from the scaled responses, lies beyond the largest number the arithmetic can hold (2.1.1). |
NON_POSITIVE_CONCENTRATION | A concentration of zero or below is used as a point. |
NON_FINITE_DATA | A concentration or response is not a finite number. |
INVALID_UNIT | A concentration without its concentrationUnit, or a log concentration without logConcentrationUnit "log10 M". |
INVALID_FIXED_PARAM | A fixed parameter that is not a finite number. |
zero-residual | The fuller model's residual sum of squares is at most 1e-20 of the sum of squared responses: no F is formed (null), and each caller withholds its test with its own reason (the curve comparison's tests and relative potency's joint F absent; the Schild and operational analyses withheld as zero-residual; the other engines' own zero-residual states). |
The calculation
9 methods, each with its equations, constants and worked example.
Equation 1
Linear: least squares on the mean response at each standard concentration, b = Sxy/Sxx, a = ȳ − b·x̄. Logistic: the 4PL or 5PL fit (four-pl@2.1.1, five-pl-calibration@1.1.0).
| Symbol | Meaning |
|---|---|
a, b | intercept and slope, 1 |
Equation 2
X' = (Y' − a)/b for the linear curve, the curve's inverse for a logistic one
the concentration in the original sample = X' × dilution factor. A response outside the standards' responses is not extrapolated.
| Symbol | Meaning |
|---|---|
X' | calibrated concentration, the standards' unit |
Y' | the unknown's mean response, 1 |
Source 1.
Conventions
- Convention chosen by this project: replicate responses are averaged at each standard concentration before the curve is fitted. Fitting every replicate instead gives the same curve when each standard has the same number of replicates, and a different one when they do not; the interval on an unknown also changes, because the residual variance and its degrees of freedom are then estimated from every reading.
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of standard-curve-interpolation@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
- model = linear
- unit = µg/mL
- readings[0].role = standard
- readings[0].concentration = 0
- readings[0].response = 0.05
- readings[1].role = standard
- readings[1].concentration = 1
- readings[1].response = 0.25
- readings[2].role = standard
- readings[2].concentration = 2
- readings[2].response = 0.46
- readings[3].role = standard
- readings[3].concentration = 3
- readings[3].response = 0.64
- readings[4].role = standard
- readings[4].concentration = 4
- readings[4].response = 0.85
- readings[5].role = unknown
- readings[5].label = S1
- readings[5].response = 0.55
- readings[5].dilutionFactor = 2
Steps
- means: x̄, ȳ = x̄ = 2.00000; ȳ = 0.450000.
- sxx: Σ(x − x̄)² = 10.0000.
- sxy: Σ(x − x̄)(y − ȳ) = 1.99000.
- b: Sxy/Sxx = 0.199000000, gives result.model.slope.
- a: ȳ − b·x̄ = 0.0520000000, gives result.model.intercept.
- xprime: (0.55 − a)/b = 2.50251256 µg/mL, gives result.unknowns[0].concentration.
- original: X' × 2 = 5.00502513 µg/mL, gives result.unknowns[0].originalConcentration.
The working, as the case writes it:
b = Sxy/Sxx
a = ȳ − b·x̄
X' = (Y' − a)/b
original = X' × dilution.
Answer
result.model.slope = 0.199000000
result.model.intercept = 0.0520000000
result.unknowns[0].concentration = 2.50251256 µg/mL
result.unknowns[0].originalConcentration = 5.00502513 µg/mL
Where these values came from: our own exact-arithmetic script and a hand-worked case; NIST/SEMATECH e-Handbook of Statistical Methods, §2.3.6.6 Calibration of future measurements: X' = (Y' − â)/b̂.
The build has not run this example through the tool.
Inverse-prediction interval on a calibration unknowncalibration-inverse-prediction@2.0.0
Equation 1
The fit is on the standard means: n levels, each the mean of r kept readings, p parameters, N = n·r readings. The reading variance is pooled from the individual readings: s² = (Σᵢ r·(ȳᵢ − f(xᵢ))² + Σᵢ (r − 1)·sdᵢ²)/(N − p), and t = t(0.975, N − p). With r = 1 this is RSS/(n − p).
| Symbol | Meaning |
|---|---|
s² | pooled reading variance, response² |
t | Student's t quantile, 1 |
Source 2.
Equation 2
Linear, on concentration (the inversion or Fieller interval): with g = t²(s²/r)/(b²·Sxx), the bounds are c̄ + ((c0 − c̄) ± (t·√(s²/r)/|b|)·√((1 − g)(r/m + 1/n) + (c0 − c̄)²/Sxx))/(1 − g), where c0 is the interpolated concentration of an unknown read m times
g ≥ 1 bounds nothing. With r = 1 and m = 1 this is Greenwell and Schubert Kabban's Eq. (2).
| Symbol | Meaning |
|---|---|
c0 | interpolated concentration of the unknown, the stated unit |
c̄, Sxx | mean and sum of squared deviations of the standard concentrations, the stated unit; its square |
b | slope of the line, response per concentration |
g | Fieller's g, 1 |
Source 2.
Equation 3
4PL and 5PL, on x = log10 concentration: the delta method on the inverse at f(θ, x0) = ȳ0, var(x0) = (∇θf(x0)ᵀ·Σ·∇θf(x0) + s²/m)/f′(x0)², Σ = (s²/r)(JᵀJ)⁻¹ with J the model's Jacobian over the standard means
bounds 10^(x0 ± t·√var(x0)), labelled approximate. The original-sample bounds are the bounds × the dilution factor.
| Symbol | Meaning |
|---|---|
x0 | log10 of the interpolated concentration, 1 |
Σ | covariance of the curve's parameters, as the parameters |
Source 3.
| Constant | Value | From |
|---|---|---|
Interval level level | a table of values, part of the method | Source not recorded |
Fewest residual degrees of freedom on the levels, n − p (five standards for a line): a judgement df_min | a table of values, part of the method | Source not recorded |
Logistic: the slope at the unknown below this fraction of the slope at the midpoint withholds the interval (near an asymptote): a judgement slope_min | a table of values, part of the method | Source not recorded |
Kind of method: not recorded.
Worked example
Worked example: one case of calibration-inverse-prediction@2.0.0, 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
- model = linear
- unit = µg/mL
- readings[0].role = standard
- readings[0].concentration = 0
- readings[0].response = 0.05
- readings[1].role = standard
- readings[1].concentration = 1
- readings[1].response = 0.25
- readings[2].role = standard
- readings[2].concentration = 2
- readings[2].response = 0.46
- readings[3].role = standard
- readings[3].concentration = 3
- readings[3].response = 0.64
- readings[4].role = standard
- readings[4].concentration = 4
- readings[4].response = 0.85
- readings[5].role = unknown
- readings[5].label = S1
- readings[5].response = 0.55
- readings[5].dilutionFactor = 2
Steps
- line: b, a, x̄ and Sxx from hand-linear-five-standards = b = 0.199000000, a = 0.0520000000, x̄ = 2, Sxx = 10.
- x0: (0.55 − a)/b = 2.50251256 µg/mL.
- rss: Σ(y − a − b·x)² = 0.000190000000.
- sigma: √(RSS/(n − 2)) = 0.00795822426.
- t: t(0.975, 3), from the t distribution function = 3.18244631.
- g: t²σ̂²/(b²·Sxx) = 0.00161975140.
- low: Eq. (2), minus = 2.36233529 µg/mL, gives result.unknowns[0].interval.low.
- high: Eq. (2), plus = 2.64432037 µg/mL, gives result.unknowns[0].interval.high.
- original: × dilution factor 2 = 4.72467057 to 5.28864074 µg/mL.
The working, as the case writes it:
x̂0 + ((x̂0 − x̄)g ± (tσ̂/b)√((x̂0 − x̄)²/Sxx + (1 − g)(1/m + 1/n)))/(1 − g), g = t²σ̂²/(b²Sxx)
the original-sample bounds are these × 2.
Answer
result.unknowns[0].interval.low = 2.36233529 µg/mL
result.unknowns[0].interval.high = 2.64432037 µg/mL
result.unknowns[0].interval.originalLow = 4.72467057
result.unknowns[0].interval.originalHigh = 5.28864074
Where these values came from: our own exact-arithmetic script and a hand-worked case; Greenwell and Schubert Kabban 2014, Eq. (2) (the inversion interval; t with n + m − 3 = 3 degrees of freedom).
The build has not run this example through the tool.
Blank-based limits, dilution linearitycalibration-blank-limits@1.0.0
Limits from the kept blank readings: their mean ȳ_b and sample standard deviation s_b (n − 1). The limit of detection is the concentration at which the fitted standard curve reads ȳ_b + 3 s_b, and the limit of quantification the concentration at which it reads ȳ_b + 10 s_b (minus k·s_b for a falling curve, the sign by the curve's direction across the tested range), less any blank subtracted. A limit needs at least six kept blanks with a spread
it is reported as below the lowest standard when its threshold lies below that standard's response, and withheld when it lies above the highest, beyond a logistic plateau, or with no fit: never extrapolated. Dilution linearity: for each label read at two or more dilution factors, each in-range dilution's back-calculated original concentration, its percent of the series mean and the coefficient of variation
with three or more, the least-squares slope of log10 original concentration on log10 dilution factor with a 95 percent t interval (k − 2 degrees of freedom), an observation.
Source 4.
| Constant | Value | From |
|---|---|---|
Multipliers of the blank standard deviation: 3 for detection, 10 for quantification k | a table of values, part of the method | Source 4 |
Fewest kept blanks for a limit n_min | a table of values, part of the method | Source 4 |
Fewest in-range dilutions for the series summary n_series | a table of values, part of the method | Source 4 |
Fewest in-range dilutions for the log–log trend n_trend | a table of values, part of the method | Source 4 |
Kind of method: not recorded.
Worked example
Worked example: one case of calibration-blank-limits@1.0.0, 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
- model = linear
- unit = µg/mL
- readings[0].role = standard
- readings[0].concentration = 0
- readings[0].response = 0.05
- readings[1].role = standard
- readings[1].concentration = 1
- readings[1].response = 0.25
- readings[2].role = standard
- readings[2].concentration = 2
- readings[2].response = 0.46
- readings[3].role = standard
- readings[3].concentration = 3
- readings[3].response = 0.64
- readings[4].role = standard
- readings[4].concentration = 4
- readings[4].response = 0.85
- readings[5].role = blank
- readings[5].response = 0.05
- readings[6].role = blank
- readings[6].response = 0.06
- readings[7].role = blank
- readings[7].response = 0.04
- readings[8].role = blank
- readings[8].response = 0.05
- readings[9].role = blank
- readings[9].response = 0.07
- readings[10].role = blank
- readings[10].response = 0.03
Steps
- line: b and a from hand-linear-five-standards = b = 0.199000000, a = 0.0520000000.
- mean: Σ blanks / 6 = 0.0500000000.
- sd: √(Σ(y − ȳ)² / 5) = 0.0141421356.
- lod-threshold: ȳ_b + 3 s_b = 0.0924264069.
- loq-threshold: ȳ_b + 10 s_b = 0.191421356.
- range: responses at 0 and 4 µg/mL: a and a + 4b = 0.0520000 to 0.848000: both thresholds inside, so neither is extrapolated.
- lod: (threshold − a)/b = 0.203147773 µg/mL, gives result.limits.lod.concentration.
- loq: (threshold − a)/b = 0.700609830 µg/mL, gives result.limits.loq.concentration.
The working, as the case writes it:
ȳ_b and s_b (n − 1)
threshold = ȳ_b + k·s_b
concentration = (threshold − a)/b, inside [a, a + 4b].
Answer
result.limits.lod.concentration = 0.203147773 µg/mL
result.limits.loq.concentration = 0.700609830 µg/mL
Where these values came from: our own exact-arithmetic script and a hand-worked case; Eurachem 2014, Quick Reference 2 note 3 (LOD at the blank signal + 3 s) and §6.2.4 (kQ = 10).
The build has not run this example through the tool.
Five-parameter logistic standard curvefive-pl-calibration@1.1.0
Equation 1
y = Bottom + (Top − Bottom)/(1 + 10^((logMidpoint − x)·Hill))^s, x = log10 concentration
drc's LL.5 with b = −Hill, c = Bottom, d = Top, e = 10^logMidpoint, f = s. It reduces to the 4PL at s = 1.
| Symbol | Meaning |
|---|---|
x | log10 of the concentration, 1 |
s | asymmetry, 1 |
Hill | slope factor, 1 |
Source 5.
Equation 2
Fitted unweighted to the standard means by bounded Levenberg–Marquardt (levenberg-marquardt-bounded@2.0.0) from the 4PL's estimates, s fitted as ln s within the box
s on the box refuses the 5PL. An unknown is read by the closed-form inverse, x = logMidpoint − log10(((Top − Bottom)/(y − Bottom))^(1/s) − 1)/Hill, and only within the standards.
| Symbol | Meaning |
|---|---|
y | the unknown's mean response, response |
Source 6.
| Constant | Value | From |
|---|---|---|
ln s bounded to [ln 0.1, ln 10]; a fit on the box is refused ln s box | a table of values, part of the method | Source not recorded |
Fewest distinct standard concentrations per model (linear 3, 4PL 5, 5PL 7) n_min | a table of values, part of the method | Source not recorded |
Kind of method: not recorded.
Worked example
Worked example: one case of five-pl-calibration@1.1.0, 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
- model = 5pl
- unit = ng/mL
- readings[0].role = standard
- readings[0].concentration = 0.01
- readings[0].response = 0.2900622833387577
- readings[1].role = standard
- readings[1].concentration = 0.03162277660168379
- readings[1].response = 0.4273132060368894
- readings[2].role = standard
- readings[2].concentration = 0.1
- readings[2].response = 0.6775757830936322
- readings[3].role = standard
- readings[3].concentration = 0.31622776601683794
- readings[3].response = 1.0621027160042082
- readings[4].role = standard
- readings[4].concentration = 1
- readings[4].response = 1.5820218032935336
- readings[5].role = standard
- readings[5].concentration = 3.1622776601683795
- readings[5].response = 2.039246873085281
- readings[6].role = standard
- readings[6].concentration = 10
- readings[6].response = 2.27233948329108
- readings[7].role = standard
- readings[7].concentration = 31.622776601683793
- readings[7].response = 2.3645514560718572
- readings[8].role = standard
- readings[8].concentration = 100
- readings[8].response = 2.3882437992104517
- readings[9].role = unknown
- readings[9].label = u0
- readings[9].response = 0.5
Steps
- params: SciPy's fit = B = 0.1047212282, T = 2.398815840, L = 0.1998150554, H = 1.106942973, ln s = -0.8001143531.
- s: exp(ln s) = 0.449277585.
- ratio: (T − B)/(0.5 − B) = 5.80373846.
- u: ratio^(1/s) − 1 = 49.1022712.
- x: L − log10(u)/H = -1.32790735.
- concentration: 10^x = 0.0469994364 ng/mL, gives result.unknowns[0].concentration.
The working, as the case writes it:
y = B + (T − B)/(1 + u)^s, u = 10^((L − x)·H)
so u = ((T − B)/(y − B))^(1/s) − 1, x = L − log10(u)/H, concentration = 10^x.
Answer
result.unknowns[0].concentration = 0.0469994364 ng/mL
Where these values came from: a published dataset, Python decimal (50 significant digits) as recorded in stored reference values; SciPy's residual sums of squares in stored reference values, case asymmetric-rising.
The build has not run this example through the tool.
Four-parameter logistic fitfour-pl@2.1.1
Equation 1
y = Bottom + (Top − Bottom) / (1 + 10^((logIC50 − x) × Hill)), x = log10 of the concentration in mol/L. This is Ritz 2015's Eq. (2), f(x) = c + (d − c)/(1 + exp(b (log x − log e))), with c = Bottom, d = Top, e = IC50 and b = −Hill.
| Symbol | Meaning |
|---|---|
y | response, 1 |
x | log10 of the concentration in mol/L, 1 |
Top, Bottom | the curve's plateaus, in the response's own unit, 1 |
logIC50 | log10 of the concentration at the curve's midpoint, in mol/L, 1 |
Hill | slope; negative for a falling (inhibition) curve, 1 |
Source 6.
Equation 2
Unweighted: minimise Σ (yᵢ − f(xᵢ))² over the free parameters (Ritz 2015, Eq. (4), with every weight 1).
| Symbol | Meaning |
|---|---|
f(x_i) | the curve at observation i, 1 |
Source 6.
Kind of method: not recorded.
Worked example
Worked example: one case of four-pl@2.1.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
- points[0].concentration = 0.0001
- points[0].response = -0.078
- points[1].concentration = 0.000033333333333333335
- points[1].response = 0.479
- points[2].concentration = 0.000011111111111111112
- points[2].response = 6.634
- points[3].concentration = 0.0000037037037037037037
- points[3].response = 8.238
- points[4].concentration = 0.000001234567901234568
- points[4].response = 16.416
- points[5].concentration = 4.11522633744856e-7
- points[5].response = 38.245
- points[6].concentration = 1.3717421124828532e-7
- points[6].response = 72.189
- points[7].concentration = 4.5724737082761776e-8
- points[7].response = 84.997
- points[8].concentration = 1.5241579027587257e-8
- points[8].response = 97.081
- points[9].concentration = 5.080526342529086e-9
- points[9].response = 98.388
- concentrationUnit = M
- weighting = none
Steps
- params: R nls estimates = Top 99.35503600, Bottom 1.787072884, logIC50 -6.555375013, Hill -1.129301666.
- f1: 4PL = f = 1.9138245; y − f = -1.9918245; (y − f)² = 3.9673647, from C_M = 0.000100000, y = -0.078.
- f2: 4PL = f = 2.2239736; y − f = -1.7449736; (y − f)² = 3.0449327, from C_M = 0.0000333333, y = 0.479.
- f3: 4PL = f = 3.2813897; y − f = 3.3526103; (y − f)² = 11.239996, from C_M = 0.0000111111, y = 6.634.
- f4: 4PL = f = 6.7668271; y − f = 1.4711729; (y − f)² = 2.1643497, from C_M = 0.00000370370, y = 8.238.
- f5: 4PL = f = 17.087232; y − f = -0.67123229; (y − f)² = 0.45055279, from C_M = 0.00000123457, y = 16.416.
- f6: 4PL = f = 39.974692; y − f = -1.7296924; (y − f)² = 2.9918357, from C_M = 0.000000411523, y = 38.245.
- f7: 4PL = f = 69.090046; y − f = 3.0989543; (y − f)² = 9.6035180, from C_M = 0.000000137174, y = 72.189.
- f8: 4PL = f = 88.126992; y − f = -3.1299921; (y − f)² = 9.7968505, from C_M = 0.0000000457247, y = 84.997.
- f9: 4PL = f = 95.818707; y − f = 1.2622927; (y − f)² = 1.5933828, from C_M = 0.0000000152416, y = 97.081.
- f10: 4PL = f = 98.305314; y − f = 0.082685779; (y − f)² = 0.0068369380, from C_M = 0.00000000508053, y = 98.388.
- rss: RSS = Σ (y − f)² = 44.859620, gives rss.
The working, as the case writes it:
y = Bottom + (Top − Bottom)/(1 + 10^((logIC50 − log10 C)·Hill))
RSS = Σ (y − f)².
Answer
rss = 44.859620
Where these values came from: another program's fit of our model; Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10:e0146021, Eq. (2); R nls estimates as printed in stored reference values.
The build has not run this example through the tool.
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic startslevenberg-marquardt-bounded@2.0.0
Minimise Σ rᵢ(p)² over a box of parameters by damped Gauss–Newton steps with the analytic Jacobian J: solve (JᵀJ + λ diag(JᵀJ)) δ = Jᵀr (Marquardt's damping on the diagonal, so the step scales with each parameter), clamp the trial point to the box, and accept it only when the objective falls, lowering λ
otherwise raise λ. Stop when an accepted step changes the objective or every parameter by less than the set fractions, or the scaled projected gradient is below its tolerance. The 4PL fit calls it from deterministic starts read off the data and from alternate Hill starts of 0.5, 1, 2 and 4, and keeps the lowest objective.
Source 7.
Conventions
- Convention chosen by this project: the fit searches only inside a box of parameter values read off the data, and a fit that ends on the box's edge is reported as such. An unbounded search could return different parameters, or none, where the best fit lies outside the box; inside the box the fit is the same.
Kind of method: not recorded.
Worked example: not recorded for levenberg-marquardt-bounded@2.0.0.
1/Y² weighting by the fitted curveweighting-1-over-y2@2.0.0
No equation is recorded for this version.
Kind of method: not recorded.
Worked example: not recorded for weighting-1-over-y2@2.0.0.
Extra-sum-of-squares F-testextra-sum-of-squares-f@2.1.0
F = ((RSS_r − RSS_f)/(df_r − df_f)) / (RSS_f/df_f), df = observations − fitted parameters
p is the upper tail of F(df_r − df_f, df_f)
the fuller model is preferred when p < α. No result when df_r − df_f or df_f is not positive, or when RSS_f is at most 1e-20 of the sum of squared responses Σy² (a fit to rounding residue).
| Symbol | Meaning |
|---|---|
RSS_r, RSS_f | residual sums of squares of the reduced and the full model, on the same observations, response² |
df_r, df_f | residual degrees of freedom, 1 |
α | threshold, 1 |
Source 8.
| Constant | Value | From |
|---|---|---|
Threshold for preferring the fuller model α | a table of values, part of the method | Source 8 |
Kind of method: not recorded.
Worked example
Worked example: one case of extra-sum-of-squares-f@2.1.0, 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
- model = 5pl
- unit = ng/mL
- readings[0].role = standard
- readings[0].concentration = 0.01
- readings[0].response = 0.2900622833387577
- readings[1].role = standard
- readings[1].concentration = 0.03162277660168379
- readings[1].response = 0.4273132060368894
- readings[2].role = standard
- readings[2].concentration = 0.1
- readings[2].response = 0.6775757830936322
- readings[3].role = standard
- readings[3].concentration = 0.31622776601683794
- readings[3].response = 1.0621027160042082
- readings[4].role = standard
- readings[4].concentration = 1
- readings[4].response = 1.5820218032935336
- readings[5].role = standard
- readings[5].concentration = 3.1622776601683795
- readings[5].response = 2.039246873085281
- readings[6].role = standard
- readings[6].concentration = 10
- readings[6].response = 2.27233948329108
- readings[7].role = standard
- readings[7].concentration = 31.622776601683793
- readings[7].response = 2.3645514560718572
- readings[8].role = standard
- readings[8].concentration = 100
- readings[8].response = 2.3882437992104517
Steps
- ss: SciPy's RSS = SS4 = 0.00248071111934, SS5 = 0.0000582235374775.
- df: n − parameters = DF4 = 5, DF5 = 4.
- F: ((SS4 − SS5)/(DF4 − DF5))/(SS5/DF5) = 166.426685, gives result.comparisonWithFourPL.F.
- p: upper tail of F(1, 4) = 0.000208211999, gives result.comparisonWithFourPL.p.
The working, as the case writes it:
F = ((SS4 − SS5)/(DF4 − DF5))/(SS5/DF5), DF = n − parameters
p = I_x(DF5/2, (DF4 − DF5)/2), x = DF5/(DF5 + (DF4 − DF5)F).
Answer
result.comparisonWithFourPL.F = 166.426685
result.comparisonWithFourPL.p = 0.000208211999
Where these values came from: a published dataset, Python decimal (50 significant digits) as recorded in stored reference values; SciPy's residual sums of squares in stored reference values, case asymmetric-rising.
The build has not run this example through the tool.
Corrected Akaike information criterionaicc@2.0.0
AICc = n ln(RSS/n) + 2K + 2K(K + 1)/(n − K − 1), K = fitted parameters + 1 (the variance)
null when RSS is zero or n ≤ K + 1. Of two fits of the same data the lower AICc is preferred
the difference and the Akaike weights exp(−Δ/2) normalised are reported.
| Symbol | Meaning |
|---|---|
n | observations, 1 |
RSS | residual sum of squares, response² |
K | fitted parameters plus one, 1 |
Source 9.
Kind of method: not recorded.
Worked example
Worked example: one case of aicc@2.0.0, 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
- model = 5pl
- unit = ng/mL
- readings[0].role = standard
- readings[0].concentration = 0.01
- readings[0].response = 0.2900622833387577
- readings[1].role = standard
- readings[1].concentration = 0.03162277660168379
- readings[1].response = 0.4273132060368894
- readings[2].role = standard
- readings[2].concentration = 0.1
- readings[2].response = 0.6775757830936322
- readings[3].role = standard
- readings[3].concentration = 0.31622776601683794
- readings[3].response = 1.0621027160042082
- readings[4].role = standard
- readings[4].concentration = 1
- readings[4].response = 1.5820218032935336
- readings[5].role = standard
- readings[5].concentration = 3.1622776601683795
- readings[5].response = 2.039246873085281
- readings[6].role = standard
- readings[6].concentration = 10
- readings[6].response = 2.27233948329108
- readings[7].role = standard
- readings[7].concentration = 31.622776601683793
- readings[7].response = 2.3645514560718572
- readings[8].role = standard
- readings[8].concentration = 100
- readings[8].response = 2.3882437992104517
Steps
- ss: SciPy's RSS = SS4 = 0.00248071111934, SS5 = 0.0000582235374775, n = 9.
- aicc4: 9 ln(SS4/9) + 10 + 60/3 = -43.7679114, gives result.comparisonWithFourPL.aicc4.
- aicc5: 9 ln(SS5/9) + 12 + 84/2 = -53.5360089, gives result.comparisonWithFourPL.aicc5.
- difference: AICc4 − AICc5 (the simpler minus the fuller, GraphPad's sign) = 9.76809758.
The working, as the case writes it:
AICc = n ln(SS/n) + 2K + (2K² + 2K)/(n − K − 1), K = parameters + 1.
Answer
result.comparisonWithFourPL.aicc4 = -43.7679114
result.comparisonWithFourPL.aicc5 = -53.5360089
Where these values came from: a published dataset, Python decimal (50 significant digits) as recorded in stored reference values; SciPy's residual sums of squares in stored reference values, case asymmetric-rising.
The build has not run this example through the tool.
Sources
NIST/SEMATECH e-Handbook of Statistical Methods, §2.3.6.6 Calibration of future measurements.
Used for: Standard-curve interpolation. At: section 2.3.6.6, Linear calibration line.
Read in full, 11 November 2026Greenwell BM, Schubert Kabban CM. investr: An R package for inverse estimation. The R Journal 2014;6(1):90-100.
Used for: Inverse-prediction interval on a calibration unknown. At: equation (1) the classical estimator; (2) the inversion interval, t with n + m − 3 degrees of freedom; (3) and (4) the Wald interval, section Calibration for straight line regression; Inversion interval; Wald interval.
Read in full, 11 November 2026NIST/SEMATECH e-Handbook of Statistical Methods, §2.3.6.7.1 Uncertainty for quadratic calibration using propagation of error.
Used for: Inverse-prediction interval on a calibration unknown. At: section 2.3.6.7.1: the uncertainty of the calibrated value X′ from the partial derivatives of the inverse with respect to Y′ and the coefficients.
Read in full, 11 November 2026B. Magnusson and U. Örnemark (eds.) Eurachem Guide: The Fitness for Purpose of Analytical Methods – A Laboratory Guide to Method Validation and Related Topics, (2nd ed. 2014). ISBN 978-91-87461-59-0.
Used for: Blank-based limits, dilution linearity. At: section 6.2.2 (6 to 15 replicates; 10 often recommended), 6.2.3 (LOD by the '3s' approach), 6.2.4 (LOQ = kQ × s′, IUPAC default kQ 10); Quick Reference 2, note 3 (in the signal domain the LOD is the concentration at the blank signal + 3 s′); Quick Reference 3.
Read in full, 11 November 2026Ritz C. drc: Analysis of Dose-Response Curves, R package, help page llogistic (The log-logistic function), as rendered by CRAN's reference manuals.
Used for: Five-parameter logistic standard curve. At: section Details: f(x) = c + (d − c)/(1 + exp(b(log(x) − log(e))))^f; asymmetric when f differs from 1.
Read in full, 11 November 2026Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021.
Used for: Five-parameter logistic standard curve; Four-parameter logistic fit. At: equation 2, 4, 5, section Dose-response models; Estimation procedures; equation 2; equation 4.
Read in full, 11 November 2026GraphPad Software. Prism Curve Fitting Guide: How the F test works to compare models.
Used for: Extra-sum-of-squares F-test. At: section the F ratio, F = ((SS1 − SS2)/(DF1 − DF2))/(SS2/DF2), with DF1 − DF2 numerator and DF2 denominator degrees of freedom (equation image _bm123.png, sha256 870e5430f7b3caf5fed028803320ac667106b6ac0d3f12a327b6c99ea79d7121).
Read in full, 11 November 2026GraphPad Software. Prism Curve Fitting Guide: How the AICc computations work; and Multiple logistic regression results: model diagnostics.
Used for: Corrected Akaike information criterion. At: section for least squares, ΔAIC = N ln(SS2/SS1) + 2ΔDF (equation image embim5.png); AICc = AIC + (2k² + 2k)/(n − k − 1), with k replaced by k + 1 for nonlinear regression (the model-diagnostics page, reg_multiple_logistic_results_model_diagnostics.htm, sha256 a9285c7580a4c2ca24d69e8c9a9bb3a7ab6a1c48a0c99717c70ab4264f1e2f34).
Read in full, 11 November 2026
Cited, not read
Marquardt DW. An algorithm for least-squares estimation of nonlinear parameters. J Soc Indust Appl Math 1963;11:431-441.
Used for: Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts. At: p. 431-441.
Not readCurrie LA. Limits for qualitative detection and quantitative determination. Application to radiochemistry. Anal Chem 1968;40:586-593.
Used for: Blank-based limits, dilution linearity.
ACS subscription; not fetched, and no abstract is indexed (Crossref metadata only, 11 November 2026). The engine's method record cites it from memory. The Eurachem guide, read in full, was used instead. Listed for a person to read.
Not readMacDougall D et al. (ACS Committee on Environmental Improvement). Guidelines for data acquisition and data quality evaluation in environmental chemistry. Anal Chem 1980;52:2242-2249.
Used for: Blank-based limits, dilution linearity.
ACS subscription; not fetched, and no abstract is indexed (Crossref metadata only, 11 November 2026). The engine's method record cites it from memory as the source of the 10σ limit. The Eurachem guide, read in full, gives kQ = 10 as the IUPAC default instead. Listed for a person to read.
Not readHill AV. The possible effects of the aggregation of the molecules of haemoglobin on its dissociation curves. J Physiol 1910;40(Suppl):iv-vii.
Used for: Four-parameter logistic fit.
No open copy was found (Europe PMC search, 11 November 2026). The form is taken from Ritz 2015, Eq. (2), read in full. Listed for a person to read.
Not readLevenberg K. A method for the solution of certain non-linear problems in least squares. Q Appl Math 1944;2:164-168.
Used for: Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts.
Not fetched; Crossref lists no open licence. The optimiser is checked by its result (the objective by hand at an outside program's optimum), not by its steps. Listed for a person to read.
Not readBurnham KP, Anderson DR. Model selection and multimodel inference: a practical information-theoretic approach. 2nd ed. Springer; 2002.
Used for: Corrected Akaike information criterion.
A book, not available openly; not read. GraphPad's guide pages, read, give the same AICc and K + 1. Listed for a person to read.
Not read
How it is checked
- Level
Tested, not reference-checked, the lowest of its 9 methods.
- Checked against
Standard-curve interpolation: Exact rational least squares (linear, 7 cases) and SciPy 1.13.1 (4PL, 2 cases); out-of-range unknowns flagged (10 October 2026). R not run on the 4PL cases.
Inverse-prediction interval on a calibration unknown: Inverse-prediction intervals, method 2.0.0 (the reading variance pooled over the standards' individual readings, SCI-123): checked against an independent oracle (exact rational arithmetic for the linear Fieller interval; SciPy with central finite differences for the 4PL and 5PL delta method) on 15 standard curves read once, twice, three times and unequally, with 32 unknowns: bounds within 1e-9 (linear) and 1e-6 relative (4PL, 5PL), every withheld state exact; against R 4.4.3 investr 1.4.2 (invest, over the individual standard readings) on the 11 intervals for unknowns read once: bounds and the pooled variance within 1e-9 relative (linear) and 1e-6 relative (4PL, 5PL), degrees of freedom exact. Simulated coverage of the 95 percent interval with duplicate and triplicate standards, 2,000 replicates in each of 8 designs (linear and 4PL, one standard layout each, the unknown mid-curve; the 5PL not simulated): 94.4 to 95.5 percent against gates of 93 (linear) and 90 percent (4PL); the first method, 0.6.0 to 0.12.0, gave 83.0 to 90.9 percent. R not compared on the 10 unknowns read more than once, where investr pools the unknown's own scatter (a different estimator) (14 October 2026).
Blank-based limits, dilution linearity: Exact rational least squares (Python fractions, 60-digit decimals) and noiseless 4PL standards read through the generating curve's closed-form inverse, on 14 synthetic cases (limits with and without blank subtraction, a falling and a rising 4PL, one and five blanks, identical blanks, limits below the lowest and above the highest standard, an excluded blank, four dilution series): limits within 1e-9 relative on lines and 1e-6 on the 4PL, the blank SD within 1e-12, original concentrations, percents, CV and the trend's bounds within 1e-9, states, reasons and notes exact; R 4.4.3 mean, sd and confint(lm) agree (2026-10-13).
Five-parameter logistic standard curve: SciPy 1.13.1 curve_fit (trf, s boxed to [0.1, 10], nine starts) on 3 fitted standard curves and 2 refusals (s at its box; six standards): parameters, ln s included, and fitted responses within 2e-5 absolute, concentrations within 5e-5 relative, statuses exact; R 4.4.3 drc 4.0-0 LL.5, started from SciPy's estimates, agrees on the 3 fitted curves (verification set 0.11.0, 12 October 2026). The intervals on its unknowns are the inverse-prediction method's; their coverage with the 5PL is not simulated.
Four-parameter logistic fit: Version 2 unweighted estimates and intervals are checked against the compatible R fixtures. Historical relative-loss and reporting-policy fixtures are archival, not validation of IRLS or the permutation gate.
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts: Version 2 unweighted estimates and intervals are checked against the compatible R fixtures. Historical relative-loss and reporting-policy fixtures are archival, not validation of IRLS or the permutation gate.
1/Y² weighting by the fitted curve: Version 2 uses fitted-response IRLS. Counterexample and fixed-weight normal-equation regression tests protect the estimator; the version 1 direct-loss R fixtures do not validate it. No Prism equivalence or weighted interval coverage is claimed.
Extra-sum-of-squares F-test: The oracle's hand-worked F and p, confirmed by drc's anova(), on 6 nested comparisons: the residual sums of squares within 1e-6 relative, F within 1e-5 relative and p within 1e-4 relative (2026-10-06).
Corrected Akaike information criterion: Unit-tested on nested fits of the fixture curves (6 October 2026); no external oracle.
- Cases
Standard-curve interpolation: No case set is linked to this version.
Inverse-prediction interval on a calibration unknown: No case set is linked to this version.
Blank-based limits, dilution linearity: No case set is linked to this version.
Five-parameter logistic standard curve: No case set is linked to this version.
Four-parameter logistic fit: No case set is linked to this version.
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts: No case set is linked to this version.
1/Y² weighting by the fitted curve: No case set is linked to this version.
Extra-sum-of-squares F-test: No case set is linked to this version.
Corrected Akaike information criterion: No case set is linked to this version.
- Hostile inputs
Sent 134 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
Standard-curve interpolation: The Assay Guidance Manual (Cox et al. 2019), which the method record also cites, was not re-read here.
Inverse-prediction interval on a calibration unknown: Only the linear path with r = 1 and m = 1 is checked by hand. The replicated-standards pooling, a replicated unknown, the logistic delta method and every withheld branch have no hand case here.
Blank-based limits, dilution linearity: Currie 1968 and MacDougall et al. 1980, which the engine's method record cites from memory, were not read (ACS subscription; no indexed abstract).
Five-parameter logistic standard curve: The fit is iterative and is not worked by hand: the hand case reads an unknown through SciPy's published parameters by the closed-form inverse; the engine's own fit gives 0.046999436509 ng/mL against 0.046999436393 by hand, within the set's 5e-5 relative. Gottschalk and Dunn 2005 and Findlay and Dillard 2007, cited by this project's ruling from memory, were not read; the form is anchored on drc's documentation and Ritz 2015 (read in full), which names LL.5 but prints only its f = 1 case.
Four-parameter logistic fit: The outside reference, R's nls, fitted the curve this project typed, on data this project generated (synthetic, known noise): agreement shows the minimisation, not an independent check of the model (this project's ruling of 11 November 2026, section S8(f), "another program's fit of our model"). No published case set names four-pl@2.1.1: the R reference set is not tied to this version by its manifest.
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts: Neither Levenberg 1944 nor Marquardt 1963 was read; the method is described from the engine's own documentation and checked only by its results against R's nls and drc. Convergence from poor starts beyond the deterministic and alternate Hill starts is not checked.
1/Y² weighting by the fitted curve: Not recorded. Its absence does not mean everything was checked.
Extra-sum-of-squares F-test: The 0.05 threshold is a convention GraphPad's page does not fix; it is the engine's export, anchored here only to the page that describes the test. The hand case takes the two sums of squares from SciPy's published fits, so it checks the F and p arithmetic, not the fits; on that case the engine's F agrees to about 1e-13 relative.
Corrected Akaike information criterion: Burnham and Anderson 2002, which the engine's method record cites, was not read (a book). GraphPad's pages give the least-squares AIC as a difference, N ln(SS2/SS1) + 2ΔDF, and the correction (2k² + 2k)/(n − k − 1) with k → k + 1; the absolute form n ln(RSS/n) + 2K is that difference written per model, with the shared constant omitted.
What was not checked, in fullfrom the method records
- The Assay Guidance Manual (Cox et al.
- 2019), which the method record also cites, was not re-read here.
- No published case set names standard-curve-interpolation@1.0.1 by exact key.
- The rescaled check was scanned on 46 fixture curves out to 2^±100 and on seeded random curves, not on measured standard curves; a curve whose fit is scale-dependent within the fitter's own working range is refused, not repaired.
Inverse-prediction interval on a calibration unknown
- Only the linear path with r = 1 and m = 1 is checked by hand.
- The replicated-standards pooling, a replicated unknown, the logistic delta method and every withheld branch have no hand case here.
- The logistic path is anchored on NIST's propagation of error for a calibrated value (§2.3.6.7.1, worked there for a quadratic curve) and on the paper's Wald interval; neither prints the 4PL or 5PL gradient the engine uses.
- Draper and Smith 1998 (pp.
- 47-51), which the paper cites for Eq.
- (2), and Fieller 1954 were not read.
- This project's ruling of 13 October 2026 named NIST §2.3.6.7 for the linear interval "section number to be confirmed on reading": read here, that section gives propagation of error and check standards, not the inversion interval, which is anchored on the investr paper instead.
- The coverage simulation (94.4 to 95.5 percent in 8 designs) is the engine's fixture note, not re-run here.
Blank-based limits, dilution linearity
- Currie 1968 and MacDougall et al.
- 1980, which the engine's method record cites from memory, were not read (ACS subscription; no indexed abstract).
- The multipliers 3 and 10 and the six-blank floor are anchored on the Eurachem guide, read in full (6 to 15 replicates; kQ 10 the IUPAC default), not on the papers the engine names.
- The IUPAC Gold Book entries were not read: the site answered with a bot check (11 November 2026).
- The six-blank floor is this project's ruling of 13 October 2026; Eurachem's range of 6 to 15 replicates is the read support for it.
- Only a rising linear curve with no blank correction is checked by hand.
- A falling curve, a logistic curve, the withheld branches and the whole dilution-linearity summary (originals, percent of mean, CV, the log–log slope and its t interval) have no hand case here.
- No published case set names calibration-blank-limits@1.0.0 by exact key; its cases are synthetic (this project's ruling of 11 November 2026, section S9).
Five-parameter logistic standard curve
- The fit is iterative and is not worked by hand: the hand case reads an unknown through SciPy's published parameters by the closed-form inverse; the engine's own fit gives 0.046999436509 ng/mL against 0.046999436393 by hand, within the set's 5e-5 relative.
- Gottschalk and Dunn 2005 and Findlay and Dillard 2007, cited by this project's ruling from memory, were not read; the form is anchored on drc's documentation and Ritz 2015 (read in full), which names LL.5 but prints only its f = 1 case.
- The ln s box, the seven-standard minimum and the refusal on the box are this project's judgements (its ruling's item 3), not values from a source.
- The drc release the help page renders was not recorded; R was not run here.
- The outside reference, R's nls, fitted the curve this project typed, on data this project generated (synthetic, known noise): agreement shows the minimisation, not an independent check of the model (this project's ruling of 11 November 2026, section S8(f), "another program's fit of our model").
- No published case set names four-pl@2.1.1: the R reference set is not tied to this version by its manifest.
- No measured dose-response data set from another party is among the cases.
- Interval coverage has not been simulated (tracked as [SCI-90](/technical/known-issues) in Known issues).
- Hill 1910 was not read; the form is taken from Ritz 2015, Eq.
- (2), read in full.
- No case runs this method through the served tool on its production runtime.
Bounded Levenberg-Marquardt with an analytic Jacobian and deterministic starts
- Neither Levenberg 1944 nor Marquardt 1963 was read; the method is described from the engine's own documentation and checked only by its results against R's nls and drc.
- Convergence from poor starts beyond the deterministic and alternate Hill starts is not checked.
- No published case set names levenberg-marquardt-bounded@2.0.0.
- The 0.05 threshold is a convention GraphPad's page does not fix; it is the engine's export, anchored here only to the page that describes the test.
- The hand case takes the two sums of squares from SciPy's published fits, so it checks the F and p arithmetic, not the fits; on that case the engine's F agrees to about 1e-13 relative.
- Carried forward from 2.0.0 unchanged: its fuller sum is far above the floor.
- Only the 4PL-against-5PL use in assay_standard_curve is hand-checked; the other four tools that cite this method (curve comparison, Schild, operational model, two-phase) are not.
- No textbook source for the F test was read; the GraphPad guide page is the only reading.
- The floor itself is checked by the engine's regressions and the zero-residual probe through the handlers, not by an independent oracle.
Corrected Akaike information criterion
- Burnham and Anderson 2002, which the engine's method record cites, was not read (a book).
- GraphPad's pages give the least-squares AIC as a difference, N ln(SS2/SS1) + 2ΔDF, and the correction (2k² + 2k)/(n − k − 1) with k → k + 1; the absolute form n ln(RSS/n) + 2K is that difference written per model, with the shared constant omitted.
- The hand case takes both sums of squares from SciPy's published fits, so it checks the AICc arithmetic, not the fits; the engine agrees to about 1e-14 relative there.
- The Akaike weights and the two-phase use are not hand-checked.
What this project's records still lack6 things
- A case worked by hand from the source's equation for levenberg-marquardt-bounded@2.0.0 and weighting-1-over-y2@2.0.0.
- A run of the worked example through the tool for standard-curve-interpolation@1.0.1 and calibration-inverse-prediction@2.0.0 and calibration-blank-limits@1.0.0 and five-pl-calibration@1.1.0 and four-pl@2.1.1 and extra-sum-of-squares-f@2.1.0 and aicc@2.0.0.
- The equation for weighting-1-over-y2@2.0.0.
- The constants with their sources for weighting-1-over-y2@2.0.0.
- A case set linked to this version for all nine methods.
- A record of what was not checked for weighting-1-over-y2@2.0.0.
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.
assay_standard_curve, server 1.0.0; standard-curve-interpolation@1.0.1 (Checked against a reference); four-pl@2.1.1 (Checked against a reference); levenberg-marquardt-bounded@2.0.0 (Checked against a reference); calibration-inverse-prediction@2.0.0 (Checked against a reference); calibration-blank-limits@1.0.0 (Checked against a reference; synthetic cases only); receipt 6d239e14a61b/4c6f6c6b9808; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/assay-standard-curve. Quote this line with any number taken from this reply.Changes to its methods3 changes
- 21 November 2026, extra-sum-of-squares-f@2.1.0: In 2.1.0 the F takes the sum of squared responses of the observations and gives no test when the fuller model's residual sum of squares is at most 1e-20 of it, the floor the other engines already used before the F (a repository convention, not a cited rule). Every caller passes it. The joint F of the example above is now absent at all three scales; noisy data on the same design keep their F unchanged in every digit.
- 21 November 2026, four-pl@2.1.1: In 2.1.1, when the largest absolute response or fixed plateau lies outside 2^±100, the responses and fixed plateaus are multiplied by the power of two that brings the largest into [64, 128) before the fit, and the plateaus, the objective and the residual sum of squares are multiplied back; the C50 and the Hill slope do not depend on the response's scale. A fit whose plateau, multiplied back, would pass the largest number the arithmetic can hold (responses near 1e308 with a plateau beyond them) is refused with that reason rather than reported with an infinite plateau. Inside 2^±100 nothing is scaled and every result is the same double: 1,000 seeded realistic calls of each of the eight tools that fit through it (responses from 1e-3 to 1e7 times percent) were compared reply by reply with the previous version and all 8,000 were equal. Between 2^±100 and the fitter's own working range the fit is unchanged: there 2.1.0 and 2.1.1 alike refuse some clear curves as not converged once the largest response passes about 2^44 (about 2e13) or falls below about 2^-41 (about 4e-13), which is recorded as an open known issue. Curves whose own responses span more than about 2^1000 were not checked; with 1/Y² weighting, a response that far below the largest can be lost in the scale.
- 21 November 2026, standard-curve-interpolation@1.0.1: In 1.0.1 the four-parameter fit is made again on the responses multiplied by the power of two that brings the largest into [64, 128), where the fitter's reference fixtures sit, and the given fit is kept only when that reference also reaches a minimum with its log midpoint within 5e-5; otherwise the curve is refused as having no finite identifiable calibration. A kept fit is the given fit, unchanged. On 46 fixture curves as standards, with their responses multiplied by every power of two that keeps the largest within 2^±100 (9,154 calls through the tool), 1.0.0 returned a fitted calibration for a curve refused in its own units 5 times and 1.0.1 never does, and no fitted log midpoint moves by more than 1e-4 from the curve's own. 1,000 seeded realistic calls were compared reply by reply with the previous version and all were equal. Across 300 calls with the responses scaled by 10^-300 to 10^300, 148 replies changed; of the 6 where 1.0.0 had fitted a curve, each now has the status and midpoint of the same curve with its responses brought near 100, among them one with its largest response near 3e10, fitted by 1.0.0 although refused in every nearer unit.