Description Usage Arguments Details Value
Extract the model coefficient of a stochastic mortality model from a gnm fit of the model
1 2  | extractCoefficientsFromGnm(object, coefGnmModel, ages, years, cohorts,
  zeroWeigthAges, zeroWeigthYears, zeroWeigthCohorts)
 | 
object | 
 an object of class   | 
coefGnmModel | 
 fitted coefficient from a gnm model fit.  | 
ages | 
 ages in the fitting data.  | 
years | 
 years in the fitting data.  | 
cohorts | 
 cohorts in the fitting data.  | 
zeroWeigthAges | 
 character vector of years whose parameters cannot be estimated because all data is zero weighted  | 
zeroWeigthYears | 
 character vector of years whose parameters cannot be estimated because all data is zero weighted  | 
zeroWeigthCohorts | 
 character vector of cohort whose parameters cannot be estimated because all data is zero weighted  | 
Weight vectors wx, wx, wc are used to identify parameters that cannot be estimated because all the data is weighted out.
A list with the model parameters, ax, bx, kt, b0x, gc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.