Documentation

Complete posterior command and settings index

This index covers every posterior-specific CLI control exposed by nlmx 4.8.0 and the configuration-only controls needed for exact reproduction. Shared scope, equations, input discovery, logging, output, privacy, and final-refit controls are indexed in Chapter 22.

nlmx cov --model-dir fit/run101 --run-stem run101 `
  --covariates "CL=WT,EGFR,SEX;V=WT,SEX" --method posterior `
  --posterior-source prefer-phi --response posterior-draws `
  --draw-method antithetic-normal --resampling complementary-pairs `
  --replicates 400 --draws-per-resample 2 --subject-fraction 0.5 `
  --learners adaptive-elastic-net,group-elastic-net,weighted-gls `
  --primary adaptive-elastic-net --threshold 0.80 `
  --uncertain-lower 0.55 --sign-threshold 0.90 --seed 24048 `
  --write-subject-level --write-replicate-selections -o posterior_run

Posterior and draw controls

CLI option Values/default Meaning
--posterior-source require-phi, prefer-phi, reconstruct; default prefer-phi Chooses PHI/ETC and reconstruction policy.
`--allow-point-ebe 0 1` default 0
--response posterior-draws or posterior-mean; default draws Defines the learner response.
--draw-method normal, antithetic-normal, sobol-normal; default antithetic Generates normal posterior draws.
--draws-per-resample default 2 Posterior ETA vectors per resampling unit.
--base-param-draws default 20 when enabled Number of base covariance perturbations.

Configuration-only posterior controls include approximation = "laplace"|"conditional_gaussian", center_draws, antithetic, hessian_eigen_tolerance = 1e-10, max_repair_relative = 1e-6, and failed_subject_policy = "error"|"exclude"|"mark_uncertain". Base-parameter perturbation is enabled with posterior_sampling.include_base_parameter_uncertainty.

Resampling, learners, and stability

CLI option Values/default Meaning
--resampling complementary-pairs, subsample, bootstrap, repeated-kfold Selects subject-level perturbation.
--replicates default 200 Resampling replicates.
--subject-fraction default 0.5 Subject fraction for applicable methods.
--cv-folds default 5 Internal tuning folds.
--learners adaptive/group elastic net, weighted GLS, GAM, boosting, multivariate Comma-separated learner set.
--primary default adaptive elastic net Learner whose probability drives classification.
--threshold default 0.80 Selection-probability threshold.
--uncertain-lower default 0.55 Lower edge of uncertainty band.
--sign-threshold default 0.90 Required sign stability.
--max-features default 500 Feature-column safety cap.
--variance-consistency penalized-matching, moment-correction, none Posterior/OMEGA consistency behavior.

Configuration additionally controls stratification, minimum subjects per stratum, checkpoint interval, failed-fit fraction, robust scaling, zero-variance screening, correlation cluster threshold, spline degrees of freedom, time-varying summary, every learner's tuning grid, form stability, algorithm agreement, false-discovery control, PFER target/bound, and FDR calibration permutations.

Output and execution

--write-subject-level, --write-posterior-draws, and --write-replicate-selections enable increasingly large evidence files. --no-checkpoint disables recoverable replicate checkpoints. --threads, --seed, --ridge-max, --strict, --no-final-refit, privacy/logging controls, and all input/output options apply. Preserve normalized_config.covar; CLI values override file settings.

Posterior controls