View source: R/model_LeeCarter.R
Get m[x] values and confidence intervals based on k[t] forecast In this function we compute the m[x] values based on the extrapolation of the k[t] time-series. If necessary an adjustment for the jump-off is provided.
1 | get_mx_values(object, jumpchoice, y, kt, B.kt = NULL)
|
object |
An object of class |
jumpchoice |
Method used for computation of jumpchoice.
Possibilities: |
y |
Numerical vector indicating the years in input |
kt |
Predicted k[t] values in the model; |
B.kt |
Predicted k[t] values of the benchmark model, used in the Li-Lee model only. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.