dot-covAR: Computes the covariance of an AR(q) process.

.covARR Documentation

Computes the covariance of an AR(q) process.

Description

Computes the covariance of an AR(q) process.

Usage

.covAR(k, phi, sigma)

Arguments

k

integer indicating the lag length of the covariance.

phi

q x 1 vector of parameters.

sigma

the innovation variance of the AR(q) process.

Value

A k x k covariance matrix.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.