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.5)gompertztrunc_0.1.2.zip(r-4.4)gompertztrunc_0.1.2.zip(r-4.3)
gompertztrunc_0.1.2.tgz(r-4.4-any)gompertztrunc_0.1.2.tgz(r-4.3-any)
gompertztrunc_0.1.2.tar.gz(r-4.5-noble)gompertztrunc_0.1.2.tar.gz(r-4.4-noble)
gompertztrunc_0.1.2.tgz(r-4.4-emscripten)gompertztrunc_0.1.2.tgz(r-4.3-emscripten)
gompertztrunc.pdf |gompertztrunc.html✨
gompertztrunc/json (API)
NEWS
# 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
- bunmd_demo - Demo BUNMD Data Set
- numident_demo - Demo Numident Data Set
- sim_data - Simulated mortality data set
Last updated 9 months agofrom:21d43e207d. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:%>%convert_hazards_to_exdiagnostic_plotdiagnostic_plot_hazardget.par.startgompertz_mlegompertztrunc_simuhazard_ratio_to_lenegLL_function
Dependencies:assertthatbackportsbbmlebdsmatrixBHbroomclicolorspacecowplotcpp11data.tabledeSolvedplyrfansifarverfastGHQuadflexsurvgenericsggplot2ggscigluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmodelrmstatemuhazmunsellmvtnormnlmenumDerivpillarpkgconfigpurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
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 |