Extract coefficients from a fitted Stochastic Mortality Model
# S3 method for fitStMoMo
coef(object, ...)
an object of class "fitStMoMo"
with the fitted
parameters of a stochastic mortality model.
other arguments.
A list of model parameters with components:
Vector with the fitted values of the static age function
\(\alpha_x\). If the model does not have a static age function or failed
to fit this is set to NULL
.
Matrix with the values of the period age-modulating functions
\(\beta_x^{(i)}, i=1, ..., N\). If the \(i\)-th age-modulating
function is non-parametric (e.g., as in the Lee-Carter model)
bx[, i]
contains the estimated values. If the model does not have
any age-period terms (i.e. \(N=0\)) or failed to fit this is set to
NULL
.
Matrix with the values of the fitted period indexes
\(\kappa_t^{(i)}, i=1, ..., N\). kt[i, ]
contains the estimated
values of the \(i\)-th period index. If the model does not have any
age-period terms (i.e. \(N=0\)) or failed to fit this is set to
NULL
.
Vector with the values of the cohort age-modulating function
\(\beta_x^{(0)}\). If the age-modulating function is non-parametric
b0x
contains the estimated values. If the model does not have a
cohort effect or failed to fit this is set to NULL
.
Vector with the fitted cohort index \(\gamma_{c}\).
If the model does not have a cohort effect or failed to fit this is set
to NULL
.
# NOT RUN {
APCfit <- fit(apc(), data = EWMaleData)
coef(APCfit)
# }
Run the code above in your browser using DataLab