Description Usage Arguments Value Examples
Generate a tridiagonal matrix. To be used for generating blockly correlated VAR series, XgenCorr
.
1 | coefmat(dimension, ondiag, offdiag)
|
dimension |
a number. Size of the matrix, should agree with the number of AR series |
ondiag |
a number. Value of main diagonal, this represents AR coefficient within each one series |
offdiag |
a number. Value of first diagonal above and below the main diagonal, this specifies the cross-correlation with the next neighbor series |
a tridiagonal matrix.
1 | A11 <- coefmat(dimension = 3, ondiag = 0.4, offdiag = 0.15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.