# Wald interval on log10 C50, version 2.0.0

wald-log-ic50\@2.0.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](https://www.drybench.com/methods/m/wald-log-ic50) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 2.0.0

**Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.** `wald-log-ic50@2.0.0`

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

Unweighted Wald arithmetic checked against compatible R fixtures. Requires residual degrees of freedom and nonzero residual variance; conditional on the supplied normalised observations.

Cases: no case set is linked to wald-log-ic50\@2.0.0.

### What was not checked

The standard error comes from R's nls on the curve this project typed; the hand case checks the interval's arithmetic from it, not the covariance. Coverage of the nominal 95 percent has not been simulated (tracked as \[SCI-90\](/technical/known-issues) in Known issues). No textbook source for (JᵀJ)⁻¹ s² was read; drc's covariance (Ritz 2015, Eq. 5) is recorded as the other reading. No published case set names wald-log-ic50\@2.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.

### Equations

```equation
logIC50 ± t(0.975, n − p) × SE, SE = √[(JᵀJ)⁻¹ s²] for logIC50, J the Jacobian of the curve at the solution, s² = RSS/(n − p).
```

| Symbol | Meaning and unit |
| --- | --- |
| t(0.975, n − p) | Student's t quantile, 1 |
| n | kept observations, 1 |
| p | free parameters, 1 |
| SE | standard error of logIC50 (a log10 difference, unit log10(1)), log10(1) |

Source: Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021., equation 5, section Nonlinear least squares, 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.

Two readings: Ritz C, Baty F, Streibig JC, Gerhard D. Dose-response analysis using R. PLoS ONE 2015;10(12):e0146021, equation 5, section Nonlinear least squares can be read as Covariance from the Gauss–Newton approximation (JᵀJ)⁻¹ s², as R's nls reports it, which the project's oracle uses or as Ritz 2015, Eq. (5): drc scales the inverse of the observed information matrix (a numerical Hessian from optim()) by σ̂². This project takes Covariance from the Gauss–Newton approximation (JᵀJ)⁻¹ s², as R's nls reports it, which the project's oracle uses, because The two agree at a well-determined least-squares minimum and differ in the higher-order terms; this project's ruling of 6 October 2026 (item 6) chose (JᵀJ)⁻¹ s². Recorded as the engine's reading: no textbook deriving it was read. Taking Ritz 2015, Eq. (5): drc scales the inverse of the observed information matrix (a numerical Hessian from optim()) by σ̂² would give a different result.

### Constants

Constants: none used.

### Worked example

Worked example: one case of wald-log-ic50\@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**

- 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. df: n − p = 6, from n = 10, p = 4.
2. t: t(0.975, 6) = 2.446912.
3. se: R nls, (JᵀJ)⁻¹s² = 0.04225759.
4. half: t × SE = 0.1034006.
5. lower: logIC50 − t × SE = -6.658776, from logIC50 = -6.55537501; gives lower.
6. upper: logIC50 + t × SE = -6.451974, gives upper.

The working, as the case writes it:

```equation
interval = logIC50 ± t(0.975, n − p) × SE.
```

**Answer**

- `lower` = **-6.658776**
- `upper` = **-6.451974**

Where these values came from: another program's fit of our model; R nls standard error as printed; t from its definition.

The build has not run this example through the tool.

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

### What it refuses, and its input ranges

- `WEIGHTED_FIT_NO_INTERVAL`: Relative-weighted fit (1/y2): no interval is given.
- `FIXED_C50_NO_INTERVAL`: logIC50 fixed in input: no interval is given.
- `ZERO_RESIDUAL_VARIANCE_NO_INTERVAL`: Zero residual degrees of freedom, or zero residual variance: no interval is given.
- `SINGULAR_JACOBIAN_NO_INTERVAL`: Singular Jacobian covariance matrix at solution: no interval is given.

### Changes

#### 2026-11-14-wald-log-ic50\@2.0.0-1

2026-11-14 · [`wald-log-ic50@2.0.0`](https://www.drybench.com/methods/m/wald-log-ic50) · Corrections to our methods

- **What was wrong:** The shared Student t quantile bisected on p = 1 − α in double precision, so forming 1 − α dropped α's low digits and the distribution function near its median lost 0.5 + small to cancellation: t was 7e-9 off (relative) at α 1e-9 (df 4) and 2.7e-3 off at α 0.4999999; at the levels the tools offer, it was within about 1e-13.
- **Affected:** dose\_response\_4pl, as the CSO's memo stored reference values states it: The t multiplier of the Wald log-IC50 interval moved by 8e-16 relative. No interval, estimate or conclusion changed at any printed digit.
- **What changed:** Student's t quantile is now found from its tail α: bisection on I\_{df/(df+t²)}(df/2, 1/2)/2 = α for α up to 0.25 and on I\_{t²/(df+t²)}(1/2, df/2) = 1 − 2α above, and from df 1e4 the Cornish–Fisher expansion where its last term is below 1e-17 of t. Against mpmath at 60 digits it is within 6.5e-15 relative for α from 1e-12 to 0.49999 and df from 1 to 1e9. The method's version is unchanged: no printed digit moved.
- **How it was found:** The raising run's full check of 14 November 2026: a second implementation in Python by a separate agent of the same model family disagreed on two α edge cases of the equivalence tool, and the shared routine was then measured against mpmath at 60 digits. Recorded as RAISE-F1 and SCI-918.
- **Cases added:** The pinned output hash of dose\_response\_4pl is re-pinned, and the catalogue's worked example regenerated.

## Tools that use it

- [`assay_c50_leave_one_out`](https://www.drybench.com/methods/tools/assay-c50-leave-one-out)
- [`assay_c50_next_concentration`](https://www.drybench.com/methods/tools/assay-c50-next-concentration)
- [`dose_response_4pl`](https://www.drybench.com/methods/tools/dose-response-4pl)

## Cite this version

Wald interval on log10 C50. Drybench; wald-log-ic50\@2.0.0; [https://www.drybench.com/methods/m/wald-log-ic50/2.0.0](https://www.drybench.com/methods/m/wald-log-ic50/2.0.0) (accessed \[date\]).
