PreprintarXiv licencearXiv
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.
Related
- tteICE: An R Package for Estimating Treatment Effects on Time-to-Event Outcomes with Intercurrent Events in Two-Arm Trials
- Parametric inference for the average hazard approach in time-to-event analysis with sparse risk sets
- Debiased Prior-Data Fitted Networks for Amortized Bayesian Semi-Parametric Inference
- A semi-parametric Bernstein-von Mises theorem at rate n−3/2 for frequency estimation
- JMbdirect: joint modeling with semi-parametric link functions for bidirectional feedback in longitudinal-survival data.
BibTeX
@misc{panaro2026using,
title = {{Using the spsurv R package for semi-parametric time-to-event analysis}},
author = {Renato Valladares Panaro and Vinícius Mayrink and Fábio Demarqui},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.34874},
eprint = {2609.34874},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.34874},
}
RIS
TY - UNPB
TI - Using the spsurv R package for semi-parametric time-to-event analysis
AU - Renato Valladares Panaro
AU - Vinícius Mayrink
AU - Fábio Demarqui
PY - 2026
DA - 2026/09/28
PB - arXiv
DO - 10.48550/arxiv.2609.34874
UR - https://arxiv.org/abs/2609.34874
AB - 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.
ER -