View source: R/parameterReforms.R
change_regime | R Documentation |
change_regime
changes the regime parameters
(\phi_{m},vec(A_{m,1}),...,\vec(A_{m,p}),vech(\Omega_m))
(replace vech(\Omega_m)
by vec(B_m)
for cond_dist="ind_Student"
)
of the given regime to the new given parameters.
change_regime(
p,
M,
d,
params,
m,
regime_pars,
cond_dist = c("Gaussian", "Student", "ind_Student", "ind_skewed_t")
)
p |
the autoregressive order of the model |
M |
the number of regimes |
d |
the number of time series in the system, i.e., the dimension |
params |
a real valued vector specifying the parameter values.
Should have the form
For models with...
Above, |
m |
which regime? |
regime_pars |
|
Does not support constrained models or structural models. Weight parameters and distribution parameters are not changed.
Returns parameter vector with m
:th regime changed to regime_pars
.
Kheifets I.L., Saikkonen P.J. 2020. Stationarity and ergodicity of Vector STAR models. Econometric Reviews, 39:4, 407-414.
Lütkepohl H. 2005. New Introduction to Multiple Time Series Analysis, Springer.
Lanne M., Virolainen S. 2025. A Gaussian smooth transition vector autoregressive model: An application to the macroeconomic effects of severe weather shocks. Unpublished working paper, available as arXiv:2403.14216.
Virolainen S. 2025. Identification by non-Gaussianity in structural threshold and smooth transition vector autoregressive models. Unpublished working paper, available as arXiv:2404.19707.
@keywords internal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.