{
  "_id": "6a27ba6924555f66ed53a783",
  "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-06-09 06:44:26 UTC",
    "User": "root"
  },
  "Author": "Casey Breen [aut] (ORCID: <https://orcid.org/0000-0001-9114-981X>),\nMaria Osborne [aut, cre],\nJoshua R. Goldstein [aut]",
  "MD5sum": "e8541b4c18d78d87800a38f1722032ff",
  "_user": "caseybreen",
  "_type": "src",
  "_file": "gompertztrunc_0.1.2.tar.gz",
  "_fileid": "8746b85b364daedf42bb66ca971a4d89c4619560fcb022311e4ef8f9fc5ea9f5",
  "_filesize": 4227648,
  "_sha256": "8746b85b364daedf42bb66ca971a4d89c4619560fcb022311e4ef8f9fc5ea9f5",
  "_created": "2026-06-09T06:44:26.000Z",
  "_published": "2026-06-09T07:02:01.045Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80263924565,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500396224"
    },
    {
      "job": 80263924537,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500393985"
    },
    {
      "job": 80263924546,
      "time": 222,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500613659"
    },
    {
      "job": 80263924557,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500640157"
    },
    {
      "job": 80263380277,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500352226"
    },
    {
      "job": 80263924560,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500386951"
    },
    {
      "job": 80263924550,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500377640"
    },
    {
      "job": 80263924551,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500376561"
    },
    {
      "job": 80263924547,
      "time": 112,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500385566"
    }
  ],
  "_buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 662,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gompertztrunc"
  },
  "_devurl": "https://github.com/caseybreen/gompertztrunc",
  "_pkgdown": "https://caseybreen.github.io/gompertztrunc/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gompertztrunc.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-09T06:46:52.000Z",
      "distro": "noble",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "85a2dd6cc4848309e047bbcb1cf1c81acb072a657c0d920986bcc8c5b6230894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-09T06:46:49.000Z",
      "distro": "noble",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "9436ffb084085833ac862d06e2c7aa01882a3d353ce3475d6232349941ac13ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-09T06:59:19.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "ca538b36cf3eda8784afe471f322e266341f44b772a8a4a1dd2dbaf62e813e34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-09T07:00:52.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "94a184046af2af94ed974eb15f0763a974ef90b77940a90e889e06b9e1fbeb10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-09T06:46:39.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "fb7aea2eee94c1e69c9962dfadd157edd14f19ab6205b12049b7bc1c19cdc86c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T06:45:42.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "eb52bb42faf15c032c57a36abb334a7d4969cb66a75b99af3b4013ed9abac3da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T06:45:40.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "81cdc5ef84a96cc9ca14cd30de7984b912a00c45f4b83a703408bc03961fc93a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T06:46:12.000Z",
      "commit": "21d43e207df7222e46366c06babe542aa4e93c00",
      "fileid": "c891a6ed9df84b8b142cdf452f4d54937ff5c0a545c08b6cb3005751856d31a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/caseybreen/actions/runs/27188662135"
    }
  ]
}