powered by
This function allows us to calculate the theoretical allan variance for stationary first-order autoregressive (AR1) process.
av_ar1(n, phi, sigma2)
A double indicating the theoretical allan variance for AR1 process.
double
An integer value for the size of the cluster.
integer
A double value for the autocorrection parameter \(\phi\).
A double value for the variance parameter \(\sigma ^2\).
Yuming Zhang
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