Calculates the daily probability of death based on age using a simplified Gompertz-Makeham mortality model.
Value
A tibble with:
- age
Input age
- sex
Input sex
- daily_prob
Daily probability of death
- micromorts
Daily baseline risk in micromorts
- microlives_consumed
Estimated microlives consumed per day
- interpretation
Human-readable summary
References
Gompertz B (1825). "On the Nature of the Function Expressive of the Law of Human Mortality." Philosophical Transactions of the Royal Society.
Examples
# Baseline risk at age 30
daily_hazard_rate(30)
#> # A tibble: 1 × 6
#> age sex daily_prob micromorts microlives_consumed interpretation
#> <dbl> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 30 male 0.00000203 2 0.04 At age 30 (male): 2.0 m…
# Compare male vs female at age 65
daily_hazard_rate(65, "male")
#> # A tibble: 1 × 6
#> age sex daily_prob micromorts microlives_consumed interpretation
#> <dbl> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 65 male 0.0000346 34.6 0.25 At age 65 (male): 34.6 …
daily_hazard_rate(65, "female")
#> # A tibble: 1 × 6
#> age sex daily_prob micromorts microlives_consumed interpretation
#> <dbl> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 65 female 0.0000151 15.1 0.11 At age 65 (female): 15…
