- formula
A three-part expression of class Formula describing the TAR model to be fitted.
The first part specifies the variables in the multivariate output series, the second part
defines the threshold series, and the third part specifies the variables in the multivariate
exogenous series.
- data
A data frame containing the variables in the model. If not found in data, the
variables are taken from environment(formula), typically the environment from
which mtar_grid() is called.
- subset
An optional vector specifying a subset of observations to be used in the fitting process.
- Intercept
An optional logical indicating whether an intercept should be included within each regime.
- trend
An optional character string specifying the degree of deterministic time trend to be
included in each regime. Available options are "linear", "quadratic", and
"none". By default, trend is set to "none".
- nseason
An optional integer, greater than or equal to 2, specifying the number of seasonal periods.
When provided, nseason - 1 seasonal dummy variables are added to the regressors within each regime.
By default, nseason is set to NULL, thereby indicating that the TAR model has no seasonal effects.
- ars
A list defining the autoregressive structure of the model. It contains four
components: the number of regimes (nregim), the autoregressive order within each
regime (p), and the maximum lags for the exogenous (q) and threshold
(d) series in each regime. The object can be validated using the helper
function ars().
- row.names
An optional variable in data labelling the time points corresponding to each row of the data set.
- dist
A character string specifying the multivariate distributions used to model the noise
process. Available options are "Gaussian", "Student-t", "Slash",
"Hyperbolic", "Laplace", "Contaminated normal",
"Skew-normal", and "Skew-Student-t". By default, dist is set to
"Gaussian".
- prior
An optional list specifying the hyperparameter values that define the prior
distribution. This list can be validated using the priors() function. By default,
prior is set to an empty list, thereby indicating that the hyperparameter values
should be set so that a non-informative prior distribution is obtained.
- n.sim
An optional positive integer specifying the number of simulation iterations after the
burn-in period. By default, n.sim is set to 500.
- n.burnin
An optional positive integer specifying the number of burn-in iterations. By default,
n.burnin is set to 100.
- n.thin
An optional positive integer specifying the thinning interval. By default,
n.thin is set to 1.
- ssvs
An optional logical indicating whether the Stochastic Search Variable Selection (SSVS)
procedure should be applied to identify relevant lags of the output, exogenous, and threshold
series. By default, ssvs is set to FALSE.
- setar
An optional positive integer indicating the component of the output series used as the
threshold variable. By default, setar is set to NULL, indicating that the
fitted model is not a SETAR model.
- progress
An optional logical indicating whether a progress bar should be displayed during
execution. By default, progress is set to TRUE.
- ...
further arguments passed to or from other methods.