av_ar1 {avar} | R Documentation |
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)
Arguments
n |
An |
phi |
A |
sigma2 |
A |
Value
A double
indicating the theoretical allan variance for AR1 process.
Note
This function is based on the calculation of the theoretical allan variance for stationary AR1 process raised in "Allan Variance of Time Series Models for Measurement Data" by Nien Fan Zhang, 2008, Metrologia, 45(5): 549. This calculation is fundamental and necessary for the study in "A Study of the Allan Variance for Constant-Mean Non-Stationary Processes" by Xu et al., 2017, IEEE Signal Processing Letters, 24(8): 1257–1260.
Author(s)
Yuming Zhang
Examples
av1 = av_ar1(n = 5, phi = 0.9, sigma2 = 1)
av2 = av_ar1(n = 8, phi = 0.5, sigma2 = 2)