View source: R/argumentChecks.R
check_constraints | R Documentation |
check_constraints
checks that the constraints are correctly set.
check_constraints(
data,
p,
M,
d,
weight_function = c("relative_dens", "logistic", "mlogit", "exponential", "threshold",
"exogenous"),
weightfun_pars = NULL,
parametrization = c("intercept", "mean"),
identification = c("reduced_form", "recursive", "heteroskedasticity",
"non-Gaussianity"),
AR_constraints = NULL,
mean_constraints = NULL,
weight_constraints = NULL,
B_constraints = NULL
)
data |
a matrix or class |
p |
a positive integer specifying the autoregressive order |
M |
a positive integer specifying the number of regimes |
d |
the number of time series in the system, i.e., the dimension |
weight_function |
What type of transition weights
See the vignette for more details about the weight functions. |
weightfun_pars |
|
parametrization |
|
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 |
Does return anything but checks the constraints and throws an error if something is wrong.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.