AR1 {CVTuningCov}R Documentation

Covariance Matrix with AR(1) Structure

Description

Generate Covariance Matrix with an Autoregression (1) Structrue

Usage

AR1(p,rho=0.5)

Arguments

p

the dimension of a covariance matrix.

rho

the default value is 0.5.

Value

a p*p matrix.

Author(s)

Binhuan Wang

Examples

p <- 5;
Sigma <- AR1(p, rho=0.9);
Sigma;

[Package CVTuningCov version 1.0 Index]