Package: gompertztrunc 0.1.2

Maria Osborne
gompertztrunc: Conducting Maximum Likelihood Estimation with Truncated Mortality Data
Estimates hazard ratios and mortality differentials for doubly-truncated data without population denominators. This method is described in Goldstein et al. (2023) <doi:10.1007/s11113-023-09785-z>.
Authors:
gompertztrunc_0.1.2.tar.gz
gompertztrunc_0.1.2.zip(r-4.7-any)gompertztrunc_0.1.2.zip(r-4.6-any)gompertztrunc_0.1.2.zip(r-4.5-any)
gompertztrunc_0.1.2.tgz(r-4.6-any)gompertztrunc_0.1.2.tgz(r-4.5-any)
gompertztrunc_0.1.2.tar.gz(r-4.7-any)gompertztrunc_0.1.2.tar.gz(r-4.6-any)
gompertztrunc_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gompertztrunc/json (API)
| # Install 'gompertztrunc' in R: |
| install.packages('gompertztrunc', repos = c('https://caseybreen.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/caseybreen/gompertztrunc/issues
Pkgdown/docs site:https://caseybreen.github.io
- bunmd_demo - Demo BUNMD Data Set
- numident_demo - Demo Numident Data Set
- sim_data - Simulated mortality data set
Last updated from:21d43e207d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 150 | ||
| source / vignettes | OK | 266 | ||
| linux-release | OK | 138 | ||
| macos-release | OK | 164 | ||
| macos-oldrel | OK | 171 | ||
| windows-devel | OK | 92 | ||
| windows-release | OK | 127 | ||
| windows-oldrel | OK | 86 | ||
| wasm-release | OK | 110 |
Exports:%>%convert_hazards_to_exdiagnostic_plotdiagnostic_plot_hazardget.par.startgompertz_mlegompertztrunc_simuhazard_ratio_to_lenegLL_function
Dependencies:assertthatbackportsbbmlebdsmatrixbroomclicowplotcpp11data.tabledeSolvedplyrfarverfastGHQuadflexsurvgenericsggplot2ggscigluegtableisobandlabelinglatticelifecyclelsodamagrittrMASSMatrixmgcvmodelrmstatemuhazmvtnormnlmenumDerivpillarpkgconfigpurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2S7scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Demo BUNMD Data Set | bunmd_demo |
| Convert hazard ratios to life expectancy | convert_hazards_to_ex |
| Create diagnostic plots | diagnostic_plot |
| Create diagnostic plot (hazard scale) | diagnostic_plot_hazard |
| Get starting values for parameters | get.par.start |
| Gompertz MLE function | gompertz_mle |
| Simulate Gompertzian death distribution | gompertztrunc_simu |
| Translate a single hazard ratio to remaining life expectancy | hazard_ratio_to_le |
| Gompertz Negative Log Likelihood Function | negLL_function |
| Demo Numident Data Set | numident_demo |
| Simulated mortality data set | sim_data |