13.14 Data, PK-PD, and time-varying plots: P21-P24
P21–P24 cover observation distributions, multiple endpoints, exploratory PK-PD hysteresis, and longitudinal covariates. They are generated only when the relevant DVID or time-varying information exists.
P21: observation distribution
P21 (dv_hist) draws DV distributions, split by DVID when present, on linear and optionally log scales. Use it to find spikes, limits, multimodality, and scale differences. A log histogram excludes nonpositive values, so compare the caption/counts with the linear view.
P22: observation type over time
P22 (dv_by_dvid) shows each DVID over time in its own panel. A single DVID makes it uninformative and it is skipped with that reason. Multiple DVIDs can have different units; free or separate axes may be necessary, and values should never be compared numerically across endpoints without unit context.
P23: exploratory PK-PD
P23 (pkpd) plots a PD response against time-matched PK concentration. When PK is not sampled at the exact PD time, concentration is interpolated between PK samples; lines follow time order to reveal possible hysteresis. The loop shape can reflect delay, tolerance, disease progression, sampling mismatch, or noise. It does not identify a mechanistic effect-compartment model.
P24: time-varying covariates
P24 draws declared time-varying covariates over time, one line per individual. Inspect within-subject trends, abrupt jumps, visit-linked missingness, and group differences. Dense data may need line caps or focused custom plots.
Common mistakes
- Treating a skipped P22/P23 as evidence of no endpoint relationship.
- Comparing DVID panels with different units as one scale.
- Interpreting hysteresis direction without checking time matching.
- Summarizing a time-varying covariate only at baseline.
Checklist
- Verify DVID roles, units, and PK/PD selections.
- Review nonpositive/log exclusions.
- Inspect interpolation and sampling alignment.
- Declare changing covariates explicitly.
- Follow patterns with listings and longitudinal models.
Further reading
See DVID mapping, custom PK-PD plots, and txtworked skipped reasons.