longevity

The longevity package proposes estimation routines for modeling excess lifetime. Core functionalities include maximum likelihood estimation for parametric models (exponential, Gompertz, Weibull, generalized Pareto, extended generalized Pareto, piecewise generalized Pareto), threshold selection plots for survival data, nonparametric maximum likelihood estimation, profile likelihood estimation for the endpoint of the distribution of exceedances.

Installation

You can install the development version of longevity from GitHub with:

# install.packages("devtools")
# devtools::install_github("lbelzile/longevity")
install.packages("longevity", repos = c('https://lbelzile.r-universe.dev', 'https://cloud.r-project.org'))

Features