Extract the model coefficient of a stochastic mortality model from a gnm fit of the model
extractCoefficientsFromGnm(object, coefGnmModel, ages, years, cohorts,
zeroWeigthAges, zeroWeigthYears, zeroWeigthCohorts)
an object of class "StMoMo"
defining the stochastic
mortality model.
fitted coefficient from a gnm model fit.
ages in the fitting data.
years in the fitting data.
cohorts in the fitting data.
character vector of years whose parameters cannot be estimated because all data is zero weighted
character vector of years whose parameters cannot be estimated because all data is zero weighted
character vector of cohort whose parameters cannot be estimated because all data is zero weighted
A list with the model parameters, ax, bx, kt, b0x, gc
Weight vectors wx, wx, wc are used to identify parameters that cannot be estimated because all the data is weighted out.