Documentation

13.1 Your first eda run

The smallest useful run needs a dataset with a header and recognizable ID, TIME, and DV columns:

nlmx eda data/pk.csv -o results/pk-eda-r01

The default output directory is <dataset folder>/<dataset stem>_eda when -o is omitted. Use a new run-specific directory while learning; --overwrite allows a nonempty directory but does not promise to remove stale files from an older selection.

What happens

eda reads records with the same NONMEM-oriented reader used by dataset QC, identifies dose and observation records, derives timing and subject summaries, detects covariates, builds applicable standard plots/tables, records unavailable items with reasons, and writes machine-readable and human-readable outputs. A missing optional input normally skips a dependent plot rather than inventing information.

Open files in this order:

  1. eda_summary.txt for counts, generated items, and omissions.
  2. eda_T01_data_summary.csv and eda_T09_missing.csv for data shape.
  3. report.html for organized visual review.
  4. eda_subjects.csv for individual-level reconciliation.
  5. eda_summary.json for resolved settings and automation.

Confirm the reported dataset path, individual/record/observation/dose counts, covariate classification, and BLQ count before reading a biological pattern. If any count disagrees with QC, stop and reconcile filters, mappings, and source revision.

Add grouping and units

nlmx eda data/pk.csv -o results/pk-eda-r02 `
  --group DOSE --stratify STUDY `
  --conc-unit ng/mL --dose-unit mg --time-unit h

Units label axes; they do not rescale values. Use --mutate for an explicit conversion and preserve the generated mutated dataset.

Common mistakes

  • Starting with graphs before checking row and subject counts.
  • Reusing an output folder after changing plot selection.
  • Treating automatically detected covariates as reviewed roles.
  • Calling a skipped plot a successful negative result.

Checklist

  • Run qc-data first and freeze the input revision.
  • Use a fresh output directory.
  • Reconcile counts and classifications.
  • Review skipped analyses and reasons.
  • Save command, configuration, log, and version.

Further reading

See data mapping, catalogue selection, and outputs.