{"id":32200790,"url":"https://github.com/lbelzile/longevity","last_synced_at":"2025-10-22T03:55:53.517Z","repository":{"id":63203123,"uuid":"334534915","full_name":"lbelzile/longevity","owner":"lbelzile","description":"Statistical methods for the analysis of excess lifetimes","archived":false,"fork":false,"pushed_at":"2025-08-22T13:11:33.000Z","size":40247,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T03:55:41.619Z","etag":null,"topics":["extremes","r","survival-analysis"],"latest_commit_sha":null,"homepage":"https://lbelzile.github.io/longevity","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lbelzile.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T23:40:25.000Z","updated_at":"2025-08-22T13:11:37.000Z","dependencies_parsed_at":"2024-01-22T23:28:08.289Z","dependency_job_id":"2a55df5a-d600-45eb-ade5-ddd33bd30860","html_url":"https://github.com/lbelzile/longevity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lbelzile/longevity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbelzile%2Flongevity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbelzile%2Flongevity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbelzile%2Flongevity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbelzile%2Flongevity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lbelzile","download_url":"https://codeload.github.com/lbelzile/longevity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbelzile%2Flongevity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280376550,"owners_count":26320276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extremes","r","survival-analysis"],"created_at":"2025-10-22T03:55:48.858Z","updated_at":"2025-10-22T03:55:53.512Z","avatar_url":"https://github.com/lbelzile.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# longevity \u003cimg src=\"man/figures/longevity_sticker.png\" align=\"right\"/\u003e\n\n\u003c!-- badges: start --\u003e\n\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version-last-release/longevity)](https://cran.r-project.org/package=longevity)\n[![License](https://img.shields.io/badge/license-GPL%20%28%3E=%203%29-blue.svg?style=flat)](http://www.gnu.org/licenses/gpl-3.0.html)\n[![Downloads](http://cranlogs.r-pkg.org/badges/longevity?color=brightgreen)](http://www.r-pkg.org/pkg/longevity)\n\u003c!-- badges: end --\u003e\n\nThe `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.\n\n\n## Installation\n\n\u003c!-- You can install the released version of longevity from [CRAN](https://CRAN.R-project.org) with: --\u003e\n\n\u003c!-- ``` r --\u003e\n\u003c!-- install.packages(\"longevity\") --\u003e\n\u003c!-- ``` --\u003e\n\nYou can install the development version of longevity from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"lbelzile/longevity\")\n```\n\n \u003c!-- `devtools::build_readme()` is handy for this. You could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: \u003chttps://github.com/r-lib/actions/tree/master/examples\u003e. --\u003e\n\n\n## Features\n\n- maximum likelihood estimation routines\n- simulation of left-truncated and right-truncated/right-censored data\n- hazard plots with profile-likelihood based confidence intervals\n- threshold selection diagnostics with profile and Wald pointwise confidence intervals\n- quantile-quantile plots\n- likelihood ratio tests for nested models\n- likelihood ratio tests for a categorical explanatory\n- score and likelihood ratio tests for piecewise generalized Pareto distribution, extending Northrop and Coleman (2014), with $p$-value paths\n- nonparametric maximum likelihood estimate of the distribution function with arbitrary truncation and censoring using the EM algorithm of Turnbull (1976) - C++ implementation.\n- profile likelihood for generalized Pareto (endpoint)\n- hazard functions for all parametric models, using `helife`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbelzile%2Flongevity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbelzile%2Flongevity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbelzile%2Flongevity/lists"}