Documentation

15.13 Summary strata, statistics, and parameters

nca_summary.csv describes profile-level parameters within strata. The defaults are:

[summary]
by = ["group", "route", "dose", "steady_state", "occasion"]
statistics = ["n", "mean", "sd", "cv", "geomean", "geocv", "median", "min", "max"]

A stratum component with only one value is omitted. Setting by=[] pools all eligible profiles. Allowed dimensions are group, route, dose, occasion, and steady_state; they refer to NCA profile attributes, not arbitrary dataset columns. Put desired dataset columns in [data] groups first.

Available statistics

In addition to defaults, sem, q1, q3, and harmonic are available. Arithmetic CV is 100×SD/mean and can be unstable near zero. Geometric mean and geometric CV require positive values and are natural for log-distributed exposure endpoints. Median and quartiles are robust summaries but do not substitute for a design-specific inferential model.

parameters can restrict the output, for example:

parameters = ["CMAX", "TMAX", "AUCLAST", "AUCINF_OBS", "THALF"]

Without it, every registered parameter with values is summarized. Names must match parameter-column identifiers.

Denominators and missingness

n is parameter-specific. A stratum may have six Cmax values but only four half-lives because terminal slopes failed in two profiles. Never reuse the enrollment count as the denominator for every summary. Flags do not automatically remove a retained value; the analysis plan must define whether flagged results are summarized, sensitivity-excluded, or displayed separately.

Occasion-stratified summaries can mix biological period and constructed dose number if dosing schedules differ. Review whether the requested strata answer the intended study question.

Common mistakes

  • Assuming every summary row uses the same N.
  • Pooling routes and interpreting apparent and IV clearance together.
  • Treating geometric mean as available for zero/negative values.
  • Using occasion as a substitute for a mapped study-period group.

Checklist

  • Define scientific strata before running.
  • Verify group labels and route separation.
  • Review parameter-specific N.
  • Choose arithmetic/geometric summaries deliberately.
  • Preserve flagged and missing-value rules.

Further reading

See the summary output file, group comparison, and summary-statistic theory.