24.39 Complete configuration-only reference
Many posterior controls have no CLI equivalent and must be preserved through normalized_config.covar. The following defaults define nlmx 4.8.0 behavior.
Posterior reconstruction
| Key | Default | Interpretation |
|---|---|---|
posterior.approximation |
laplace |
Curvature method used when posterior reconstruction is needed. |
posterior.center_draws |
true |
Centers finite draw sets around the posterior mean. |
posterior.antithetic |
true |
Mirrors normal draws when the normal method is used. |
posterior.hessian_eigen_tolerance |
1e-10 |
Separates usable from numerically null curvature directions. |
posterior.max_repair_relative |
1e-6 |
Largest accepted relative posterior-covariance repair. |
posterior.failed_subject_policy |
error |
Alternatives are exclude and mark_uncertain. |
Variance, resampling, and features
variance_consistency.enabled = true, method penalized_matching, and tolerance 0.25. Resampling defaults to complementary pairs, 200 replicates, fraction 0.5, seed 4262026, no strata, minimum 10 subjects per stratum, checkpoint every 25 units, and maximum failed fraction 0.02. Posterior sampling uses two draws per resample; base-parameter uncertainty is disabled unless explicitly enabled and then uses 20 draws.
Features use continuous standardization and robust scaling, remove zero-variance columns, cluster at absolute correlation 0.85, cap at 500 columns, use spline df 4, and summarize time-varying covariates by the first value.
Learner defaults
Adaptive elastic net uses alpha grid [0.5,0.75,0.9,1], 40 lambdas, minimum ratio 1e-3, 5000 iterations, tolerance 1e-8, adaptive gamma 1, and one-SE selection. Group elastic net uses L1 ratio 0.8, 40 lambdas, and minimum rule. Weighted GLS uses BIC, maximum 25 active features, and ridge 1e-8. GAM uses basis 8, penalty order 2, EDF threshold 0.5, and 25 lambdas. Boosting uses 150 trees, depth 2, rate 0.1, minimum importance 0.02, and leaf size 10. Multivariate learning uses L1 ratio 0.5, 30 lambdas, and minimum rule.
Stability and numerics
Selection threshold is 0.80; sign 0.90; form 0.70; agreement 0.67; uncertain lower 0.55. Error control reports PFER with target 1.0, average-selected limit 15, Shah–Samworth bound, target FDR 0.10, and 10 calibration permutations. Shared numerics use ridge initial 1e-10, multiplier 10, maximum 1e-3, SVD tolerance 1e-10, condition limit 1e12, mode tolerance 1e-6, and 100 mode iterations.
Common mistakes
- Reproducing only CLI flags while silently accepting changed file defaults.
- Copying normalized configuration between incompatible engine versions.
- Tuning multiple learner grids after viewing classifications.
- Ignoring seeds that are distinct from the master CLI seed in a hand-edited file.
Checklist
- Archive input and normalized configurations.
- Diff every key between primary and sensitivity runs.
- Report nondefault reconstruction, feature, learner, stability, and numerical controls.
- Validate defaults again after an nlmx upgrade.
Further reading
Use nlmx schema for the executable-generated annotated schema and the command index for CLI mappings.