Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/model_LeeCarter.R
Forecast age-specific death rates using the Lee-Carter model.
1 2 3 4 |
object |
An object of class |
h |
Number of years to be forecast in the future. |
order |
A specification of the non-seasonal part of the ARIMA model:
the three components (p, d, q) are the AR order, the degree of differencing,
and the MA order. If |
include.drift |
Logical. Should the ARIMA model include a linear drift
term? If |
level |
Significance level of the confidence interval. |
jumpchoice |
Method used for computation of jumpchoice.
Possibilities: |
method |
ARIMA fitting method: maximum likelihood or minimize
conditional sum-of-squares. Options to use: conditional-sum-of-squares
( |
verbose |
A logical value. Set |
... |
Additional arguments to be passed to |
lee1992MortalityForecast
The output is a list with the components:
call |
An unevaluated function call, that is, an unevaluated expression which consists of the named function applied to the given arguments; |
info |
Short details about the model; |
kt |
The extrapolated values of the |
kt.arima |
An object of class |
predicted.values |
A list containing the predicted values given by
the estimated model over the forecast horizon |
conf.intervals |
Confidence intervals for the predicted values; |
x |
Vector of ages used in prediction; |
y |
Vector of years used in prediction. |
Marius D. Pascariu and Marie-Pier Bergeron-Boucher
1 | # For examples go to ?model.LeeCarter
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.