38.20 er output dictionary
Exposure-response schemas are endpoint- and analysis-specific. A stable consumer should start with er_analyses.csv, then load files for that analysis slug and endpoint type. Preserve exclusions, model eligibility, placebo corrections, covariate selection and bootstrap failures alongside the chosen effect.
Files produced by er
The table is a versioned contract for nlmx 4.16.2. “When present” is part of the schema: absence can mean disabled, not applicable, no qualifying rows, an earlier failure, or a defect. Distinguish those states with the summary/log and expected configuration.
| File or pattern | Format | When present | Row/object grain | Purpose | Key fields or structure | Units | Role |
|---|---|---|---|---|---|---|---|
er_analyses.csv |
CSV | table output enabled | one row per requested analysis | population/exclusion counts, selected model, p-value and principal effect | analysis,exposure,response,type,subjects,rows,excluded,best_model,p_value,effect and related fields | endpoint/effect-specific | primary |
er_exposure_summary.csv |
CSV | table output enabled | one row per exposure metric × dose group | exposure distribution by group | exposure,group,n,mean,sd,cv,geomean,geocv,median,p5,p95,min,max | exposure-specific; percent | primary |
er_exposure_correlation.csv |
CSV | multiple exposure metrics | one matrix cell/row per metric pair | correlation between exposure metrics | exposure pairs and r | dimensionless | primary |
er_<analysis>_models.csv |
CSV | table output enabled | one row per candidate model | parameters, likelihood criteria, delta, exposure test and notes | model,n,parameters,log_likelihood,AIC,AICc,BIC,delta,exposure_p,fit statistics,notes | likelihood/criterion | primary |
er_<analysis>_parameters.csv |
CSV | model fitted | one row per model × parameter | estimate, uncertainty, test and bootstrap interval | model,parameter,estimate,se,rse,ci,p,bootstrap interval | parameter-specific | primary |
er_<analysis>_effects.csv |
CSV | effect estimable | one row per model/effect contrast | slope, odds/rate/hazard ratio or model-specific effect | model,effect,contrast,estimate,lower,upper,p | endpoint-specific ratio/slope | primary |
er_<analysis>_predictions.csv |
CSV | prediction grid available | one row per model × exposure-grid point | curve estimate with confidence and optional prediction interval | model,exposure,prediction,ci_lower,ci_upper,pi_lower,pi_upper | exposure/endpoint units | primary |
er_<analysis>_at_exposures.csv |
CSV | reference exposures available | one row per model × named exposure | predictions at placebo, group medians and percentiles | model,setting,exposure,prediction,interval | exposure/endpoint units | primary |
er_<analysis>_by_exposure_group.csv |
CSV | exposure groups calculated | one row per exposure group | observed endpoint summaries by exposure group | group bounds,n,endpoint statistics | endpoint-specific | primary |
er_<analysis>_data.csv |
CSV | data output enabled | one row per analysis row | analysis-ready data, fit/residual, outlier and covariate design | subject,group,placebo,exposure,exposure_group,endpoint,fitted,residual,outlier,covariates | source/derived units | primary |
er_<analysis>_excluded.csv |
CSV | data output enabled and exclusions occur | one row per excluded source row | transparent exclusion reason | source identity/row,values,reason | source units | primary |
er_<analysis>_covariate_effects.csv / _covariate_selection.csv |
CSV | adjustment/selection used | effect or selection-test grain | adjustment coefficients and forward/backward test history | covariate,phase/model,test statistic,p,decision,effect fields | effect-specific; p | primary |
er_<analysis>_placebo_correction.csv |
CSV | placebo correction used | one row per correction stratum/visit | placebo mean subtracted and denominator | stratum,visit,n,placebo_mean | endpoint units | primary |
er_<analysis>_km.csv / _km_summary.csv / _hazard_ratios.csv |
CSV | time-to-event analysis | KM point, stratum summary, or HR contrast | survival curves, events/censoring, log-rank/Cox effects | time,survival,at_risk/events; group summaries; hazard ratio intervals | time; probability; ratio | primary |
er_<analysis>_visits.csv / _slopes.csv |
CSV | longitudinal analysis | visit summary or slope contrast | endpoint over visits and exposure-related slopes | visit/group/n/statistics; slope/effect intervals | visit/time and endpoint units | primary |
er_summary.txt / er_summary.json |
text / JSON | always | one run summary | analyses, models, parameters, effects, groups, KM/Cox/slopes and notes | format-dependent | mixed | machine summary |
report.html / plots/** |
HTML / PNG / SVG | enabled | one report or figure | all ER tables, diagnostics, curves, KM and effect plots | visual/table document | axis-specific | presentation |
Reading sequence
- Confirm the command, nlmx version, exit status, output root and settings/CLI overrides.
- Open the text/JSON summary to understand status, warnings, counts and conditional branches.
- Validate the primary table headers and expected row grain before parsing values.
- Reconcile row counts and identifiers across related files.
- Trace important estimates, classifications or decisions to the native model/data evidence.
- Inspect HTML and figures after verifying their source tables.
- Verify checksums and retain the complete tree, including failures relevant to denominators.
Common parsing mistakes
- treating an optional missing file as an empty successful result;
- grouping at subject level when the table is subject-by-occasion, replicate or simulation;
- using displayed text/plot rounding as the analytical value;
- joining dynamic files by row position;
- losing exclusions, failed fits or warnings while copying only the selected result;
- assuming units from a familiar column name rather than the run's data/model/settings;
- parsing a cache/checkpoint as if it were a stable final-results API.
Review questions
- Does every row have a clearly stated grain and candidate primary key?
- Are denominators and failure states retained?
- Are units and transformations traceable?
- Is the file a primary result, reproduction recipe, presentation, or operational state?
- Can a second analyst reproduce the reported value from retained inputs and settings?
Navigation
See the previous page, next page, and complete output reference.