Documentation

32.20 Longitudinal endpoints and visit-specific association

Longitudinal endpoints and visit-specific association
Executed or calculated Chapter 32 evidence
Executed or calculated Chapter 32 evidence

Longitudinal E–R retains repeated endpoint measurements and asks how observed group trajectories or exposure slopes change over visits. nlmx summarises each visit and fits a separate exposure slope; this is descriptive and does not implement a full mixed-effects repeated-measures model.

Core concepts

  • Define nominal visit, windows, baseline, change rule, missing-visit strategy, and exposure timing.
  • Within-subject observations are correlated; visit-specific summaries avoid pretending rows are independent for a global fit but do not model correlation jointly.
  • Median summaries use distribution-free intervals; means use t intervals.

Keep five layers separate: the dose assignment, the individual exposure, the endpoint definition, the statistical estimand, and the clinical decision. A fitted curve connects exposure and endpoint within the analysed data; it does not automatically identify the effect of changing dose or exposure in another population.

Worked interpretation

Executed placebo-corrected slopes strengthened from −0.055 at week 2 to −0.142 at week 12, consistent with a growing effect.

Separate trajectory description from repeated-measures inference

At each visit, summarize subjects—not rows alone—by exposure group and fit the visit-specific exposure association. The executed slopes become increasingly negative from week 2 to week 12, showing temporal evolution. This does not by itself test a global exposure-by-time interaction because slopes from the same subjects are correlated.

Create a visit table with scheduled and observed subjects, reasons for missingness, endpoint mean/median, variability, and exposure distribution. Distinguish intermittent missing visits from permanent dropout. Later visits can represent a selected population if worsening subjects discontinue; complete-case trends may therefore be optimistic.

A full confirmatory repeated-measures analysis may require MMRM, nonlinear mixed-effects, GEE, joint longitudinal-survival, or pattern-mixture methods outside nlmx. Those models specify within-subject covariance and missing-data assumptions. Use the command’s visit-specific summaries as transparent exploration and diagnostic evidence, and avoid treating 490 records from 98 people as 490 independent subjects.

For a novice, translate every coefficient back to the endpoint scale. Name the starting exposure, ending exposure, predicted outcome at both, contrast, interval, and observed support. For categorical or survival endpoints, also show absolute probabilities or survival estimates because odds and hazard ratios can be hard to interpret clinically.

Quality control and scientific review

Inspect n by visit/group, attrition, baseline balance, trajectory shape, and whether a mixed model is required for inference.

Review sample size alone only after checking events, category cells, visit counts, placebo support, exposure overlap, exclusions, and missingness. A statistically precise curve can still be clinically irrelevant, confounded, extrapolated, or based on an endpoint definition that does not match the intended estimand.

Common mistakes

  • Treating 500 rows as 500 independent subjects
  • Comparing visit slopes without their covariance
  • Treating a significant exposure term as proof that the selected shape or causal story is correct

Evidence to retain

  • exposure definition, window, units, derivation, estimation uncertainty, and distribution by arm;
  • endpoint derivation, time origin/visit, analysis population, missing/censoring rules, and exclusions;
  • candidate models, covariate rationale, contrasts, selection criterion, diagnostics, failed/unstable fits;
  • effect estimates with intervals, observed range, sensitivity analyses, software version, settings, and checksums.

See the previous page, next page, and model and estimand catalogue.