37.29 Exposure-response settings: purpose, structure, and workflow
.er is the settings format for er. It defines endpoint type, exposure grid, placebo behavior, covariate adjustment/selection, candidate models, bootstrap and presentation. The template snapshot used here was generated by nlmx 4.16.2; its SHA-256 is ab0d2b0ba21a8f742bb9b36af85bdd0bd4285667e0f3d0f80d652ca181a83a83.
Why this file matters
Row-grain, endpoint definition, exposure eligibility, placebo handling and selection settings can materially change the fitted relationship. 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 er --print-config study.er
nlmx er -c study.er --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 102 unique dotted key paths across 7 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 |
|---|---|---|
data |
6 | values and interactions inside this settings group |
analysis |
54 | values and interactions inside this settings group |
analyses[] |
6 | values and interactions inside this settings group |
labels |
2 | values and interactions inside this settings group |
figures |
23 | values and interactions inside this settings group |
output |
3 | values and interactions inside this settings group |
plots |
8 | values and interactions inside this settings group |
Important interactions
- State whether rows represent subjects, visits or events.
- Match endpoint type to its likelihood and required columns.
- Covariate selection thresholds are inferential choices, not plotting preferences.
- Bootstrap and subgroup failures must remain visible in the evidence bundle.
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 documents/ch37/reference/templates/nlmx.er.
Navigation
See the previous page, next page, and complete settings reference.