Documentation

37.4 Covariate-analysis settings: complete generated key catalogue

Chapter 37.4 visual
Settings reference workflow

This is the exhaustive generated-template catalogue for nlmx.covar in nlmx 4.16.2. It contains 156 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.

(top level)

Key Type Template state Generated value/example Template annotation and constraints
config_version integer active 2 did not select are accepted and ignored, so one file can drive both engines. Relative paths (input.model_dir, [input.files], output.directory) resolve against the directory of thi…
analysis_name string active "run101_covariate_screen" No default or constraint is stated on this template line; consult the command page and resolved run.
method string active "frozen" frozen | posterior | both (--method overrides)

execution

Key Type Template state Generated value/example Template annotation and constraints
threads integer commented example 8 default: all cores; results never depend on it

input

Key Type Template state Generated value/example Template annotation and constraints
model_dir string active "./models" scanned for one run family (common file stem)
recursive Boolean active false recursive scan still rejects ambiguity
run_stem string active "run101" required when several runs share a directory

input.files

Key Type Template state Generated value/example Template annotation and constraints
control_stream string commented example "models/run101.ctl" No default or constraint is stated on this template line; consult the command page and resolved run.
ext string commented example "models/run101.ext" No default or constraint is stated on this template line; consult the command page and resolved run.
cov string commented example "models/run101.cov" No default or constraint is stated on this template line; consult the command page and resolved run.
cor string commented example "models/run101.cor" No default or constraint is stated on this template line; consult the command page and resolved run.
phi string commented example "models/run101.phi" No default or constraint is stated on this template line; consult the command page and resolved run.
lst string commented example "models/run101.lst" No default or constraint is stated on this template line; consult the command page and resolved run.
table string commented example "models/sdtab101.tab" ID + ETA columns; used when no .phi exists
data string commented example "data/analysis.csv" default: $DATA, relative to the control stream

covariates

Key Type Template state Generated value/example Template annotation and constraints
CL array active ["WT", "AGE", "SEX", "EGFR", "CRCL"] No default or constraint is stated on this template line; consult the command page and resolved run.
V array active ["WT", "SEX"] No default or constraint is stated on this template line; consult the command page and resolved run.

covariate_options

Key Type Template state Generated value/example Template annotation and constraints
equations string active "typical" typical: power; proportional | all: every equation of the type (--all-equations)
continuous array commented example ["power", "exponential"] --continuous-forms (default: power, or all with equations = "all")
categorical array commented example ["proportional", "grouped"] --categorical-forms (default: proportional; binary: proportional)
forms inline table active { WT = ["power", "linear"] } per covariate (--covariate-forms WT=power,linear)
reference inline table active { WT = 70 } number, "median" or "mean" (--covariate-reference)
type inline table active { SEX = "binary" } continuous | binary | categorical | ordinal (--covariate-type)
missing string active "error" error | median | drop_subject, or { EGFR = "median" } (--missing-covariates)
missing_codes array active [-99] data values meaning "missing" ("." is always missing)
compare string active "auto" auto: refit each equation when a pair has several | refit | score (--compare-forms)

covariates[]

Key Type Template state Generated value/example Template annotation and constraints
name string commented example "WT" No default or constraint is stated on this template line; consult the command page and resolved run.
type string commented example "continuous" continuous | categorical | binary | ordinal (omit to detect)
reference number commented example 70.0 number, "median" or "mean"
positive Boolean commented example true No default or constraint is stated on this template line; consult the command page and resolved run.
missing string commented example "error" error | drop_subject | median
missing_codes array commented example [-99] No default or constraint is stated on this template line; consult the command page and resolved run.
time_varying string commented example "record" record | baseline | mean (when WT changes within subjects)
forms array commented example ["power", "linear"] No default or constraint is stated on this template line; consult the command page and resolved run.
range array commented example [20.0, 250.0] No default or constraint is stated on this template line; consult the command page and resolved run.
min_level_subjects integer commented example 10 categorical: smallest level size
levels array commented example [0, 1] categorical: declared levels
reference_level integer commented example 0 No default or constraint is stated on this template line; consult the command page and resolved run.

relationships[]

Key Type Template state Generated value/example Template annotation and constraints
parameter string commented example "CL" No default or constraint is stated on this template line; consult the command page and resolved run.
covariate string commented example "WT" No default or constraint is stated on this template line; consult the command page and resolved run.
forms array commented example ["power"] No default or constraint is stated on this template line; consult the command page and resolved run.
status string commented example "test" test | always_include | always_exclude

score

Key Type Template state Generated value/example Template annotation and constraints
information string active "efficient" efficient | candidate_only
information_estimator string active "opg" opg (outer product of subject scores) | observed (FD Hessian)
nuisance_information string active "observed" observed | from_cov
finite_difference_step_relative number active 1e-4 No default or constraint is stated on this template line; consult the command page and resolved run.
finite_difference_step_absolute number active 1e-7 No default or constraint is stated on this template line; consult the command page and resolved run.
calibration string active "none" none | permutation | parametric_bootstrap
calibration_replicates integer active 1000 permutations (bootstrap: use ~200)
calibration_seed integer active 1729 No default or constraint is stated on this template line; consult the command page and resolved run.

selection

Key Type Template state Generated value/example Template annotation and constraints
mode string active "hierarchical_conditional" univariate | hierarchical_conditional | all_joint | refit_scm (= method "scm")
forward_alpha number active 0.05 No default or constraint is stated on this template line; consult the command page and resolved run.
retention_alpha number active 0.01 No default or constraint is stated on this template line; consult the command page and resolved run.
multiple_testing string active "bh" none | bonferroni | holm | bh | by | westfall_young
max_candidates integer active 500 No default or constraint is stated on this template line; consult the command page and resolved run.
refine integer active 0 virtually refit the N most significant candidates (all parameters re-estimated)
refit_max_iterations integer active 60 No default or constraint is stated on this template line; consult the command page and resolved run.
scm_candidates_per_step integer active 3 refit_scm: candidates refitted per forward step, best by score first (0 = all, as PsN does)
scm_direction string active "both" refit_scm (method = "scm"): forward | backward | both
final_refit Boolean active true joint refit of the retained effects: final model and its OFV (--no-final-refit)

uncertainty

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active true disabled automatically when no .cov is available
draws integer active 200 No default or constraint is stated on this template line; consult the command page and resolved run.
seed integer active 20260925 No default or constraint is stated on this template line; consult the command page and resolved run.
recompute_scores string active "linearized" linearized | exact

posterior

Key Type Template state Generated value/example Template annotation and constraints
source string active "prefer_phi" require_phi | prefer_phi | reconstruct
approximation string active "laplace" laplace | conditional_gaussian
allow_point_ebe_mode Boolean active false true labels ALL output EXPLORATORY
response string active "posterior_draws" posterior_draws | posterior_mean
draw_method string active "antithetic_normal" normal | antithetic_normal | sobol_normal
center_draws Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
antithetic Boolean active true with draw_method = normal: mirror pairs
hessian_eigen_tolerance number active 1e-10 No default or constraint is stated on this template line; consult the command page and resolved run.
max_repair_relative number active 1e-6 larger posterior repairs abort
failed_subject_policy string active "error" error | exclude | mark_uncertain

variance_consistency

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
method string active "penalized_matching" penalized_matching | moment_correction | none
tolerance_relative number active 0.25 No default or constraint is stated on this template line; consult the command page and resolved run.

resampling

Key Type Template state Generated value/example Template annotation and constraints
method string active "complementary_pairs" No default or constraint is stated on this template line; consult the command page and resolved run.
replicates integer active 200 complementary_pairs | subsample | bootstrap | repeated_kfold (always SUBJECT level)
subject_fraction number active 0.5 No default or constraint is stated on this template line; consult the command page and resolved run.
seed integer active 4262026 No default or constraint is stated on this template line; consult the command page and resolved run.
stratify_by array active [] e.g. ["STUDY"]
minimum_subjects_per_stratum integer active 10 No default or constraint is stated on this template line; consult the command page and resolved run.
checkpoint_every integer active 25 No default or constraint is stated on this template line; consult the command page and resolved run.
max_failed_fraction number active 0.02 No default or constraint is stated on this template line; consult the command page and resolved run.

posterior_sampling

Key Type Template state Generated value/example Template annotation and constraints
draws_per_resample integer active 2 No default or constraint is stated on this template line; consult the command page and resolved run.
include_base_parameter_uncertainty Boolean active false No default or constraint is stated on this template line; consult the command page and resolved run.
base_parameter_draws integer active 20 No default or constraint is stated on this template line; consult the command page and resolved run.

features

Key Type Template state Generated value/example Template annotation and constraints
standardize_continuous Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
robust_scale Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
screen_zero_variance Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
correlation_cluster_threshold number active 0.85 No default or constraint is stated on this template line; consult the command page and resolved run.
max_features integer active 500 No default or constraint is stated on this template line; consult the command page and resolved run.
spline_df integer active 4 No default or constraint is stated on this template line; consult the command page and resolved run.
time_varying_summary string active "first" first | mean: subject summary of time-varying covariates

learners

Key Type Template state Generated value/example Template annotation and constraints
required array active ["adaptive_elastic_net", "group_elastic_net", "weighted_gls"] No default or constraint is stated on this template line; consult the command page and resolved run.
primary string active "adaptive_elastic_net" also available: gam (penalised-spline GAM), boosting (gradient-boosted trees), multivariate (sparse-group lasso across ETAs, OMEGA-whitened)
cross_validation_folds integer active 5 No default or constraint is stated on this template line; consult the command page and resolved run.

learners.adaptive_elastic_net

Key Type Template state Generated value/example Template annotation and constraints
alpha_grid array active [0.5, 0.75, 0.9, 1.0] No default or constraint is stated on this template line; consult the command page and resolved run.
lambda_count integer active 40 No default or constraint is stated on this template line; consult the command page and resolved run.
lambda_min_ratio number active 1e-3 No default or constraint is stated on this template line; consult the command page and resolved run.
max_iterations integer active 5000 No default or constraint is stated on this template line; consult the command page and resolved run.
tolerance number active 1e-8 No default or constraint is stated on this template line; consult the command page and resolved run.
adaptive_gamma number active 1.0 No default or constraint is stated on this template line; consult the command page and resolved run.
selection_rule string active "one_se" one_se | min

learners.group_elastic_net

Key Type Template state Generated value/example Template annotation and constraints
l1_ratio number active 0.8 No default or constraint is stated on this template line; consult the command page and resolved run.
lambda_count integer active 40 No default or constraint is stated on this template line; consult the command page and resolved run.
selection_rule string active "min" one_se | min

learners.weighted_gls

Key Type Template state Generated value/example Template annotation and constraints
selection string active "bic" bic | aic
max_active integer active 25 No default or constraint is stated on this template line; consult the command page and resolved run.
ridge number active 1e-8 No default or constraint is stated on this template line; consult the command page and resolved run.

learners.gam

Key Type Template state Generated value/example Template annotation and constraints
basis_size integer active 8 B-spline basis per continuous covariate
penalty_order integer active 2 difference penalty order
edf_threshold number active 0.5 a term is selected when its effective df exceeds this
lambda_count integer active 25 No default or constraint is stated on this template line; consult the command page and resolved run.

learners.boosting

Key Type Template state Generated value/example Template annotation and constraints
trees integer active 150 No default or constraint is stated on this template line; consult the command page and resolved run.
depth integer active 2 No default or constraint is stated on this template line; consult the command page and resolved run.
learning_rate number active 0.1 No default or constraint is stated on this template line; consult the command page and resolved run.
min_importance number active 0.02 held-out conditional permutation importance (share of MSE)
min_leaf integer active 10 No default or constraint is stated on this template line; consult the command page and resolved run.

learners.multivariate

Key Type Template state Generated value/example Template annotation and constraints
l1_ratio number active 0.5 No default or constraint is stated on this template line; consult the command page and resolved run.
lambda_count integer active 30 No default or constraint is stated on this template line; consult the command page and resolved run.
selection_rule string active "min" No default or constraint is stated on this template line; consult the command page and resolved run.

stability

Key Type Template state Generated value/example Template annotation and constraints
selection_probability_threshold number active 0.80 No default or constraint is stated on this template line; consult the command page and resolved run.
sign_stability_threshold number active 0.90 No default or constraint is stated on this template line; consult the command page and resolved run.
form_stability_threshold number active 0.70 No default or constraint is stated on this template line; consult the command page and resolved run.
algorithm_agreement_threshold number active 0.67 No default or constraint is stated on this template line; consult the command page and resolved run.
uncertain_lower number active 0.55 No default or constraint is stated on this template line; consult the command page and resolved run.
false_discovery_control string active "pfer" pfer (report) | pfer_enforce | calibrated_fdr | none
pfer_target number active 1.0 No default or constraint is stated on this template line; consult the command page and resolved run.
average_selected_limit integer active 15 No default or constraint is stated on this template line; consult the command page and resolved run.
pfer_bound string active "shah_samworth" shah_samworth | meinshausen_buhlmann
target_fdr number active 0.10 calibrated_fdr: permutation-calibrated threshold
calibration_permutations integer active 10 No default or constraint is stated on this template line; consult the command page and resolved run.

numerics

Key Type Template state Generated value/example Template annotation and constraints
ridge_initial number active 1e-10 No default or constraint is stated on this template line; consult the command page and resolved run.
ridge_multiplier number active 10.0 No default or constraint is stated on this template line; consult the command page and resolved run.
ridge_max number active 1e-3 exceeding this is a failure, never a repair
svd_relative_tolerance number active 1e-10 No default or constraint is stated on this template line; consult the command page and resolved run.
max_condition_number number active 1e12 covariance conditioning gate
mode_tolerance number active 1e-6 conditional-mode gradient tolerance (both engines)
mode_max_iterations integer active 100 No default or constraint is stated on this template line; consult the command page and resolved run.
ofv_tolerance number active 2.0 validate: largest |OFV difference| to .ext that counts as reproduced
stationarity_alpha number active 0.001 validate: the base solution is stationary unless p < this

output

Key Type Template state Generated value/example Template annotation and constraints
directory string active "./nlmx_out" No default or constraint is stated on this template line; consult the command page and resolved run.
overwrite Boolean active false No default or constraint is stated on this template line; consult the command page and resolved run.
write_json Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
write_csv Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
write_markdown Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
write_posterior_summary Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
redact_subject_ids Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
write_html Boolean active true report.html with inline plots
write_draft_model Boolean active true draft_model.ctl with retained effects inserted
carry_columns array commented example ["STUDY", "DOSE"] fit: dataset columns also written to

competition_groups[]

Key Type Template state Generated value/example Template annotation and constraints
name string active "renal_markers" No default or constraint is stated on this template line; consult the command page and resolved run.
members array active ["CL~EGFR:*", "CL~CRCL:*"] No default or constraint is stated on this template line; consult the command page and resolved run.
policy string active "report_switching_cluster" 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: covarnlmx.covar.

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