arXiv · 2609.34874
Using the spsurv R package for semi-parametric time-to-event analysis
Abstract
We present spsurv, an R package for semi-parametric time-to-event regression based on Bernstein-polynomial estimation of unknown baseline functions. The package provides a unified modelling interface for proportional hazards (PH), proportional odds (PO), and accelerated failure time (AFT) models for right-censored data, with either maximum likelihood or Bayesian estimation via Stan. Smooth baseline hazard, odds-function, or log-time structures are estimated without assuming a parametric baseline family, while retaining familiar hazard-ratio, odds-ratio, and time-ratio interpretations. We describe methodology, implementation, and syntax; evaluate finite-sample behaviour in a Monte Carlo study; and illustrate usage with oncology trials.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Renato Valladares Panaro, Vinícius Mayrink, Fábio Demarqui. 2026-09-28. Using the spsurv R package for semi-parametric time-to-event analysis. https://arxiv.org/abs/2609.34874
Cite the original work for its findings. Save a collection to share your selection of sources.