| est_templ | R Documentation |
Create estimation templates from MixAR model objects.
est_templ(model, shift = TRUE, ...)
model |
a |
shift |
logical, see Details. |
... |
currently not used. |
Argument model is used as a template to specify values of
parameters and/or which parameters to estimate or fix. In general,
If a value of a parameter in model is NA, then it is to
be estimated. Otherwise the parameter is taken as is.
The current implementation is incomplete. In particular, the AR parameters are always designated for estimation.
Argument shift can be used to overwrite some or values
component shift in model. If shift has length
one, it is replicated to the number of MixAR components. If
shift[k] is TRUE, then the shift coefficient for the
k-th component is set to NA to request its
estimation. Otherwise, the value of the shift for the k-th component
in model is taken.
Argument shift has a default of TRUE which causes the
shift coefficients to be estimated irrespectively of their values in
model.
est_templ returns a list with as many components as there are
MixAR components in the model. The k-th component of the list is itself a list
specifing which parameters of the i-th MixAR component to estimate or fix.
a list, as described in Details.
exampleModels$WL_A
est_templ(exampleModels$WL_A)
est_templ(exampleModels$WL_A, shift = FALSE)
exampleModels$WL_I
est_templ(exampleModels$WL_I)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.