View source: R/parameterReforms.R
sort_components | R Documentation |
sort_components
sorts mixture components of the specified GMAR, StMAR, or G-StMAR model
according to the mixing weight parameters when the parameter vector has the "standard/regular form" for
restricted or non-restricted models.
sort_components(
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 |
This function does not support models imposing linear constraints.
Returns a parameter vector sorted according to its mixing weight parameters,
described in params
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.