Extra-sum-of-squares F-test, version 2.1.0
extra-sum-of-squares-f@2.1.0: 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.0
Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page. extra-sum-of-squares-f@2.1.0
What this page can and cannot show
What was checked
Checked against 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).
Cases: no case set is linked to extra-sum-of-squares-f@2.1.0.
What was not checked
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. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
Equations
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 and unit |
|---|---|
| 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: GraphPad Software. Prism Curve Fitting Guide: How the F test works to compare models., 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), the guide for the latest Prism, as served on 11 November 2026 (page marked © 1995-2019); read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person.
Constants
| Constant | Value and unit | Source | Date read |
|---|---|---|---|
| Threshold for preferring the fuller model (α) | a table of values, part of the method | GraphPad Software. Prism Curve Fitting Guide: How the F test works to compare models., 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) | 2026-11-11 |
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.426685result.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.
Worked by an AI session on 2026-11-21. No person has yet worked this case.
What it refuses, and its input ranges
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).
Changes
2026-11-21-extra-sum-of-squares-f@2.1.0-1
2026-11-21 · extra-sum-of-squares-f@2.1.0 · Corrections to our methods
- What was wrong: The extra-sum-of-squares F was formed whenever the fuller model's residual sum of squares was above zero. Where the data lie exactly on the reduced model, both residual sums are rounding residue (about 1e-32 of the sum of squared responses), so F was a ratio of two residues. Two curves exactly on one four-parameter logistic, on grids of 8 × 3 and 10 × 2 wells, gave relative potency's joint F 5.67, p 0.0028, read as the data not supporting common Top, Bottom and Hill, with the responses scaled by 1e3, and F −12.0 and −1.6 at scales 1 and 1e-3.
- Affected: assay_curve_comparison and the Assay app's Compare panel (relative potency's joint F) in versions 2.0.0 and before; assay_schild_antagonism and assay_operational_model through their maximum, parallelism and slope tests (their own entries); the Assay app's per-curve nested comparisons. Only where the fuller model reproduces the responses to within 1e-20 of their sum of squares, which constructed exact data do. The midpoint and constraint tests of assay_curve_comparison have been withheld there since 17 November 2026, and assay_standard_curve, enzyme_initial_rates, enzyme_inhibition, enzyme_two_substrate, assay_two_phase_fit, binding_saturation, binding_competition and relate_curve_fit already withheld before the F at the same or a stricter floor. 1,000 seeded inputs for each of these eleven tools gave the same bits before and after.
- What changed: 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.
- How it was found: The scientific review's reading of the engine on 11 November 2026, then the mismatched-grid probe she asked for, run through the tool handlers on 21 November 2026: stored reference values.
- Cases added: stored reference values: the floor at scales 1, 1e±3 and 1e±100, at and just above it, and an ordinary F bit for bit. stored reference values: the joint F on the probe's exact and noisy pairs at scales 1, 1e-3 and 1e3. Both fail without the change.
Tools that use it
assay_curve_comparisonassay_operational_modelassay_schild_antagonismassay_standard_curveassay_two_phase_fit
Cite this version
Extra-sum-of-squares F-test. Drybench; extra-sum-of-squares-f@2.1.0; https://www.drybench.com/methods/m/extra-sum-of-squares-f/2.1.0 (accessed [date]).