Description Usage Arguments Value Examples
Generate univariate SETAR model for up to 3 regimes.
1 2 |
nob |
number of observations. |
arorder |
AR-order for each regime. The length of arorder controls the number of regimes. |
phi |
a 3-by-p matrix. Each row contains the AR coefficients for a regime. |
d |
delay for threshold variable. |
thr |
threshold values. |
sigma |
standard error for each regime. |
cnst |
constant terms. |
ini |
burn-in period. |
uTAR.sim returns a list with components:
series |
a time series following SETAR model. |
at |
innovation of the time seres. |
arorder |
AR-order for each regime. |
thr |
threshold value. |
phi |
a 3-by-p matrix. Each row contains the AR coefficients for a regime. |
cnst |
constant terms |
sigma |
standard error for each regime. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.