Documentation

37.28 Power-and-sample-size settings: complete generated key catalogue

Chapter 37.28 visual
Settings reference workflow

This is the exhaustive generated-template catalogue for nlmx.power in nlmx 4.16.2. It contains 61 unique dotted key paths. “Active” means the generated example assigns the key; “commented example” means the template exposes it without assigning it. The value column is a template value or example—not automatically the program default. Defaults and constraints are reported only when the nearby template annotation states them.

How to use the table

Search by the full table and key context. Preserve TOML type: do not quote numbers or Booleans, and do not replace an array with a comma-separated string unless the template explicitly uses a string grammar. When two settings interact, use the orientation page and command chapter to review the combination rather than interpreting rows independently.

input

Key Type Template state Generated value/example Template annotation and constraints
control_stream string commented example "run1.mod" the reference model (or give it on the command line)
data string commented example "data/design.csv" the design: subjects, doses and sampling; default $DATA
model_dir string commented example "runs/run1" folder with the results of the run: .ext and .cov
estimates_file string commented example "run1.ext" or the final estimates (.ext) directly
covariance string commented example "run1.cov" or their covariance (.cov): needed for uncertainty = true

analysis

Key Type Template state Generated value/example Template annotation and constraints
method string active "sse" sse | fim | both
alpha number active 0.05 significance level of the tests
target_power number active 0.8 the power a design must reach (0.9 for pivotal claims)
ci_level number active 95.0 % confidence level of the intervals (coverage)
seed integer commented example 20260101 master seed: the results repeat for any number of threads
threads integer commented example 8 worker threads (default: all cores)

schedule[]

Key Type Template state Generated value/example Template annotation and constraints
sample_sizes array commented example [50, 100, 150] dataset (within the arms), so covariates and doses keep their joint distribution. total subjects per scenario; default: the dataset's subjects
arm_column string commented example "DOSE" arms (strata) = the values of this column
allocation string active "template" template | equal | weights (how a scenario's subjects are shared out)
arm_weights array commented example [1, 1, 2] relative sizes, arms in increasing order of the column, for "weights"
dropout_rates array active [0.0] fraction of subjects who drop out (at a uniform time in their observed span)
missing_rate number active 0.0 fraction of observations missing at random
compliance number active 1.0 fraction of the dose records taken
lloq number commented example 0.5 lower limit of quantification
blq_action string active "drop" drop | half | lloq: a value below the limit is removed, set to LLOQ/2, set to LLOQ
effect_multipliers array active [1.0] multiply every effect's distance from its null value (power against effect size)
name string commented example "sparse" No default or constraint is stated on this template line; consult the command page and resolved run.
times array commented example [2, 12, 48] No default or constraint is stated on this template line; consult the command page and resolved run.
tolerance number commented example 0.01 observations this close to a time are kept

test[]

Key Type Template state Generated value/example Template annotation and constraints
name string commented example "WT on CL" / "drug effect" No default or constraint is stated on this template line; consult the command page and resolved run.
kind string commented example "covariate" / "parameter" No default or constraint is stated on this template line; consult the command page and resolved run.
parameter string commented example "CL" a parameter of the model code
covariate string commented example "WT" a column of the dataset
form string commented example "power" power | exponential | linear | proportional
value expression/value commented example 0.75 / 0.4 the true effect the true value; default: the estimate
null number commented example 0.0 the effect under H0 (the test has one degree of freedom) the value under H0
reference integer commented example 70 default: the median of the dataset
level integer commented example 1 proportional: the covariate value the shift applies to
theta string commented example "THETA(4)" or 4

estimation

Key Type Template state Generated value/example Template annotation and constraints
approximation string active "foce_i" foce_i | foce | laplace: the objective of every fit
start string active "reference" reference | truth | perturbed: where each fit starts
max_iterations integer active 100 per fit
covariance_step Boolean active true needed for RSE, coverage and Wald tests
covariance_matrix string active "r" r | s | rsr
test string active "lrt" lrt | wald | both: which test decides "significant"

sse

Key Type Template state Generated value/example Template annotation and constraints
replicates integer active 100 virtual trials per scenario (500-1000 for a power near 80 % to +-2 %)
type1_replicates integer active 0 extra trials with every effect at its null: the type I error
resume Boolean active false continue an interrupted run in the same output folder
uncertainty Boolean active false draw each trial's parameters from the covariance of the estimates
parameter_file string commented example "sets.csv" or use these parameter sets in turn
max_attempts integer active 100 draws tried for an admissible parameter set
save_datasets string active "none" none | first | all: write the simulated datasets

fim

Key Type Template state Generated value/example Template annotation and constraints
approximation string active "fo" fo | foce | focei: linearisation about eta = 0, or about draws of eta
kind string active "reduced" reduced | full: reduced ignores the dependence of the variance on the fixed effects (PopED default; matches SSE), full is optimistic for covariate effects
draws integer active 100 eta draws per subject (foce, focei)
step number active 1e-4 relative finite-difference step

criteria

Key Type Template state Generated value/example Template annotation and constraints
rse_fixed number active 30.0 % RSE limit of the fixed effects
rse_random number active 50.0 % RSE limit of the variances
rse_limits array commented example ["THETA(1)=20", "OMEGA(1,1)=40"] No default or constraint is stated on this template line; consult the command page and resolved run.
bias number active 15.0 % limit of the relative bias
shrinkage number active 30.0 % limit of the ETA shrinkage
convergence number active 90.0 % minimum of converged estimations

output

Key Type Template state Generated value/example Template annotation and constraints
directory string commented example "power_out" default _power beside the control stream
stem string commented example "warfarin" No default or constraint is stated on this template line; consult the command page and resolved run.
plots Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
report Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.

Catalogue review checklist

  • The key appears under the intended table and uses the exact spelling.
  • Its TOML type matches the generated example.
  • Any stated enumeration, range or unit is satisfied.
  • Required companion keys and mutually exclusive choices are reconciled.
  • Relative paths resolve from the documented base.
  • CLI overrides are recorded with the run.
  • The effective value and its scientific consequence are reviewed in output evidence.

Source snapshot: nlmx.power.

See the previous page, next page, and complete settings reference.