View source: R/uncondMoments.R
| uncond_moments_int | R Documentation |
uncond_moments_int calculates the unconditional mean, variance, the first p autocovariances,
and the first p autocorrelations of the specified GMVAR, StMVAR, or G-StMVAR process.
uncond_moments_int(
p,
M,
d,
params,
model = c("GMVAR", "StMVAR", "G-StMVAR"),
parametrization = c("intercept", "mean"),
constraints = NULL,
same_means = NULL,
weight_constraints = NULL,
structural_pars = NULL
)
p |
a positive integer specifying the autoregressive order of the model. |
M |
|
d |
the number of time series in the system. |
params |
a real valued vector specifying the parameter values.
Above, In the GMVAR model, The notation is similar to the cited literature. |
model |
is "GMVAR", "StMVAR", or "G-StMVAR" model considered? In the G-StMVAR model, the first |
parametrization |
|
constraints |
a size |
same_means |
Restrict the mean parameters of some regimes to be the same? 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 numeric vector of length |
structural_pars |
If
See Virolainen (forthcoming) for the conditions required to identify the shocks and for the B-matrix as well (it is |
The unconditional moments are based on the stationary distribution of the process.
Returns a list with three components:
$uncond_meana length d vector containing the unconditional mean of the process.
$autocovsan (d x d x p+1) array containing the lag 0,1,...,p autocovariances of
the process. The subset [, , j] contains the lag j-1 autocovariance matrix (lag zero for the variance).
$autocorsthe autocovariance matrices scaled to autocorrelation matrices.
Kalliovirta L., Meitz M. and Saikkonen P. 2016. Gaussian mixture vector autoregression. Journal of Econometrics, 192, 485-498.
Lütkepohl H. 2005. New Introduction to Multiple Time Series Analysis, Springer.
McElroy T. 2017. Computation of vector ARMA autocovariances. Statistics and Probability Letters, 124, 92-96.
Virolainen S. 2025. A statistically identified structural vector autoregression with endogenously switching volatility regime. Journal of Business & Economic Statistics. 43:1, 44-54.
Virolainen S. in press. A Gaussian and Student’s mixture vector autoregressive model with an application to monetary policy shocks. Econometrics and Statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.