Skip to content

TemporalHazard 1.1.0

Choose a tag to compare

@ehrlinger ehrlinger released this 12 Jun 19:10
· 2040 commits to main since this release
289346b

On CRAN: https://CRAN.R-project.org/package=TemporalHazard (published 2026-06-12) · DOI 10.32614/CRAN.package.TemporalHazard

install.packages("TemporalHazard")

Highlights

  • Analytic Hessians for all five families (exponential, Weibull, log-logistic, log-normal, multiphase); validated against numDeriv.
  • Full-information variance for Conservation-of-Events fits — conserved-phase SE recovered from the unconstrained Hessian at the optimum; every hz.death.AVC SE now matches SAS HAZARD.
  • predict.hazard() improvements — type = "hazard" for multiphase, conf.type survival CL transform (log-log / logit-for-HAZPRED), per-phase decompose + se.fit confidence limits.
  • hzr_deciles() matches the SAS deciles.hazard macro exactly.
  • SAS HAZPRED parity fixtures (Group A): patient-specific predictions, stratified calibration, KM/Nelson-Aalen life tables, decile-of-risk tables.
  • Docs — package overview page, rfsrc-style math in core help files, baseline-distribution + stepwise option explanations; pkgdown math now renders.
  • Robustness — Hessian-inversion hardening, parse-tree multiphase formula preprocessor, hzr_bootstrap() weighted-path fix.

See NEWS.md for the full list.