Learn R Programming

avar (version 0.1.3)

covmat_bi: Calculate Theoretical Covariance Matrix of Bias-Instability Process

Description

This function allows us to calculate the theoretical covariance matrix of a bias-instability process.

Usage

covmat_bi(sigma2, n_total, n_block)

Value

The theoretical covariance matrix of the bias-instability process.

Arguments

sigma2

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

n_total

An integer indicating the length of the whole bias-instability process.

n_block

An integer indicating the length of each block of the bias-instability process.

Author

Yuming Zhang

Examples

Run this code
covmat1 = covmat_bi(sigma2 = 1, n_total = 1000, n_block = 10)
covmat2 = covmat_bi(sigma2 = 2, n_total = 800, n_block = 20)

Run the code above in your browser using DataLab