Documentation

41.13 Case 4: a FOCE-I fit, read line by line

A FOCE-I fit: the objective and the parameters, iteration by iteration

What you will learn

  • Read the termination line, the iteration count and the gradient before looking at any estimate.
  • Interpret estimates, relative standard errors, confidence intervals and shrinkage.
  • Read the covariance-step diagnostics (condition number, boundary parameters).
  • Notice what the program tells you in its Notes, and act on it.

Prerequisites: Chapter 20, the fit command and 41.12.

The question: did the one-compartment oral model converge, and are its estimates usable?

The evidence: the Chapter 20 bundle oral_focei: control stream run20.ctl, data oral.csv (24 subjects, 192 observations after 24 pre-dose samples are set aside), outputs fit_summary.txt, parameters.csv, run20.ext and the covariance files.

The control stream

The model is the one the screen and autoinit pages arrive at: ADVAN2/TRANS2 (one compartment, first-order absorption), MU-referenced parameters, ETAs on CL and V, no ETA on KA, a combined proportional-plus-additive residual error written with THETAs ($SIGMA 1 FIX), and METHOD=1 INTERACTION (FOCE with interaction). Starting values: CL 4, V 45, KA 1.2, proportional SD 0.15, additive SD 0.02, ω² 0.09 for both ETAs.

The first three lines to read

Termination        : MINIMIZATION SUCCESSFUL — gradient below 1.0e-3
Iterations         : 17 (255 objective evaluations)
Final max gradient : 1.267e-4 (internal scale)
Initial OFV        : -414.2249
OBJECTIVE FUNCTION VALUE (OFV): -423.6680

Read in that order. The termination says the optimiser stopped because it met its criterion, not because it ran out of iterations. The final gradient, 1.3 × 10⁻⁴, is a factor of eight below the tolerance. The objective function fell from −414.22 to −423.67, an improvement of 9.44, most of it in the first iteration (the figure's left panel: −414.2 to −422.7, then a long flat tail). The right panel shows the parameters settling: CL, V and KA are within 5 % of their final values after the first step and within 0.1 % by the fifth.

A fit that "converged in 17 iterations" says the starting values were good, which is what 41.10 set out to ensure.

The estimates

Parameter Estimate RSE % 95 % CI
CL (L/h) 3.838 4.9 3.469 – 4.207
V (L) 42.62 4.6 38.81 – 46.43
KA (/h) 1.132 4.0 1.042 – 1.221
proportional SD 0.1507 7.0 0.130 – 0.171
additive SD 5.4 × 10⁻⁵ 100.4 −5 × 10⁻⁵ – 1.6 × 10⁻⁴
ω² CL 0.0553 (CV 23.8 %) 37.2 0.0150 – 0.0955
ω² V 0.0538 (CV 23.5 %) 34.9 0.0170 – 0.0907

The standard errors come from the sandwich estimator (R⁻¹SR⁻¹) on seven parameters. Four things to notice.

  1. The fixed effects are well determined: 4–5 % relative standard error with 24 subjects and 8 samples each.
  2. Variances are always less precise than means. Their RSEs (35–37 %) are typical for a population of 24.
  3. The additive residual SD is on its lower bound: 5 × 10⁻⁵, RSE 100 %, confidence interval straddling zero. The program says so in its Notes: "THETA(5) is near its lower bound (0); its standard error is not meaningful — check the bound and the parameterisation."
  4. Shrinkage is small: 2.3 % on both ETAs, 12.1 % on the residual (EPS). With 8 samples per subject, individual estimates are informative, so ETA-based diagnostics are reliable here (contrast the 69 % of page 41.11).

The covariance diagnostics

Covariance step: R^-1 S R^-1 (sandwich) on 7 parameter(s)
  eigenvalues of the correlation matrix: min 9.5583e-2, max 2.2992e0; condition number 2.4055e1
  condition number without the 1 parameter(s) near a boundary: 1.2408e1

A condition number of 24 is well-conditioned (compare 32 863 and 4.5 million on page 41.11). Excluding the boundary parameter it falls to 12. The one near-singular direction is the additive error, which the Notes already pointed out.

What the additive error says

An additive SD of 5 × 10⁻⁵ mg/L on concentrations of about 1 mg/L means the model sees no additive noise at all: the residual error is entirely proportional. The data do not support a second error parameter; the optimiser pushed it to the bound, and its standard error is meaningless. Two decisions are available:

Option Consequence
Keep the combined error Harmless to the other estimates (they are unaffected within rounding), but the model carries a parameter that is not identified, and the covariance matrix is nearly singular in one direction
Drop the additive term (proportional error only) One fewer parameter; the other estimates should be unchanged; the condition number should improve

(The second row is the expected consequence, not a result: no frozen bundle holds the refit.) The recommended action is the second, followed by a check that the OFV is unchanged to within a few hundredths. If it rose by more than about 3.84 (the 5 % threshold for one parameter, page 41.15), the additive term was doing real work, and the answer is "keep".

Pre-dose observations

24 observation(s) taken before any drug was given are left out of the estimation
(PRED = IPRED = 0): 24 before the first dose; listed in no_drug_records.csv

The file holds 24 records before time zero, one per subject (subject 1's has TIME −1 and DV 0.01). The program excludes them (the default) and lists them in no_drug_records.csv; --keep-predose would keep them. The model predicts exactly zero before the first dose, so a measured 0.01 at that time is not something the model could explain; the fit is simply not asked to. The 192 observations are the 216 in the file less these 24.

The decision

Question Evidence Decision Reversible?
Did the fit converge? MINIMIZATION SUCCESSFUL, gradient 1.3e-4, κ = 24 Yes yes
Are the estimates usable? RSE 4–5 % on the fixed effects, shrinkage 2.3 % Yes yes
What to do with THETA(5)? at its bound, RSE 100 % Drop the additive error and refit; accept if OFV is unchanged yes

What this case does not show

A converged fit is not an adequate model. Whether the model describes the data (residual patterns, observed against predicted, a visual predictive check) is the subject of Chapters 21 and 27, and of the evaluation case (41.25).

Review checklist

  • Did you read the termination line and the gradient before the estimates?
  • Is every RSE read together with the parameter's bound?
  • Do the Notes mention anything you have not acted on?
  • Is your decision about a boundary parameter written, with its reversal condition?

See the previous page, the next page and the complete case-study reference.