### Autocorrelation Matrix in R

I have been simulating a lot of data lately with various covariance (correlation) structures, and one that I have been using is the autocorrelation (or autoregressive) structure, where there is a “lag” between variables. The matrix is a v-dimension matrix of the form $$\begin{bmatrix} 1 & \rho & \rho^2 & \dots & \rho^{v-1}\\ \... [Read more...]