{
  "_id": "6a1febe4b401979e73440782",
  "Package": "longevity",
  "Type": "Package",
  "Title": "Statistical Methods for the Analysis of Excess Lifetimes",
  "Version": "1.3",
  "Authors@R": "c(person(given=\"Leo\", family=\"Belzile\", role = c(\"aut\", \"cre\"), email = \"belzilel@gmail.com\", comment = c(ORCID = \"0000-0002-9135-014X\")), person(given = \"Mitchell\", family = \"O'Hara-Wild\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0001-6729-7695\")))",
  "BugReports": "https://github.com/lbelzile/longevity/issues",
  "URL": "https://lbelzile.github.io/longevity/",
  "Description": "A collection of parametric and nonparametric methods for\nthe analysis of survival data. Parametric families implemented\ninclude Gompertz-Makeham, exponential and generalized Pareto\nmodels and extended models. The package includes an\nimplementation of the nonparametric maximum likelihood\nestimator for arbitrary truncation and censoring pattern based\non Turnbull (1976) <doi:10.1111/j.2517-6161.1976.tb01597.x>,\nalong with graphical goodness-of-fit diagnostics. Parametric\nmodels for positive random variables and peaks over threshold\nmodels based on extreme value theory are described in Rootzén\nand Zholud (2017) <doi:10.1007/s10687-017-0305-5>; Belzile et\nal. (2021) <doi:10.1098/rsos.202097> and Belzile et al. (2022)\n<doi:10.1146/annurev-statistics-040120-025426>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://lbelzile.r-universe.dev",
  "Date/Publication": "2026-02-03 11:15:57 UTC",
  "RemoteUrl": "https://github.com/lbelzile/longevity",
  "RemoteRef": "HEAD",
  "RemoteSha": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 08:49:32 UTC",
    "User": "root"
  },
  "Author": "Leo Belzile [aut, cre] (ORCID: <https://orcid.org/0000-0002-9135-014X>),\nMitchell O'Hara-Wild [ctb] (ORCID:\n<https://orcid.org/0000-0001-6729-7695>)",
  "Maintainer": "Leo Belzile <belzilel@gmail.com>",
  "MD5sum": "5e9fcf6dd7c95c0cfbf30aefdcba027d",
  "_user": "lbelzile",
  "_type": "src",
  "_file": "longevity_1.3.tar.gz",
  "_fileid": "2e78af07d587059781a87badb1fa60617e66361aa7cbeb05be3e2e83604e9ce9",
  "_filesize": 2437535,
  "_sha256": "2e78af07d587059781a87badb1fa60617e66361aa7cbeb05be3e2e83604e9ce9",
  "_created": "2026-06-03T08:49:32.000Z",
  "_published": "2026-06-03T08:55:00.179Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79256588131,
      "time": 162,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379966262"
    },
    {
      "job": 79256588194,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379963263"
    },
    {
      "job": 79256588178,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379969548"
    },
    {
      "job": 79256588341,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379962992"
    },
    {
      "job": 79256588170,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379946661"
    },
    {
      "job": 79256588162,
      "time": 223,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379987162"
    },
    {
      "job": 79256588203,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379951953"
    },
    {
      "job": 79256588135,
      "time": 266,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380002250"
    },
    {
      "job": 79256033383,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379903541"
    },
    {
      "job": 79256588198,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379950268"
    },
    {
      "job": 79256588141,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379957660"
    },
    {
      "job": 79256588107,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379959750"
    },
    {
      "job": 79256588164,
      "time": 132,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379954292"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lbelzile/longevity",
  "_commit": {
    "id": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
    "author": "Léo Belzile <belzilel@gmail.com>",
    "committer": "Léo Belzile <belzilel@gmail.com>",
    "message": "Fix 4\n",
    "time": 1770117357
  },
  "_maintainer": {
    "name": "Leo Belzile",
    "email": "belzilel@gmail.com",
    "login": "lbelzile",
    "orcid": "0000-0002-9135-014X",
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal.",
    "uuid": 20725206
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "Rsolnp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "lbelzile",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 2
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.3",
      "date": "2026-02-03"
    }
  ],
  "_topics": [
    "extremes",
    "survival-analysis",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lbelzile",
      "count": 59,
      "uuid": 20725206
    },
    {
      "user": "mitchelloharawild",
      "count": 2,
      "uuid": 16127127
    }
  ],
  "_userbio": {
    "uuid": 20725206,
    "type": "user",
    "name": "Léo Belzile",
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal."
  },
  "_downloads": {
    "count": 124,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/longevity"
  },
  "_devurl": "https://github.com/lbelzile/longevity",
  "_pkgdown": "https://lbelzile.github.io/longevity/",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/longevity.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lbelzile/longevity",
  "_realowner": "lbelzile",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-11-12"
    },
    {
      "version": "1.1",
      "date": "2024-07-06"
    },
    {
      "version": "1.1.1",
      "date": "2024-07-19"
    },
    {
      "version": "1.2",
      "date": "2025-05-12"
    },
    {
      "version": "1.2.1",
      "date": "2025-07-03"
    },
    {
      "version": "1.2.2",
      "date": "2025-08-22"
    },
    {
      "version": "1.3",
      "date": "2026-02-03"
    }
  ],
  "_exports": [
    ".censTruncLimits",
    ".censTruncLimitsDtrunc",
    ".check_surv",
    ".turnbull_intervals",
    "autoplot.elife_northropcoleman",
    "autoplot.elife_par",
    "autoplot.elife_profile",
    "autoplot.elife_tstab",
    "autoplot.elife_tstab_endpoint",
    "boxcox_transfo",
    "check_arguments",
    "check_elife_dist",
    "dbeard",
    "dbeardmake",
    "delife",
    "dextgp",
    "dextweibull",
    "dgomp",
    "dgompmake",
    "dgpd",
    "dgppiece",
    "dperks",
    "dperksmake",
    "endpoint.profile",
    "endpoint.tstab",
    "fit_ditrunc_elife",
    "fit_elife",
    "hazard_elife",
    "hazard_fn_elife",
    "hbeard",
    "hbeardmake",
    "helife",
    "hexp",
    "hextgp",
    "hextweibull",
    "hgomp",
    "hgompmake",
    "hgpd",
    "hperks",
    "hperksmake",
    "hweibull",
    "lpost_elife",
    "nc_score_test",
    "nc_test",
    "nll_ditrunc_elife",
    "nll_elife",
    "np_elife",
    "npsurv",
    "pbeard",
    "pbeardmake",
    "pelife",
    "pextgp",
    "pextweibull",
    "pgomp",
    "pgompmake",
    "pgpd",
    "pgppiece",
    "pperks",
    "pperksmake",
    "prof_exp_scale",
    "prof_gp_endpt",
    "prof_gp_scalet",
    "prof_gp_shape",
    "qbeard",
    "qbeardmake",
    "qelife",
    "qextgp",
    "qextweibull",
    "qgomp",
    "qgompmake",
    "qgpd",
    "qgppiece",
    "qperks",
    "qperksmake",
    "r_ditrunc_elife",
    "r_dtrunc_elife",
    "r_ltrc_elife",
    "rbeard",
    "relife",
    "rgppiece",
    "samp_elife",
    "samp2_elife",
    "selife",
    "test_ditrunc_elife",
    "test_elife",
    "tstab",
    "turnbull_intervals"
  ],
  "_datasets": [
    {
      "name": "dutch",
      "title": "Dutch survival data",
      "object": "dutch",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ndays",
        "bdate",
        "bmonth",
        "byear",
        "ddate",
        "dmonth",
        "dyear",
        "ltrunc",
        "rtrunc",
        "gender",
        "valid"
      ],
      "rows": 305143,
      "table": true,
      "tojson": true
    },
    {
      "name": "ewsim",
      "title": "England and Wales simulated supercentenarian data",
      "object": "ewsim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "ltrunc",
        "rtrunc"
      ],
      "rows": 179,
      "table": true,
      "tojson": true
    },
    {
      "name": "idlmetadata",
      "title": "IDL metadata",
      "object": "idlmetadata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country",
        "group",
        "ldate",
        "rdate"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "japanese",
      "title": "Japanese survival data",
      "object": "japanese",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "byear",
        "count",
        "gender"
      ],
      "rows": 1038,
      "table": true,
      "tojson": true
    },
    {
      "name": "japanese2",
      "title": "Japanese survival data (2)",
      "object": "japanese2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "bcohort",
        "count",
        "gender"
      ],
      "rows": 216,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "plot.elife_northropcoleman",
      "title": "P-value plot for Northrop and Coleman diagnostic",
      "topics": [
        "autoplot.elife_northropcoleman",
        "plot.elife_northropcoleman"
      ]
    },
    {
      "page": "plot.elife_par",
      "title": "Goodness-of-fit plots for parametric models",
      "topics": [
        "autoplot.elife_par",
        "plot.elife_par"
      ]
    },
    {
      "page": "plot.elife_tstab",
      "title": "Threshold stability plots",
      "topics": [
        "autoplot.elife_tstab",
        "plot.elife_tstab"
      ]
    },
    {
      "page": "dutch",
      "title": "Dutch survival data",
      "topics": [
        "dutch"
      ]
    },
    {
      "page": "endpoint.profile",
      "title": "Profile likelihood for the endpoint of the generalized Pareto distribution",
      "topics": [
        "endpoint.profile"
      ]
    },
    {
      "page": "ewsim",
      "title": "England and Wales simulated supercentenarian data",
      "topics": [
        "ewsim"
      ]
    },
    {
      "page": "fit_elife",
      "title": "Fit excess lifetime models by maximum likelihood",
      "topics": [
        "fit_elife"
      ]
    },
    {
      "page": "idlmetadata",
      "title": "IDL metadata",
      "topics": [
        "idlmetadata"
      ]
    },
    {
      "page": "japanese",
      "title": "Japanese survival data",
      "topics": [
        "japanese"
      ]
    },
    {
      "page": "japanese2",
      "title": "Japanese survival data (2)",
      "topics": [
        "japanese2"
      ]
    },
    {
      "page": "lpost_elife",
      "title": "Log posterior distribution with MDI priors",
      "topics": [
        "lpost_elife"
      ]
    },
    {
      "page": "nc_test",
      "title": "Score test of Northrop and Coleman",
      "topics": [
        "nc_test"
      ]
    },
    {
      "page": "nll_elife",
      "title": "Likelihood for arbitrary censored and truncated data",
      "topics": [
        "nll_elife"
      ]
    },
    {
      "page": "np_elife",
      "title": "Nonparametric estimation of the survival function",
      "topics": [
        "np_elife"
      ]
    },
    {
      "page": "npsurv",
      "title": "Nonparametric maximum likelihood estimation for arbitrary truncation",
      "topics": [
        "npsurv"
      ]
    },
    {
      "page": "plot.elife_ecdf",
      "title": "Plot empirical distribution function",
      "topics": [
        "plot.elife_ecdf"
      ]
    },
    {
      "page": "plot.elife_profile",
      "title": "Plot profile of endpoint",
      "topics": [
        "autoplot.elife_profile",
        "autoplot.elife_tstab_endpoint",
        "plot.elife_profile"
      ]
    },
    {
      "page": "plot.elife_tstab_endpoint",
      "title": "Plot threshold stability plot for endpoint",
      "topics": [
        "plot.elife_tstab_endpoint"
      ]
    },
    {
      "page": "samp_elife",
      "title": "Simulate excess lifetime with truncation or right-censoring",
      "topics": [
        "samp_elife"
      ]
    },
    {
      "page": "test_elife",
      "title": "Likelihood ratio test for covariates",
      "topics": [
        "test_elife"
      ]
    },
    {
      "page": "tstab",
      "title": "Threshold stability plots",
      "topics": [
        "tstab"
      ]
    }
  ],
  "_readme": "https://github.com/lbelzile/longevity/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "digest",
    "future",
    "future.apply",
    "globals",
    "listenv",
    "numDeriv",
    "parallelly",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "Rsolnp",
    "truncnorm"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introducing longevity",
      "author": "Léo Belzile",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What does longevity do?",
        "Example",
        "References"
      ],
      "created": "2023-09-11 02:09:41",
      "modified": "2024-07-06 02:33:58",
      "commits": 2
    },
    {
      "source": "nonparametric.Rmd",
      "filename": "nonparametric.html",
      "title": "Nonparametric maximum likelihood estimation for survival data",
      "author": "Léo Belzile",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2023-09-08 14:46:27",
      "modified": "2023-09-11 02:09:41",
      "commits": 2
    }
  ],
  "_score": 4.929418925714293,
  "_indexed": true,
  "_nocasepkg": "longevity",
  "_universes": [
    "lbelzile"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-03T08:52:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "a6c0cf820b3c41083f773a84aec7be5321efec8f074424707947e8d6b3f487fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-03T08:52:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "7e0a2af21b6736c91f203ecc58d61a7628b6316d150e6eba161b7f9769beb21a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-03T08:52:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "60e82946ee9bb3396dc67c7fbe6307ff0ebaeee75d22393fe98457f6358e230e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-06-03T08:51:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "f781d2ea6012f17e4a3c982ecc7c11c86c3056f1adc7bf146d986f86be921829",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-03T08:51:21.000Z",
      "arch": "aarch64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "7e84e8f233e139abc8193e6503cee47c68b9921c391957dd322450ac413b41de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-03T08:52:26.000Z",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "9a9036aacfd8da5d5008f6ce50ee61f1e2fdb07961ae6fac2f4f2b3678ba5ddd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-03T08:51:27.000Z",
      "arch": "aarch64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "f9adf173a08cfb53706b30b7dff262cb057cdf690dc4b2d69cb4e299461320d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3",
      "date": "2026-06-03T08:52:46.000Z",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "a8e40889e768fe5d45d1e045cae2008f2f1c62c388064b376a69881d3cc38c77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3",
      "date": "2026-06-03T08:51:56.000Z",
      "arch": "emscripten",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "d13aabb75ffb06f1ca42c1cec86cc25560fdfc271838aa9c053bc868cdd54164",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-03T08:51:06.000Z",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "4780a5a8fb3c95fd52c8b96e90d07d6a2b5d1b6b6c96be182d889a6724c31399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-03T08:51:07.000Z",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "23714ce7c3df790d52ce74110bcea7e09145fa8aa08f3c033b22603157e83ec1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-06-03T08:51:02.000Z",
      "arch": "x86_64",
      "commit": "30e9b9be17b5597731ede03a0446cb33fb6cac85",
      "fileid": "70c52192ccfda495f2fde1cd9dd254e1c1b1b3dc0d9e0324d2971e81f0453f3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/26873896955"
    }
  ]
}