Documentation

28.40 Worked example: three dose levels

Worked example: three dose levels
Executed dose-level CAVG distribution
Executed dose versus CAVG relationship

The dose-ranging run created 20 subjects per 50, 100, and 200 mg arm and simulated 15 studies. Every other population and model setting was held common. CAVG target attainment for the two-sided 0.6–1.4 window was 19.67%, 89.33%, and 8.667% for the three arms, illustrating why two-sided windows need not improve monotonically with dose.

Why this matters

This decision changes what population, random quantity, time interval, or numerical summary the command represents. For a novice, the safest habit is to write the question in one sentence before choosing an option, then verify that the resolved settings and output columns express that same question. For a reviewer, the important distinction is between what was assumed, what was randomly generated, what was calculated, and what can legitimately be concluded.

Detailed behavior

  • The pooled window attainment was 39.22% across all arms, which is not a useful dose-selection summary by itself.
  • CMAX ≤5 was 100%, 100%, and 90% by increasing arm.
  • The 100 mg CAVG attainment interval across studies was 78.5–100%.
  • The 200 mg CAVG interval was 0–23.25%, reflecting both poor attainment and finite-study variation.

The subject-level table is the bridge between the design and the exposure result. Use it to check IDs, arms, population labels, age, sex, weight, dose, interval start, tau, ETA values, and added covariates. Use the metric table to check one row per subject and simulation, the requested metric columns, and COVERED. Use pooled and replicate summaries for different purposes: pooled rows describe all simulated subject outcomes, while replicate intervals describe how a finite simulated study result varies from study to study.

Example command or settings fragment

nlmx sims documents/ch28/input/run28.ctl --ext ../ch26/results/fitted_covariate_model/run26.ext \
  --estimates final --subjects 20 --subproblems 15 --seed 28002 \
  --covariate "EGFR=normal(95,20)[30,160]" --dose-levels 50,100,200 \
  --summary-by ARM --targets "CAVG:0.6-1.4,CMAX:<=5" --boxplot-by ARM \
  -o documents/ch28/results/dose_levels

Start with a small smoke run and inspect the transcript before scaling. For command-line work, quote expressions containing comparison signs, brackets, or commas as required by the shell. For a permanent analysis, prefer a settings file: it exposes settings-only controls, resolves paths relative to itself, rejects unknown keys, and is echoed in fully resolved form with the output.

Interpretation and quality control

Read target windows with both lower and upper failures and with arm-specific denominators. The example does not establish an optimal clinical dose because its targets and model scenario are pedagogical.

At minimum, reconcile the console summary with the CSV/JSON result, inspect warnings and notes, confirm subject and observation counts, verify requested groups and targets, and review the source model's applicability. A chart can reveal shape and subgroup patterns, but every reported number should come from the tables. If a result changes a decision, run a prespecified sensitivity for Monte Carlo stability, parameter uncertainty, population assumptions, and the metric-profile source.

Common mistakes

  • Ranking doses by pooled all-arm attainment
  • Assuming target attainment is monotonic
  • Ignoring trial-to-trial intervals

Also avoid overwriting a completed evidence folder merely to change styling. Create a new scenario directory or preserve the prior checksums so analytical changes remain distinguishable from presentation changes.

What to retain and report

  • the nlmx version, complete issued command, submitted settings, and resolved _settings.sims;
  • CTL, selected EXT, optional COV or parameter table, and supplied dataset or population-generation assumptions;
  • seed, subproblems, thread count, ETA/EPS and parameter-uncertainty policy;
  • metric interval, tau, profile source, grid, integration rule, group definitions, and target limits;
  • numerical tables, JSON, HTML, figures, transcript, checksums, warnings, sensitivities, and scoped interpretation.

See the previous page, next page, and complete sims command and settings index.