Fit an Improvement Rate Model indirectly via fiting the equivalent mortality rate model and then trasforming the output to improvement rates
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
object |
an object of class |
data |
an optional object of type StMoMoData containing information on
deaths and exposures to be used for fitting the model. This is typically created
with function |
Dxt |
optional matrix of deaths data. |
Ext |
optional matrix of observed exposures of the same dimension of
|
ages |
optional vector of ages corresponding to rows of |
years |
optional vector of years corresponding to rows of |
ages.fit |
optional vector of ages to include in the fit. Must be a
subset of |
years.fit |
optional vector of years to include in the fit. Must be a
subset of |
wxt |
optional matrix of 0-1 weights to be used in the fitting process.
This can be used, for instance, to zero weight some cohorts in the data.
See |
start.ax |
optional vector with starting values for α_x. |
start.bx |
optional matrix with starting values for β_x^{(i)}. |
start.kt |
optional matrix with starting values for κ_t^{(i)}. |
start.b0x |
optional vector with starting values for β_x^{(0)}. |
start.gc |
optional vector with starting values for γ_c. |
verbose |
a logical value. If |
... |
arguments to be passed to or from other methods. This can be
used to control the fitting parameters of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.