A collection of parametric and nonparametric methods for the analysis of survival data. Parametric families implemented include Gompertz-Makeham, exponential and generalized Pareto models and extended models. The package includes an implementation of the nonparametric maximum likelihood estimator for arbitrary truncation and censoring pattern based on Turnbull (1976) <doi:10.1111/j.2517-6161.1976.tb01597.x>, along with graphical goodness-of-fit diagnostics. Parametric models for positive random variables and peaks over threshold models based on extreme value theory are described in Rootzén and Zholud (2017) <doi:10.1007/s10687-017-0305-5>; Belzile et al. (2021) <doi:10.1098/rsos.202097> and Belzile et al. (2022) <doi:10.1146/annurev-statistics-040120-025426>.
| Version: | 1.2.2 | 
| Depends: | R (≥ 4.0.0) | 
| Imports: | numDeriv, Rcpp (≥ 1.0.6), rlang, Rsolnp | 
| LinkingTo: | Rcpp, RcppArmadillo | 
| Suggests: | knitr, ggplot2 (≥ 3.0.0), tinytest, rmarkdown | 
| Published: | 2025-08-22 | 
| DOI: | 10.32614/CRAN.package.longevity | 
| Author: | Leo Belzile | 
| Maintainer: | Leo Belzile <belzilel at gmail.com> | 
| BugReports: | https://github.com/lbelzile/longevity/issues | 
| License: | GPL-3 | 
| URL: | https://lbelzile.github.io/longevity/ | 
| NeedsCompilation: | yes | 
| Materials: | NEWS | 
| CRAN checks: | longevity results | 
| Reference manual: | longevity.html , longevity.pdf | 
| Vignettes: | Introducing longevity (source, R code) Nonparametric maximum likelihood estimation for survival data (source, R code) | 
| Package source: | longevity_1.2.2.tar.gz | 
| Windows binaries: | r-devel: longevity_1.2.2.zip, r-release: longevity_1.2.2.zip, r-oldrel: longevity_1.2.2.zip | 
| macOS binaries: | r-release (arm64): longevity_1.2.2.tgz, r-oldrel (arm64): longevity_1.2.2.tgz, r-release (x86_64): longevity_1.2.2.tgz, r-oldrel (x86_64): longevity_1.2.2.tgz | 
| Old sources: | longevity archive | 
Please use the canonical form https://CRAN.R-project.org/package=longevity to link to this page.