Skip to main content

Module survival

Module survival 

Source
Expand description

Survival analysis (ISL ch 11) — time-to-event modelling with right censoring. Time-indexed provenance / life-record reasoning is temporal, so these are the standard estimators over censored temporal evidence.

  • kaplan_meier — nonparametric survival curve S(t).
  • cox — Cox proportional-hazards regression (covariate effects on the hazard).

Re-exports§

pub use cox::fit as fit_cox;
pub use cox::CoxModel;
pub use kaplan_meier::KaplanMeier;

Modules§

cox
Cox proportional-hazards regression (ISL ch 11.5) — semiparametric hazard model h(t|x) = h₀(t)·exp(βᵀx), fit by maximizing the Breslow partial likelihood with Newton–Raphson. The p×p information-matrix solve reuses linear_algebra::cholesky (no new solver); Wald standard errors / p-values use statistics::distributions.
kaplan_meier
Kaplan–Meier survival curve (ISL ch 11.3) — the nonparametric estimate of the survival function S(t) from right-censored event times.