37.3 Covariate-analysis settings: purpose, structure, and workflow
.covar is the settings format for cov / inspect / validate / posterior / fit / simulate-study. It binds a NONMEM run family to candidate covariates and controls frozen-score, refit-SCM, posterior-stability, numerical, selection and output behavior. The template snapshot used here was generated by nlmx 4.16.2; its SHA-256 is 287aa9d379be614852bd25af2310fc5b2ed01d33f1def3584d9a786927f0e9f4.
Why this file matters
A small scope, reference, equation, threshold or artifact-selection change can alter the candidate set and the retained model. Treat the file as controlled analysis source. A reviewer should be able to connect each active value to a design decision, data convention, method choice, output requirement or operational guardrail.
Generate and begin safely
nlmx cov --print-config study.covar
nlmx cov -c study.covar --output disposable-review
For .covar, generate the reference with nlmx schema --format toml and save it with the required extension. For every format, compare command-specific help before relying on the generic example above; commands differ in positional inputs, validation modes and whether --output is appropriate.
Template map
The snapshot represents 156 unique dotted key paths across 27 tables or top-level groups. Commented assignments are possibilities or examples; uncommented assignments form the generated example. The next page catalogs every represented key.
| Table | Unique keys represented | Review focus |
|---|---|---|
(top level) |
3 | identity and command-wide behavior |
execution |
1 | values and interactions inside this settings group |
input |
3 | values and interactions inside this settings group |
input.files |
8 | values and interactions inside this settings group |
covariates |
2 | values and interactions inside this settings group |
covariate_options |
9 | values and interactions inside this settings group |
covariates[] |
12 | values and interactions inside this settings group |
relationships[] |
4 | values and interactions inside this settings group |
score |
8 | values and interactions inside this settings group |
selection |
10 | values and interactions inside this settings group |
uncertainty |
4 | values and interactions inside this settings group |
posterior |
10 | values and interactions inside this settings group |
variance_consistency |
3 | values and interactions inside this settings group |
resampling |
8 | values and interactions inside this settings group |
posterior_sampling |
3 | values and interactions inside this settings group |
features |
7 | values and interactions inside this settings group |
learners |
3 | values and interactions inside this settings group |
learners.adaptive_elastic_net |
7 | values and interactions inside this settings group |
learners.group_elastic_net |
3 | values and interactions inside this settings group |
learners.weighted_gls |
3 | values and interactions inside this settings group |
learners.gam |
4 | values and interactions inside this settings group |
learners.boosting |
5 | values and interactions inside this settings group |
learners.multivariate |
3 | values and interactions inside this settings group |
stability |
11 | values and interactions inside this settings group |
numerics |
9 | values and interactions inside this settings group |
output |
10 | values and interactions inside this settings group |
competition_groups[] |
3 | values and interactions inside this settings group |
Important interactions
- Choose exactly one unambiguous run family or explicit artifact set.
- Treat
[covariates]and detailed[[covariates]]scope as controlled scientific input. method = "scm"is accepted in 4.16.2 even though the generated header comment lists only frozen, posterior and both.- Version-1
[data],[model]and[[parameters]]tables are rejected by the current version-2 document checker.
Novice workflow
First identify the input population and artifact version. Second, delete or leave commented every option you do not intend to control. Third, edit one table at a time and keep short comments explaining study-specific values. Fourth, run into a new disposable folder and verify resolved inputs, paths, warnings and output count. Fifth, compare the result with the scientific question and expected behavior. Finally, retain the settings, command transcript and reviewed outputs together.
What validation can and cannot prove
Parsing proves that TOML syntax and recognized keys are acceptable. Command validation may prove that referenced data and values satisfy implemented checks. Neither proves that the selected population, endpoint, method, threshold or model is scientifically justified. That judgment belongs in the analysis plan and review record.
The exact generated snapshot is available at covardocuments/ch37/reference/templates/nlmx.covar.
Navigation
See the previous page, next page, and complete settings reference.