Description Usage Arguments Details Value References See Also
Predicts Helligman-Pollard model with the estimated parameters both "natural" mortality, "total" mortality and mortality due to an external risk with confidence intervals.
1 | HP.CI(HPout, age, CI = 95, M = "total")
|
HPout |
A model object created with HP.mod with the Heligman-Pollard estimated params |
age |
A vector of the ages at which the probabilities of death will be calculated. |
CI |
Defines the width of the credible interval (Defaults to 95 percent). A summary table is printed with the median estimate and lower and upper confidence bounds. Setting CI = 95 prints a table with the first column representing the 2.5th percentile for each parameter distribution, the second column represents the median value for each parameter distribution and the third column represents the 97.5th percentile for each parameter distribution. |
M |
The type of probabilities to be calculated. Can be both "natural" mortality, "total" mortality and mortality due to an external risk. |
The type of mortality to be calculated must be defined. By default the total probability of death is calculated but only natural mortality or due to an external risk can be calculad if previously defined.
Return a dataframe with number of rows equal to the number of age classes and four columns:
age |
Vetor with age classes. |
Med |
Median prediction of probabilities of death at age. |
Mlo |
Lower limit of prediction of probabilities of death at age with CI = (100 - CI)/2. |
Mhi |
Higher limit of prediction of probabilities of death at age with CI = 1- (100 - CI)/2. |
Heligman, L. and Pollard, J.H. (1980). The Age Pattern of Mortality. Journal of the Institute of Actuaries 107:49<e2><80><93>80.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.