Learn R Programming

wv (version 0.1.2)

av_ar1: Calculate Theoretical Allan Variance for Stationary First-Order Autoregressive (AR1) Process

Description

This function allows us to calculate the theoretical allan variance for stationary first-order autoregressive (AR1) process.

Usage

av_ar1(n, phi, sigma2)

Value

A double indicating the theoretical allan variance for AR1 process.

Arguments

n

An integer value for the size of the cluster.

phi

A double value for the autocorrection parameter \(\phi\).

sigma2

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

Author

Yuming Zhang

Examples

Run this code
av1 = av_ar1(n = 5, phi = 0.9, sigma2 = 1)
av2 = av_ar1(n = 8, phi = 0.5, sigma2 = 2)

Run the code above in your browser using DataLab