Learn R Programming

gompertztrunc (version 0.1.1)

Conducting Maximum Likelihood Estimation with Truncated Mortality Data

Description

Estimates hazard ratios and mortality differentials for doubly-truncated data without population denominators.

Copy Link

Version

Install

install.packages('gompertztrunc')

Monthly Downloads

691

Version

0.1.1

License

GPL (>= 3)

Maintainer

Maria Osborne

Last Published

December 23rd, 2022

Functions in gompertztrunc (0.1.1)

diagnostic_plot

Create diagnostic plots
gompertz_mle

Gompertz MLE function
diagnostic_plot_hazard

Create diagnostic plot (hazard scale)
bM2a

Helper functions
gompertztrunc_simu

Simulate Gompertzian death distribution
get.par.start

Get starting values for parameters
hazard_ratio_to_le

Translate a single hazard ratio to remaining life expectancy
negLL_function

Gompertz Negative Log Likelihood Function
mll.gomp.multi.cohort.cov

Gompertz mle function
numident_demo

Demo Numident Data Set
bunmd_demo

Demo BUNMD Data Set
%>%

Pipe operator
sim_data

Simulated mortality data set
convert_hazards_to_ex

Convert hazard ratios to life expectancy