View source: R/parameterReforms.R
reform_restricted_pars | R Documentation |
reform_restricted_pars
reforms parameter vector with restricted autoregressive parameters to correspond
non-restricted parameter vector.
reform_restricted_pars(
p,
M,
params,
model = c("GMAR", "StMAR", "G-StMAR"),
restricted = FALSE
)
p |
a positive integer specifying the autoregressive order of the model. |
M |
|
params |
a real valued parameter vector specifying the model.
Symbol |
model |
is "GMAR", "StMAR", or "G-StMAR" model considered? In the G-StMAR model, the first |
restricted |
a logical argument stating whether the AR coefficients |
Returns such parameter vector corresponding to the input vector that is the form described in params
for non-restricted models (for non-constrained models). Linear constraints are not supported.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.