ZPHWindowResult
Test results for a single time window within a windowed proportional-hazards test.
Usage
ZPHWindowResult(
interval,
n_events,
per_term,
global_test,
)Attributes
interval: tuple[float, float]-
The half-open time interval
(lower, upper]that this window covers. n_events: int-
Number of events (Schoenfeld residuals) in this window.
per_term: dict[str, dict[str, float]]-
Dictionary mapping each covariate name to
{chisq, df, p_value}dict. global_test: dict[str, float]-
Dictionary with
{chisq, df, p_value}for the joint test across all terms.