{
  "_id": "6ac636a2f511ae58c09a7e62",
  "Type": "Package",
  "Package": "gompertztrunc",
  "Title": "Conducting Maximum Likelihood Estimation with Truncated\nMortality Data",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\"Casey\", \"Breen\", , \"caseybreen@berkeley.edu\", role = \"aut\",\ncomment = c(ORCID = \"https://orcid.org/0000-0001-9114-981X\")),\nperson(\"Maria\", \"Osborne\", , \"mariaosborne@berkeley.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Joshua R.\", \"Goldstein\", role = \"aut\")\n)",
  "Maintainer": "Maria Osborne <mariaosborne@berkeley.edu>",
  "Description": "Estimates hazard ratios and mortality differentials for\ndoubly-truncated data without population denominators. This\nmethod is described in Goldstein et al. (2023)\n<doi:10.1007/s11113-023-09785-z>.",
  "License": "GPL (>= 3)",
  "URL": "https://caseybreen.github.io/gompertztrunc/,\nhttps://github.com/caseybreen/gompertztrunc",
  "BugReports": "https://github.com/caseybreen/gompertztrunc/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://caseybreen.r-universe.dev",
  "Date/Publication": "2024-02-28 18:24:30 UTC",
  "RemoteUrl": "https://github.com/caseybreen/gompertztrunc",
  "RemoteRef": "HEAD",
  "RemoteSha": "21d43e207df7222e46366c06babe542aa4e93c00",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 09:50:13 UTC",
    "User": "root"
  },
  "Author": "Casey Breen [aut] (ORCID: <https://orcid.org/0000-0001-9114-981X>),\nMaria Osborne [aut, cre],\nJoshua R. Goldstein [aut]",
  "_user": "caseybreen",
  "_type": "src",
  "_file": "gompertztrunc_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/ddfcc9da0c4688f2eebe6fe8e43ea0f1731d8b35da5e26282eeaf6640f2db18f",
  "_filesize": 4227747,
  "_sha256": "ddfcc9da0c4688f2eebe6fe8e43ea0f1731d8b35da5e26282eeaf6640f2db18f",
  "_expires": "2027-01-15T12:10:08.000Z",
  "_created": "2026-10-07T09:50:13.000Z",
  "_published": "2026-10-07T12:10:10.700Z",
  "_buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112732883503,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11473702566"
    },
    {
      "job": 112732883582,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11472939693"
    },
    {
      "job": 112732883495,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11481475213"
    },
    {
      "job": 112732883323,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11481440109"
    },
    {
      "job": 112729904656,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473642406"
    },
    {
      "job": 112732883513,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11474081406"
    },
    {
      "job": 112732883324,
      "time": 92,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11473099111"
    },
    {
      "job": 112732883411,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11474096271"
    },
    {
      "job": 112732883398,
      "time": 127,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473887012"
    }
  ],
  "_upstream": "https://github.com/caseybreen/gompertztrunc",
  "_commit": {
    "id": "21d43e207df7222e46366c06babe542aa4e93c00",
    "author": "Maria Osborne <67436798+mariaosborne@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update cran-comments.md",
    "time": 1709144670
  },
  "_maintainer": {
    "name": "Maria Osborne",
    "email": "mariaosborne@berkeley.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "flexsurv",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggsci",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "modelr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "socviz",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "caseybreen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "caseybreen",
      "count": 63,
      "uuid": 26234849
    },
    {
      "user": "mariaosborne",
      "count": 22,
      "uuid": 67436798
    },
    {
      "user": "olivroy",
      "count": 2,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 26234849,
    "type": "user",
    "name": "Casey Breen",
    "followers": 20
  },
  "_downloads": {
    "count": 469,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gompertztrunc"
  },
  "_devurl": "https://github.com/caseybreen/gompertztrunc",
  "_pkgdown": "https://caseybreen.github.io/gompertztrunc/",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gompertztrunc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/caseybreen/gompertztrunc",
  "_realowner": "caseybreen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-08-17"
    },
    {
      "version": "0.1.1",
      "date": "2022-12-23"
    },
    {
      "version": "0.1.2",
      "date": "2024-02-29"
    }
  ],
  "_exports": [
    "%>%",
    "convert_hazards_to_ex",
    "diagnostic_plot",
    "diagnostic_plot_hazard",
    "get.par.start",
    "gompertz_mle",
    "gompertztrunc_simu",
    "hazard_ratio_to_le",
    "negLL_function"
  ],
  "_datasets": [
    {
      "name": "bunmd_demo",
      "title": "Demo BUNMD Data Set",
      "object": "bunmd_demo",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ssn",
        "bpl_string",
        "death_age",
        "byear",
        "dyear",
        "age_first_application"
      ],
      "rows": 81002,
      "table": true,
      "tojson": true
    },
    {
      "name": "numident_demo",
      "title": "Demo Numident Data Set",
      "object": "numident_demo",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "histid",
        "bmonth",
        "byear",
        "dmonth",
        "dyear",
        "death_age",
        "weight",
        "zip_residence",
        "perwt",
        "age",
        "sex",
        "bpl",
        "mbpl",
        "fbpl",
        "educd",
        "empstatd",
        "hispan",
        "incnonwg",
        "incwage",
        "marst",
        "nativity",
        "occ",
        "occscore",
        "ownershp",
        "pernum",
        "race",
        "rent",
        "serial",
        "statefip",
        "urban",
        "educ_yrs"
      ],
      "rows": 62899,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_data",
      "title": "Simulated mortality data set",
      "object": "sim_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "aod",
        "byear",
        "dyear",
        "temp",
        "sex",
        "isSouth"
      ],
      "rows": 6736,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bunmd_demo",
      "title": "Demo BUNMD Data Set",
      "topics": [
        "bunmd_demo"
      ]
    },
    {
      "page": "convert_hazards_to_ex",
      "title": "Convert hazard ratios to life expectancy",
      "topics": [
        "convert_hazards_to_ex"
      ]
    },
    {
      "page": "diagnostic_plot",
      "title": "Create diagnostic plots",
      "topics": [
        "diagnostic_plot"
      ]
    },
    {
      "page": "diagnostic_plot_hazard",
      "title": "Create diagnostic plot (hazard scale)",
      "topics": [
        "diagnostic_plot_hazard"
      ]
    },
    {
      "page": "get.par.start",
      "title": "Get starting values for parameters",
      "topics": [
        "get.par.start"
      ]
    },
    {
      "page": "gompertz_mle",
      "title": "Gompertz MLE function",
      "topics": [
        "gompertz_mle"
      ]
    },
    {
      "page": "gompertztrunc_simu",
      "title": "Simulate Gompertzian death distribution",
      "topics": [
        "gompertztrunc_simu"
      ]
    },
    {
      "page": "hazard_ratio_to_le",
      "title": "Translate a single hazard ratio to remaining life expectancy",
      "topics": [
        "hazard_ratio_to_le"
      ]
    },
    {
      "page": "negLL_function",
      "title": "Gompertz Negative Log Likelihood Function",
      "topics": [
        "negLL_function"
      ]
    },
    {
      "page": "numident_demo",
      "title": "Demo Numident Data Set",
      "topics": [
        "numident_demo"
      ]
    },
    {
      "page": "sim_data",
      "title": "Simulated mortality data set",
      "topics": [
        "sim_data"
      ]
    }
  ],
  "_readme": "https://github.com/caseybreen/gompertztrunc/raw/HEAD/readme.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "bbmle",
    "bdsmatrix",
    "broom",
    "cli",
    "cowplot",
    "cpp11",
    "data.table",
    "deSolve",
    "dplyr",
    "farver",
    "fastGHQuad",
    "flexsurv",
    "generics",
    "ggplot2",
    "ggsci",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lsoda",
    "magrittr",
    "MASS",
    "Matrix",
    "mgcv",
    "modelr",
    "mstate",
    "muhaz",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rstpm2",
    "S7",
    "scales",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "gompertztrunc_vignette.Rmd",
      "filename": "gompertztrunc_vignette.html",
      "title": "Analyzing doubly-truncated mortality data using the gompertztrunc package",
      "author": "Casey Breen (caseybreen@berkeley.edu), Maria Osborne (mariaosborne@berkeley.edu)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "Background",
        "Summary of Parametric Gompertz Approach",
        "Setup",
        "Case Study I: Simulated Data",
        "Case Study II: Real-World Example with BUNMD Data",
        "Linear regression approach",
        "Visualize Results",
        "Diagnostic Plots",
        "Case Study III: Education and longevity analysis with person-weights",
        "Person-weights",
        "Summary and Limitations"
      ],
      "created": "2022-01-26 16:49:03",
      "modified": "2023-03-18 22:44:42",
      "commits": 19
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "gompertztrunc",
  "_universes": [
    "caseybreen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-07T09:52:41.000Z",
      "distro": "resolute",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/732364ad0974eca07235686ede240f03441e3fd8a5855b5cdc5904c6e6741420",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-07T09:52:34.000Z",
      "distro": "resolute",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/b07b352793031d9b13969c3efc71e3afb26f0cf0b365da466eddfde73073cc15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-07T12:08:57.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/764f5db26f4b3e39b92b9619e2e61ed65c3066eac6a62e87bdd8b4c414e7862a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-07T12:08:23.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/42079333ba32b4ee8a1922d047997e6941bd4d38548b202055102a26bf91bdc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-07T09:52:23.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/a022cd881da3b1ae493eb31ba7786739637ca97e7130b13bdd780805c7de472c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-07T09:51:36.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/453dd6483e7fa3e6ba1e79562dccb874481e28c2fd12d4a8b569c33c28f1db59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-07T09:51:35.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/7c8b38f11cf52caff9690fc8da0df50e0d447b3f87f5899e316f1a77257fb6f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-07T09:52:14.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "https://r2.ropensci.org/8e70600222ae701eee985f6c88de94d047bb0f6a425155acd352f49bfdbd2436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/37602139666"
    }
  ]
}