Learn R Programming

avar (version 0.1.3)

covmat_nswn: Calculate Theoretical Covariance Matrix of Non-Stationary White Noise Process

Description

This function allows us to calculate the theoretical covariance matrix of a non-stationary white noise process.

Usage

covmat_nswn(sigma2, n_total)

Value

The theoretical covariance matrix of the non-stationary white noise process.

Arguments

sigma2

A double value for the variance parameter \(\sigma ^2\).

n_total

An integer indicating the length of the whole non-stationary white noise process.

Author

Yuming Zhang

Examples

Run this code
covmat1 = covmat_nswn(sigma2 = 1, n_total = 1000)
covmat2 = covmat_nswn(sigma2 = 2, n_total = 800)

Run the code above in your browser using DataLab