This auxiliary function defines the regime structure of a multivariate TAR model by specifying the number of regimes and the corresponding lag orders for the endogenous, exogenous, and threshold series in each regime.
ars(nregim = 1, p = 1, q = 0, d = 0)A list containing the number of regimes and the regime-specific lag-order specifications.
A positive integer indicating the total number of regimes.
A list of positive integers specifying the autoregressive order of the output series within each regime.
A list of non-negative integers specifying the maximum lag of the exogenous series within each regime.
A list of non-negative integers specifying the maximum lag of the threshold series within each regime.