The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

spsurv: Bernstein Polynomial Based Semiparametric Survival Analysis

Semiparametric survival analysis based on Bernstein polynomials. 'spsurv' includes proportional hazards, proportional odds and accelerated failure time frameworks for right-censored data. RV Panaro (2020) <doi:10.48550/arXiv.2003.10548>.

Version: 1.1.0
Depends: R (≥ 4.1.0), survival (≥ 2.44-1.1), coda (≥ 0.19-3)
Imports: methods, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), generics, viridis
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥ 2.18.0)
Suggests: testthat (≥ 2.1.0), knitr, rmarkdown (≥ 2.31), ggplot2 (≥ 3.3.0), KMsurv, parsnip (≥ 1.0.0), censored (≥ 0.3.0), workflows (≥ 1.1.0), tidybayes (≥ 3.0.0), posterior (≥ 1.4.0), covr, rsample (≥ 1.1.0), rsurv, rstantools (≥ 1.5.1)
Published: 2026-09-28
DOI: 10.32614/CRAN.package.spsurv
Author: Renato Panaro ORCID iD [aut, cre, cph] (URL: https://rvpanaro.github.io/), Fábio Demarqui ORCID iD [ths, rev] (URL: http://www.est.ufmg.br/~fndemarqui/), Vinicius Mayrink ORCID iD [ths] (URL: http://www.est.ufmg.br/~vdinizm/)
Maintainer: Renato Panaro <rvpanaro at gmail.com>
BugReports: https://github.com/rvpanaro/spsurv/issues
License: GPL-3
URL: https://github.com/rvpanaro/spsurv, https://rvpanaro.github.io/spsurv/
NeedsCompilation: yes
SystemRequirements: GNU make
Materials: README, NEWS
CRAN checks: spsurv results

Documentation:

Reference manual: spsurv.html , spsurv.pdf
Vignettes: Bayesian analysis with Stan (source, R code)
Bernstein polynomial degree and baseline plots (source, R code)
Model checking and residuals (source, R code)
Getting started with spsurv (source, R code)
Inference and model comparison (MLE) (source, R code)
Choosing PH, PO, and AFT models (source, R code)
Survival prediction and ggplot workflows (source, R code)
tidymodels and tidybayes integration (source, R code)

Downloads:

Package source: spsurv_1.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: spsurv_1.1.0.zip
macOS binaries: r-release (arm64): spsurv_1.1.0.tgz, r-oldrel (arm64): spsurv_1.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available
Old sources: spsurv archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spsurv to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.