calc_gompertz_survival_probability {R4GoodPersonalFinances} | R Documentation |
Calculating Gompertz survival probability
Description
Calculating Gompertz survival probability
Usage
calc_gompertz_survival_probability(
current_age,
target_age,
mode,
dispersion,
max_age = NULL
)
Arguments
current_age |
Current age |
target_age |
Target age |
mode |
Mode of the Gompertz distribution |
dispersion |
Dispersion of the Gompertz distribution |
max_age |
Maximum age. Defaults to |
Value
A numeric. The probability of survival from 'current_age' to 'target_age' based on the Gompertz distribution with the given parameters.
Examples
calc_gompertz_survival_probability(
current_age = 65,
target_age = 85,
mode = 80,
dispersion = 10
)
[Package R4GoodPersonalFinances version 1.0.0 Index]