ARcov | R Documentation |
\lvert \rho\rvert < 1
.Function to generate an AR(1) variance-covariance matrix with parameter rho s.t. \lvert \rho\rvert < 1
.
ARcov(rho, n)
rho |
Numeric value representing the autocorrelation parameter. Must satisfy |rho| < 1. |
n |
Integer representing the size of the matrix (n x n). |
A variance-covariance matrix of size n x n based on the AR(1) process.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.