covMatAR1: AR(1)

View source: R/stats.R

covMatAR1R Documentation

AR(1)

Description

Return a first-order auto-regressive covariance matrix.

Usage

covMatAR1(n, rho, sigma2)

Arguments

n

dimension of the matrix (number of rows and columns)

rho

correlation between successive variables

sigma2

variance of the errors (also called "innovations" in the time-series literature)

Value

matrix

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.