covar_ar1: Autoregression covariance matrix

Description Usage Arguments Value References

View source: R/covar_ar1.R

Description

Constructs a first order autoregression [AR(1)] covariance matrix.

Usage

1
covar_ar1(q, rho = 0.7)

Arguments

q

dimension of covariance matrix (positive integer)

rho

autoregression parameter (0 <= rho <= 1)

Value

Returns an AR(1) covariance matrix of parameter ρ and dimension q x q.

References

\insertRef

MRCEtsmvr


spcorum/tsmvrdata documentation built on May 6, 2019, 11:17 a.m.