powered by
Computes the covariance of an AR(q) process.
.covAR(k, phi, sigma)
A k x k covariance matrix.
k x k
integer indicating the lag length of the covariance.
q x 1 vector of parameters.
q x 1
the innovation variance of the AR(q) process.