Documentation

41.24 Case 5: a forest plot, rebuilt by hand

A forest plot of the final covariate model

What you will learn

  • Refit a selected covariate model as an ordinary control stream and read how much variability it explains.
  • Compute every ratio of a forest plot by hand from the coefficients.
  • Read the reference band, the 90 % intervals and the outside / overlaps / within labels.
  • Turn clearance and volume effects into steady-state exposure ratios, and explain why trough moves more than area.
  • Notice when a scenario leaves the range of the data.

Prerequisites: 41.20 and 41.23.

The question: how large are the retained covariate effects, in units a reader can act on?

The evidence: the Chapter 26 bundle fitted_covariate_model (the selected model, refitted) and the bundles primary, quantiles, point_only, typical_exposure and posthoc_exposure (the forest command).

First, refit the selected model

A forest plot reads a fitted model. The Chapter 26 bundle takes the draft control stream that the exhaustive SCM wrote (draft_model.ctl of the Chapter 23A bundle both_full, with the three retained relationships) and fits it as an ordinary run:

Parameter Estimate SE RSE %
CL (L/h) at the reference covariates 4.2751 0.1177 2.8
V (L) at the reference covariates 45.479 1.2997 2.9
KA (1/h) 1.1824 0.0248 2.1
Proportional residual SD 0.1489 0.0070 4.7
CL ~ WT exponent 0.7268 0.1159 15.9
CL ~ EGFR exponent 0.5776 0.1389 24.0
V ~ WT exponent 1.0100 0.1612 16.0
ω² CL 0.03854 (CV 19.8 %) 0.00770 20.0
ω² V 0.03243 (CV 18.2 %) 0.00643 19.8

It terminates MINIMIZATION SUCCESSFUL — relative OFV change below 1.0e-9 for 3 iterations at OFV −1157.8135 (10 iterations, 209 evaluations), which is the SCM's final OFV to all printed digits, and the sandwich covariance step runs on nine parameters with a correlation-matrix condition number of 7.4. The exponents match the SCM coefficients printed on page 41.20 (0.72683, 0.57762, 1.01002).

What the covariates bought, in the units of the random effects:

Base ω² Final ω² Reduction
CL 0.07087 0.03854 45.6 %
V 0.06901 0.03243 53.0 %

The base-to-final reduction, 1 − 0.03854/0.07087 = 0.456, is for clearance close to the 42 % that the stability engine attributes to the two clearance candidates (24.3 % + 17.9 %); for volume, 47 % (stability) against 53 % (refit). The two are different estimates of the same thing and they agree to within about ten percentage points.

What a forest plot computes

The forest command takes the model, its estimates and its covariance, and for each covariate value computes the ratio of the parameter to its value for the typical subject. Reference values are the data medians (WT 72.2, EGFR 93.6). Uncertainty comes from 500 draws from a multivariate normal around the estimates with the model's own covariance; the plot shows the median ratio and a 90 % interval. The command used:

nlmx forest <run26.ctl> --results-dir <fitted_covariate_model> --data <analysis.csv> \
      --parameters CL,V --forest-covariates WT,EGFR \
      --covariate-values WT=50,90 --covariate-values EGFR=60,120 \
      --scenario "Low weight renal impairment:WT=50,EGFR=45" \
      --reference-band 0.8,1.25 --samples 500 --ci 90 --seed 26048 …

Every ratio, by hand

For a power relationship the ratio is (covariate / reference)^θ. With the estimates above:

Row Computation By hand Stored median [90 % CI]
CL, WT 50 kg (50/72.20)^0.7268 0.766 0.77 [0.71, 0.82]
CL, WT 90 kg (90/72.20)^0.7268 1.174 1.17 [1.13, 1.22]
CL, eGFR 60 (60/93.62)^0.5776 0.773 0.77 [0.70, 0.84]
CL, eGFR 120 (120/93.62)^0.5776 1.154 1.15 [1.10, 1.22]
CL, scenario WT 50 + eGFR 45 0.766 × (45/93.62)^0.5776 0.501 0.50 [0.43, 0.58]
V, WT 50 kg (50/72.20)^1.010 0.690 0.69 [0.63, 0.76]
V, WT 90 kg (90/72.20)^1.010 1.249 1.25 [1.18, 1.33]

Every row matches. The between-subject variability rows are computed from ω: the 90 % interval of exp(η) for η ~ N(0, 0.03854) is exp(±1.645 × 0.19631) = [0.724, 1.381], stored as [0.72, 1.38]; for V, exp(±1.645 × 0.18009) = [0.744, 1.345], stored as [0.74, 1.34]. Seen against these, the covariate effects across the observed range are comparable in size to the random variability itself.

The labels

The band 0.80 to 1.25 is chosen by the user (--reference-band). Each row is labelled by where its interval lies:

Label Rule Colour in the figure
within the band the whole interval is inside 0.80–1.25 green
overlaps the band the interval crosses a band limit amber
outside the band * the whole interval lies outside red

Reading the figure: clearance at 90 kg and at eGFR 120 are within the band; clearance at 50 kg and at eGFR 60 overlap it (the upper ends, 0.82 and 0.84, are above 0.80, but the lower ends are below); volume at 50 kg is outside (0.76 < 0.80); and the scenario of low weight and low renal function, a clearance of half the typical value (0.50, interval 0.43–0.58), is the largest effect in the model. The program's footnote: the whole interval lies outside the reference band: a potentially relevant effect. The label is a screening signal. Whether a ratio matters clinically needs a clinical threshold, which belongs in the plan.

A scenario outside the data

The scenario uses eGFR 45. The study's eGFR runs from 56.3 to 142.1, so the scenario is an extrapolation in eGFR (weight 50 is inside the 45–105 range). The power model extrapolates smoothly, but nothing in the data supports the shape below 56; the interval of 0.43–0.58 reflects parameter uncertainty only, not model misspecification outside the range. A scenario row should be checked against the covariate ranges before it is reported. The program lists the ranges in the plot's covariate table (range 56.3–142 for eGFR) precisely so that this check is possible.

Across the observed range: quantiles

The bundle quantiles replaces chosen values by the 5th, 25th, 75th and 95th percentiles of the data, with 95 % intervals:

Covariate 5th 25th 75th 95th
WT (kg) 51.2 61.6 79.2 96.7
CL ratio 0.78 [0.71, 0.85] 0.89 1.07 1.24 [1.15, 1.33]
V ratio 0.71 [0.63, 0.78] 0.85 1.10 1.34 [1.23, 1.47]
EGFR 67.2 80.4 106 122
CL ratio 0.83 [0.76, 0.92] 0.92 1.08 1.16 [1.07, 1.25]

By hand: (51.2/72.20)^0.7268 = 0.779 and (96.7/72.20)^0.7268 = 1.237; (67.2/93.62)^0.5776 = 0.826 and (122/93.62)^0.5776 = 1.165; for V, (51.2/72.20)^1.010 = 0.707 and (96.7/72.20)^1.010 = 1.343. The 5th-to-95th-percentile span of subjects covers a clearance range of about 0.78 to 1.24 from weight and 0.83 to 1.16 from eGFR, while the random variability alone spans 0.72 to 1.38. This is the plain answer to "does CL ~ EGFR matter?": its effect over the middle 90 % of this population is smaller than the unexplained variability of clearance, and a reader may reasonably want it on the list anyway because it is the only renal term and the scenario shows it adds up.

The bundle point_only removes uncertainty (--no-uncertainty), variability and the band, leaving only the point ratios for the 5th and 95th percentiles (CL 0.78 and 1.24 for WT, 0.83 and 1.16 for eGFR, V 0.71 and 1.34): useful for a table of effect sizes, not for a claim about evidence.

From parameters to exposure

The bundle typical_exposure converts the same scenarios to steady-state exposure for 100 units every 24 h into the depot compartment, with the typical-subject values as the reference:

Row AUCτ,ss Cmax,ss Ctrough,ss
Typical subject 23.4 1.99 0.28
WT 50 kg 1.31 [1.21, 1.40] 1.39 [1.30, 1.47] 1.11 [0.89, 1.43]
eGFR 60 1.29 [1.17, 1.42] 1.13 [1.08, 1.19] 1.77 [1.44, 2.15]
Low weight + low eGFR 1.99 [1.71, 2.36] 1.69 [1.54, 1.88] 2.91 [2.08, 4.05]

Two checks from the closed form. The typical area is dose / CL = 100 / 4.2751 = 23.39. And the steady-state concentration of a one-compartment oral model, C(t) = D·KA / (V(KA − k)) · [e^(−kt)/(1 − e^(−kτ)) − e^(−KA·t)/(1 − e^(−KA·τ))] with k = CL/V, gives for the typical subject a trough of 0.280 and a peak of 1.99. For the scenario subject (CL 2.143, V 31.38) it gives an area of 46.65, a peak of 3.364 and a trough of 0.814: ratios 1.99, 1.69 and 2.91, the stored values.

The ratios show why the trough moves more than the area. Area depends on clearance alone (the ratio 1.99 is 1/0.50). The trough also depends on k = CL/V, which falls from 0.094 to 0.068 per hour in the scenario, so the concentration 24 h after dose is the tail of a slower decline: a 2.0-fold change in area becomes a 2.9-fold change in trough. A covariate analysis that stops at CL and V understates what matters if the concern is a trough target.

The bundle posthoc_exposure goes the other way: it computes each of the 60 subjects' own steady-state exposure from their individual estimates and compares the lowest and highest quartile of each covariate (n = 15 per group). The highest eGFR group (above 106) has a trough about 0.41 [0.32, 0.54] of the all-subject geometric mean: the only outside rows of the run (Cmin and Ctrough, which coincide here), while the area and the average concentration stay inside or overlapping. And the female/male comparison, 0.99 [0.90, 1.08] for Cmax, sits within the band, an echo, from the individual estimates, of the rejection of the SEX terms.

The decision

Question Evidence Decision Reversible?
Is the final model confirmed by an ordinary fit? OFV −1157.8135, successful, κ 7.4 yes yes
Which effects are large enough to report? band 0.80–1.25, 90 % intervals CL 50 kg/eGFR 60 overlap; V at 50 kg and the combined scenario outside; report all three exponents with RSEs yes
Is the combined scenario supported? eGFR 45 is below the observed 56.3 flag as extrapolation yes
What do exposure ratios add? trough 2.9× vs area 2.0× report exposure, not only parameters yes

What this case does not show

A forest plot is a summary of a model; it is as good as the model and the uncertainty it carries. The intervals reflect parameter uncertainty (500 draws), not selection uncertainty (page 41.22) or model misspecification. The 100-per-24-h regimen is illustrative; it comes from the command, not from a study protocol.

Review checklist

  • Did you refit the selected model as an ordinary control stream before plotting?
  • Can you recompute at least one ratio of every parameter by hand?
  • Is each scenario inside the observed covariate ranges? If not, is it labelled as an extrapolation?
  • Is the reference band an a-priori choice, written in the plan?
  • Are exposures, not only parameters, reported when a trough or peak target exists?

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