Last chance! 50% off unlimited learning
Sale ends in
get_alpha_mt
computes the transition weights.
get_alpha_mt(
data,
Y2,
p,
M,
d,
weight_function = c("relative_dens", "logistic", "mlogit", "exponential", "threshold",
"exogenous"),
weightfun_pars = NULL,
all_A,
all_boldA,
all_Omegas,
weightpars,
all_mu,
epsilon,
log_mvdvalues = NULL
)
Returns the mixing weights a
and
a matrix or class 'ts'
object with d>1
columns. Each column is taken to represent
a univariate time series. Missing values are not supported.
the data arranged as obtained from reform_data(data, p)
but excluding the last row
a positive integer specifying the autoregressive order
a positive integer specifying the number of regimes
the number of time series in the system, i.e., the dimension
What type of transition weights
"relative_dens"
:
"logistic"
:
"mlogit"
:
"exponential"
:
"threshold"
:
"exogenous"
:Exogenous nonrandom transition weights, specify the weight series in weightfun_pars
.
See the vignette for more details about the weight functions.
weight_function == "relative_dens"
:Not used.
weight_function %in% c("logistic", "exponential", "threshold")
:a numeric vector with the switching variable
weight_function == "mlogit"
:a list of two elements:
$vars
:a numeric vector containing the variables that should used as switching variables
in the weight function in an increasing order, i.e., a vector with unique elements in
$lags
:an integer in
weight_function == "exogenous"
:a size (nrow(data) - p
x M
) matrix containing the exogenous
transition weights as [t, m]
for time
4D array containing all coefficient matrices pick_allA
.
3D array containing the form_boldA
. Will be computed if not given.
A 3D array containing the covariance matrix parameters obtain from pick_Omegas
...
cond_dist %in% c("Gaussian", "Student")
:all covariance matrices [, , m]
.
cond_dist=="ind_Student"
:all impact matrices [, , m]
.
numerical vector containing the transition weight parameters, obtained from pick_weightpars
.
an
the smallest number such that its exponent is wont classified as numerically zero
(around -698
is used).
a
Note that we index the time series as
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