View source: R/uncondMoments.R
get_regime_autocovs | R Documentation |
get_regime_autocovs
calculates the regimewise autocovariance matrices \Gamma_{m}(j)
j=0,1,...,p
get_regime_autocovs(
p,
M,
d,
params,
weight_function = c("relative_dens", "logistic", "mlogit", "exponential", "threshold",
"exogenous"),
weightfun_pars = NULL,
cond_dist = c("Gaussian", "Student", "ind_Student", "ind_skewed_t"),
identification = c("reduced_form", "recursive", "heteroskedasticity",
"non-Gaussianity"),
AR_constraints = NULL,
mean_constraints = NULL,
weight_constraints = NULL,
B_constraints = NULL
)
p |
a positive integer specifying the autoregressive order |
M |
a positive integer specifying the number of regimes |
params |
a real valued vector specifying the parameter values.
Should have the form
For models with...
Above, |
weight_function |
What type of transition weights
See the vignette for more details about the weight functions. |
weightfun_pars |
|
cond_dist |
specifies the conditional distribution of the model as |
identification |
is it reduced form model or an identified structural model; if the latter, how is it identified (see the vignette or the references for details)?
|
AR_constraints |
a size |
mean_constraints |
Restrict the mean parameters of some regimes to be identical? Provide a list of numeric vectors
such that each numeric vector contains the regimes that should share the common mean parameters. For instance, if
|
weight_constraints |
a list of two elements, |
B_constraints |
a |
Returns an (d \times d \times p+1 \times M)
array containing the first p regimewise autocovariance matrices.
The subset [, , j, m]
contains the j-1:th lag autocovariance matrix of the m:th regime.
Lütkepohl H. 2005. New Introduction to Multiple Time Series Analysis, Springer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.