R/ANVS.R
av_ar1.Rd
This function allows us to calculate the theoretical allan variance for stationary first-order autoregressive (AR1) process.
av_ar1(n, phi, sigma2)
n | An |
---|---|
phi | A |
sigma2 | A |
A double
indicating the theoretical allan variance for AR1 process.
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.) 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. (IEEE Signal Processing Letters, 2017).
av1 = av_ar1(n = 5, phi = 0.9, sigma2 = 1) av2 = av_ar1(n = 8, phi = 0.5, sigma2 = 2)