Skip to content

Bell-shaped and biphasic curves

assay_two_phase_fit

Fits a bell-shaped or biphasic dose-response curve as a description beside the four-parameter fit.

Runs
Built, not hosted
Level
Tested, not reference-checked

What it is

Required: shape (bell, biphasic). Fits the chosen two-phase dose-response shape by unweighted least squares from a fixed grid. Shows the phases, plateaus and any fitted extreme when the reporting rules pass. Shows the approximate F and AICc comparison when computable. The four-parameter fit stays the reported IC50 or EC50. The fit describes shape over tested concentrations only.

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

What it does

You give

  • shape (required): The form of the fitted curve. Required.
  • points (required): The curve's wells.
  • concentrationUnit: Molar unit of every 'concentration' (M, mM, µM, nM, pM, fM). Required when any point gives concentration; refused when none does.
  • logConcentrationUnit: 'log10(M)': x is log10 of the concentration in mol/L. Required when any point gives x; refused when none does.

No request is recorded for this tool.

Limits

  • 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

  • No points.
  • A fitted plateau, multiplied back from the scaled responses, lies beyond the largest number the arithmetic can hold (2.1.1).
  • A concentration of zero or below is used as a point.
  • A concentration or response is not a finite number.
Every input, with its units4 inputs
  • shape (required): The form of the fitted curve. Required.
  • points (required): The curve's wells.
  • concentrationUnit: Molar unit of every 'concentration' (M, mM, µM, nM, pM, fM). Required when any point gives concentration; refused when none does.
  • logConcentrationUnit: 'log10(M)': x is log10 of the concentration in mol/L. Required when any point gives x; refused when none does.
Every refusal, with its code7 refusals
CodeWhen
NO_DATANo points.
beyond-double-rangeA fitted plateau, multiplied back from the scaled responses, lies beyond the largest number the arithmetic can hold (2.1.1).
NON_POSITIVE_CONCENTRATIONA concentration of zero or below is used as a point.
NON_FINITE_DATAA concentration or response is not a finite number.
INVALID_UNITA concentration without its concentrationUnit, or a log concentration without logConcentrationUnit "log10 M".
INVALID_FIXED_PARAMA fixed parameter that is not a finite number.
zero-residualThe 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

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

Bell-shaped and biphasic dose-response (chosen by the user, beside the 4PL)two-phase-dose-response@1.1.0

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for two-phase-dose-response@1.1.0.

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

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.

levenberg-marquardt-bounded@2.0.0

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.

SymbolMeaning
yresponse, 1
xlog10 of the concentration in mol/L, 1
Top, Bottomthe curve's plateaus, in the response's own unit, 1
logIC50log10 of the concentration at the curve's midpoint, in mol/L, 1
Hillslope; negative for a falling (inhibition) curve, 1

Source 2.

Equation 2

Unweighted: minimise Σ (yᵢ − f(xᵢ))² over the free parameters (Ritz 2015, Eq. (4), with every weight 1).

SymbolMeaning
f(x_i)the curve at observation i, 1

Source 2.

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

  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.

four-pl@2.1.1

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

SymbolMeaning
RSS_r, RSS_fresidual sums of squares of the reduced and the full model, on the same observations, response²
df_r, df_fresidual degrees of freedom, 1
αthreshold, 1

Source 3.

ConstantValueFrom
Threshold for preferring the fuller model αa table of values, part of the methodSource 3

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

  1. ss: SciPy's RSS = SS4 = 0.00248071111934, SS5 = 0.0000582235374775.
  2. df: n − parameters = DF4 = 5, DF5 = 4.
  3. F: ((SS4 − SS5)/(DF4 − DF5))/(SS5/DF5) = 166.426685, gives result.comparisonWithFourPL.F.
  4. 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.

extra-sum-of-squares-f@2.1.0

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.

SymbolMeaning
nobservations, 1
RSSresidual sum of squares, response²
Kfitted parameters plus one, 1

Source 4.

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

  1. ss: SciPy's RSS = SS4 = 0.00248071111934, SS5 = 0.0000582235374775, n = 9.
  2. aicc4: 9 ln(SS4/9) + 10 + 60/3 = -43.7679114, gives result.comparisonWithFourPL.aicc4.
  3. aicc5: 9 ln(SS5/9) + 12 + 84/2 = -53.5360089, gives result.comparisonWithFourPL.aicc5.
  4. 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.

aicc@2.0.0

Concentration-unit caution threshold above 0.1 Mconcentration-unit-caution-0.1m@1.0.0

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for concentration-unit-caution-0.1m@1.0.0.

concentration-unit-caution-0.1m@1.0.0

Sources

  1. Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021.

    Used for: Four-parameter logistic fit. At: equation 2; equation 4.

    Read in full, 11 November 2026
  2. GraphPad 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 2026
  3. GraphPad 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

  1. 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 read
  2. Levenberg 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 read
  3. Hill 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 read
  4. Burnham 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 6 methods.

Checked against

Bell-shaped and biphasic dose-response (chosen by the user, beside the 4PL): Bell-shaped and biphasic fits: checked against SciPy least_squares (a fixed grid of starts and 300 seeded starts, the rule written independently) on 8 cases (a reported bell and biphasic curve, a noiseless bell, a bend, separated phases, a minor phase, and two refusals): the engine's residual sum of squares at most the oracle's × (1 + 1e-6), midpoints, Hill slopes and the fraction within 1e-4, levels within 1e-4 of the response span, F and AICc within 1e-6 and p within 1e-4 relative, the refusals exact; R drc::drm with the seven-parameter forms agrees on all 6 fitted cases. The rule's false-report rate on plain four-parameter data (10 concentrations in duplicate, 1,000 replicates each): bell 0.0 percent at 5 and at 10 percent noise, biphasic 0.2 and 0.0 percent (13 October 2026). The F and AICc against the 4PL are information. No size limit found within 1e±30 in largest response. Worked example constructed by this project, not published: Biphasic and bell fits against the 4PL by F and ΔAICc. Absolute AICc is not covered. On bell data the 4PL is the tool's best point where no finite minimum exists.

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.

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.

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.

Concentration-unit caution threshold above 0.1 M: Unit-tested trigger on the highest tested molar concentration; 10 November 2026.

Cases

Bell-shaped and biphasic dose-response (chosen by the user, beside the 4PL): 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.

Four-parameter logistic fit: 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.

Concentration-unit caution threshold above 0.1 M: No case set is linked to this version.

Worked example

Worked example constructed by Drybench, not published. Inputs chosen by us; expected values computed by nonlinear least squares by SciPy 1.18.1 `least_squares` (trf) from a grid and 300 seeded starts, polished by Gauss-Newton at 50 digits in mpmath 1.3.0, cross-checked with R 4.3.3 minpack.lm 1.2-4, the four-parameter fit by drc 4.0-0 independently of the tool. Reasoning: docs/progress/library/2026-11-24-d0273-cases-brief-assay_two_phase_fit.md.

Hostile inputs

Sent 107 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

Bell-shaped and biphasic dose-response (chosen by the user, beside the 4PL): Not recorded. Its absence does not mean everything was checked.

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.

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.

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.

Concentration-unit caution threshold above 0.1 M: Not recorded. Its absence does not mean everything was checked.

What was not checked, in fullfrom the method records

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.

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

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.
  • 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 two-phase-dose-response@1.1.0 and levenberg-marquardt-bounded@2.0.0 and concentration-unit-caution-0.1m@1.0.0.
  • A run of the worked example through the tool for four-pl@2.1.1 and extra-sum-of-squares-f@2.1.0 and aicc@2.0.0.
  • The equation for two-phase-dose-response@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
  • The constants with their sources for two-phase-dose-response@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
  • A case set linked to this version for all six methods.
  • A record of what was not checked for two-phase-dose-response@1.1.0 and concentration-unit-caution-0.1m@1.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_two_phase_fit, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/assay-two-phase-fit. There is no result to quote; this line identifies the call and its receipt.
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.
  • 22 November 2026, two-phase-dose-response@1.1.0: In 1.1.0 the fit and the reporting rule run, at every response size, on the responses multiplied by the power of two that brings the largest into [64, 128), and the plateaus, the dip, the extreme's response, the residuals and the sums of squares are multiplied back, as 1.0.1 did only beyond 2^±100; the midpoints, slopes, the biphasic share, F and ΔAICc do not depend on the response's scale. The same curve at any power-of-two scale now gives the same fit, and every published case matches its published answer at every power of two within 2^±100. Responses already in [64, 128) give 1.0.1's result unchanged. Every changed reply agrees with the same curve brought near 100 by a power of ten in status and in every midpoint, slope, F and p shown within 1e-4, every plateau within 1e-4, and every stated reason. A residual sum of squares that is not given now carries the reason beside it.