Description Usage Arguments Details Value Examples
Generate vector autoregression time series with user-specified correlation structure
1 | XgenSimple(p, A, x0, t, sigmax)
|
p |
a number. Number of covariates x. |
A |
a list. Each element is a transition (lag coefficient) matrix. Caution: some specifications can make the series unstationary |
x0 |
a list. Each element is a vector of length p, initial value of x. The length depends on the time lags (number of A). |
t |
a number. Length of series, including the initial lags. |
sigmax |
a number. Standard deviation of noise of x. |
This function has been used as the most basic data generator. It is also used in the XgenCorr, XgenCorr2
and intervention functions.
Mathematical details see the book.
a list of components
Big A |
The expanded transition matrix for all lags |
X |
The generated multiple time series |
lag |
The lag for VAR process |
Characteristic roots |
Absolute value for 1/eigen(BigA), if any is smaller than 1, process is unstationary and series can not be generated |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.