reformRestrictedPars
reforms parameter vector with restricted autoregressive parameters to correspond
non-restricted parameter vector.
reformRestrictedPars(p, M, params, model = c("GMAR", "StMAR", "G-StMAR"),
restricted = FALSE)
a positive integer specifying the order of AR coefficients.
a positive integer specifying the number of mixture components.
a size (2x1) vector specifying the number of GMAR-type components M1
in the
first element and StMAR-type components M2
in the second. The total number of mixture components is M=M1+M2
.
a real valued parameter vector specifying the model.
Size
Size
Size
Replace the vectors
Size
Size
Size
Replace the vector
Symbol parametrization=="mean"
just replace each intercept term M1
components are GMAR-type
and the rest M2
components are StMAR-type.
Note that in the case M=1 the parameter
is "GMAR", "StMAR" or "G-StMAR" model considered? In G-StMAR model the first M1
components
are GMAR-type and the rest M2
components are StMAR-type.
a logical argument stating whether the AR coefficients
Returns such parameter vector corresponding to the input vector that is the form describted in params
for non-restricted models (for non-constrained models). Linear constraints are not supported.