Description Usage Arguments Details Value References See Also Examples
Fit the Li-Lee mortality model
1 |
data |
A data.frame or a matrix containing mortality data
with ages |
data.B |
A data.frame or a matrix containing mortality data for the
benchmark population. Must be the same format as in |
x |
Numerical vector indicating the ages in input |
y |
Numerical vector indicating the years in input |
verbose |
A logical value. Set |
... |
Arguments to be passed to or from other methods. |
li2005MortalityForecast
The output is a list with the components:
input |
List with arguments provided in input. Saved for convenience; |
info |
Short details about the model; |
call |
An unevaluated function call, that is, an unevaluated expression which consists of the named function applied to the given arguments; |
coefficients |
Estimated coefficients; |
fitted.values |
Fitted values of the estimated model; |
observed.values |
The observed values used in fitting arranged in the same format as the fitted.values; |
residuals |
Deviance residuals; |
x |
Vector of ages used in the fitting; |
y |
Vector of years used in the fitting; |
benchmark |
An object of class |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.