Skip to content

Methods and checksMethods

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

Methods and checks pages

Four-parameter logistic fit, version 2.1.2

four-pl@2.1.2: 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 · Every method · What the levels mean

Version 2.1.2

Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. four-pl@2.1.2

What this page can and cannot show

What was checked

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.

Cases: no case set is linked to four-pl@2.1.2.

What was not checked

Independent SciPy refits on the synthetic dose campaign confirm that the 15 historical lower bounds are contradicted by feasible curves. The retained draft hand calculation demonstrates the unchanged model and threshold. It predates this check. The campaign is synthetic. It does not establish population coverage or replace an externally measured reference. No separately published case set or production-endpoint check is pinned to this version. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

Equations

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 and unit
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: Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021., equation 2, version of record, the publisher's JATS XML; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person.

Equation 2

Unweighted: minimise Σ (yᵢ − f(xᵢ))² over the free parameters (Ritz 2015, Eq. (4), with every weight 1).
Symbol Meaning and unit
f(x_i) the curve at observation i, 1

Source: Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021., equation 4, version of record, the publisher's JATS XML; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person.

Constants

Constants: none used.

Worked example

Worked example: one case of four-pl@2.1.2, 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

  1. params: R nls estimates = Top 99.35503600, Bottom 1.787072884, logIC50 -6.555375013, Hill -1.129301666.
  2. f1: 4PL = f = 1.9138245; y − f = -1.9918245; (y − f)² = 3.9673647, from C_M = 0.000100000, y = -0.078.
  3. f2: 4PL = f = 2.2239736; y − f = -1.7449736; (y − f)² = 3.0449327, from C_M = 0.0000333333, y = 0.479.
  4. f3: 4PL = f = 3.2813897; y − f = 3.3526103; (y − f)² = 11.239996, from C_M = 0.0000111111, y = 6.634.
  5. f4: 4PL = f = 6.7668271; y − f = 1.4711729; (y − f)² = 2.1643497, from C_M = 0.00000370370, y = 8.238.
  6. f5: 4PL = f = 17.087232; y − f = -0.67123229; (y − f)² = 0.45055279, from C_M = 0.00000123457, y = 16.416.
  7. f6: 4PL = f = 39.974692; y − f = -1.7296924; (y − f)² = 2.9918357, from C_M = 0.000000411523, y = 38.245.
  8. f7: 4PL = f = 69.090046; y − f = 3.0989543; (y − f)² = 9.6035180, from C_M = 0.000000137174, y = 72.189.
  9. f8: 4PL = f = 88.126992; y − f = -3.1299921; (y − f)² = 9.7968505, from C_M = 0.0000000457247, y = 84.997.
  10. f9: 4PL = f = 95.818707; y − f = 1.2622927; (y − f)² = 1.5933828, from C_M = 0.0000000152416, y = 97.081.
  11. f10: 4PL = f = 98.305314; y − f = 0.082685779; (y − f)² = 0.0068369380, from C_M = 0.00000000508053, y = 98.388.
  12. 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.

Worked by an AI session on 2026-11-21. No person has yet worked this case.

What it refuses, and its input ranges

  • 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.

Changes

2026-11-22-four-pl@2.1.2-1

2026-11-22 · four-pl@2.1.2 · Corrections to our methods

  • What was wrong: When a held refit switched to a higher-residual branch, a finite threshold crossing could be reported despite a competing curve with residual sum of squares below the threshold.
  • Affected: The Assay dose-response fit and callers that use the ordinary unweighted 4PL profile in 2.1.0 and 2.1.1.
  • What changed: Point estimates are unchanged. The fit reports an unresolved profile side when an apparent threshold crossing is contradicted by a feasible held refit. A numerical plateau edge alone cannot establish a crossing.
  • How it was found: Two runtimes returned different lower bounds on the synthetic SYN-0331 dose-response curve. Direct residual evaluation and an independent SciPy held-refit check found a feasible curve below the threshold at each reported bound.
  • Cases added: The dose-campaign@1 reference for fit 2.1.2 records the corrected unresolved sides separately from the historical fixture. The SYN-0331 regression checks a feasible nuisance refit and preserves the existing relative withholding and absolute endpoint.

Tools that use it

Cite this version

Four-parameter logistic fit. Drybench; four-pl@2.1.2; https://www.drybench.com/methods/m/four-pl/2.1.2 (accessed [date]).