random_df generates random M2 degrees of freedom parameter values
close to given values, where M2 is number of StMVAR type regimes in the model.
smart_df(
M,
df,
accuracy,
which_random = numeric(0),
model = c("GMVAR", "StMVAR", "G-StMVAR")
)a numeric vector of length zero.
a numeric vector of length M with random entries strictly larger than two.
a numeric vector of length M2 with random entries strictly larger than two.
a positive integer specifying the number of mixture components.
a size \((2\times 1)\) integer vector specifying the number of GMVAR type components M1
in the first element and StMVAR type components M2 in the second element. The total number of mixture components
is M=M1+M2.
the old degrees of freedom parameters (of all regimes)
a positive real number adjusting how close to the given degrees of freedom parameters the returned df should be.
a vector with length between 1 and M specifying the mixture components that should be random instead of close to the given degrees of freedom.
is "GMVAR", "StMVAR", or "G-StMVAR" model considered? In the G-StMVAR model, the first M1 components
are GMVAR type and the rest M2 components are StMVAR type.