---
title: Allan and Modified Allan Variance
url: https://www.emergentmind.com/topics/time-domain-links-allan-modified-allan-variance
type: topic
---

# Allan and Modified Allan Variance

Time-domain links between the Allan variance and Modified Allan variance serve as the basis for the quantitative assessment of frequency stability and noise characterization in time and frequency metrology, frequency transfer links, oscillators, and electronic timing systems. The Allan variance (AVAR) and Modified Allan variance (MVAR) encapsulate the temporal evolution of frequency fluctuations, enabling a rigorous connection between time-domain statistical descriptors and frequency-domain noise models through explicit integral transforms and kernel structures. These variances are foundational for both empirical data evaluation and analytic conversion between the PSD and integration-time stabilized metrics, especially in the context of practical fiber links, wireless systems, and high-performance oscillators [2311.00598][2201.07109][1202.6627][1512.03810][1507.00458].

## 1. Mathematical Formalism: Allan and Modified Allan Variance

The single-sided Allan variance for fractional frequency error $y(t)$ is formally defined as
$$
\sigma^2_y(\tau) = \frac{1}{2} \left\langle \left[ y(t + \tau) - y(t) \right]^2 \right\rangle
$$
where $\tau$ is the integration (averaging) time. In practice, for $N$ frequency samples $y_k$ with gate time $\tau_0$, the estimator is
$$
\sigma^2_y(m\tau_0) = \frac{1}{2(N-2m+1)} \sum_{k=1}^{N-2m+1} \left[ \bar{y}_{k+m} - \bar{y}_k \right]^2
$$
where $m = \tau/\tau_0$ and $\bar{y}_k$ is the local average over an interval of length $m$.

The Modified Allan variance introduces an additional moving average, yielding a fourth-order filter kernel:
$$
\tilde{\sigma}_y^2(\tau) = \frac{4}{3} \cdot 2 \int_0^{+\infty} S_y(f) \frac{\sin^6(\pi f \tau)}{(\pi f \tau)^4} \, df
$$
and, in discrete data:
$$
\tilde{\sigma}_y^2(m\tau_0) = \frac{1}{2 m^4 \tau_0^2 (M-3m+1)} \sum_{k=1}^{M-3m+1} \left[ \sum_{i=0}^{m-1} (x_{k+i+2m} - 2 x_{k+i+m} + x_{k+i}) \right]^2
$$
where $x_k$ are phase samples. Both AVAR and MVAR are quadratic forms in time-domain finite-difference operators and possess explicit Parseval-type representations linking them to single-sided PSDs [2311.00598][2201.07109][1202.6627].

## 2. Time–Frequency Domain Links: Kernels and Inversion

The direct connection between the time-domain variances and the frequency-domain PSD is via kernel-weighted integrals:
- For AVAR:
  $$
  \sigma_y^2(\tau) = 2 \int_0^{\infty} S_y(f) \frac{\sin^4(\pi f \tau)}{(\pi f \tau)^2} \, df
  $$
- For MVAR:
  $$
  \tilde{\sigma}_y^2(\tau) = \frac{4}{3} \cdot 2 \int_0^{\infty} S_y(f) \frac{\sin^6(\pi f \tau)}{(\pi f \tau)^4} \, df
  $$
The kernel $\sin^4(\pi f \tau)/(\pi f \tau)^2$ implements a finite-difference operator and acts as a weighting function, attenuating high-frequency noise in the AVAR, while $\sin^6(\pi f \tau)/(\pi f \tau)^4$ provides even stronger filtering for MVAR [2311.00598][2201.07109][1202.6627].

The inversion problem (recovering $S_y(f)$ from a time-domain variance profile) is unambiguously solvable only for a single power-law noise regime; for piecewise or composite processes, explicit reconstruction algorithms produce an approximate, piecewise power-law PSD consistent with the measured $\sigma^2_y(\tau)$ within set intervals. The mapping between time-domain slopes $\mu_i$ and frequency-domain slopes $\beta_j$ is given by
$$
\beta = -\mu - 1, \quad b = \frac{a}{2 \pi^{\mu} J^\infty(\mu)}
$$
where $J^\infty(\mu)$ is a kernel integral dependent on the AVAR or MVAR filter [2311.00598].

## 3. Noise Process Identification and Power-Law Mapping

Each noise process gives rise to a characteristic slope in $\log \sigma^2_y(\tau)$:
| Noise Process      | $S_y(f)$    | $\sigma_y^2(\tau)$ scaling       | $\tilde{\sigma}_y^2(\tau)$ scaling    |
|-------------------|-------------|----------------------------------|--------------------------------------|
| White PM          | $f^{+2}$    | $\tau^{-3}$                      | $\tau^{-5}$                          |
| Flicker PM        | $f^{+1}$    | $\tau^{-2}$                      | $\tau^{-4}$                          |
| White FM          | $f^0$       | $\tau^{-1}$                      | $\tau^{-3}$                          |
| Flicker FM        | $f^{-1}$    | const (floor)                    | $\tau^{-2}$                          |
| Random walk FM    | $f^{-2}$    | $\tau^{+1}$                      | $\tau^{-1}$                          |

The Modified Allan variance distinguishes phase-modulated noise types (white PM, flicker PM) more effectively due to its enhanced high-frequency rejection. Explicit conversion formulas, such as $\beta = -\mu - 1$ and coefficient maps via kernel integrals, enable analytic translation between measured Allan profiles and underlying power-law PSDs [2311.00598][1202.6627][2201.07109].

## 4. Implementation: Algorithms and Practical Guidelines

Given a measured or modeled AVAR profile consisting of $n$ contiguous power-law regimes, an algorithm constructs a matching piecewise PSD through:
- Reordering of slopes/amplitudes;
- Calculation of mapping kernels $J^\infty(\mu_i)$;
- Determination of break frequencies $f_j$ by enforcing continuity $b_j f_j^{\beta_j} = b_{j+1} f_j^{\beta_{j+1}}$;
- Assembly of the composite $S_y(f)$;
- Optional self-validation via re-integration to reconstruct $\sigma^2_y(\tau)$ [2311.00598].

These methods extend to the MVAR by antisymmetrizing the kernel and replacing the AVAR kernel with the appropriate sixth-order filter. Limitations include loss of precision for strongly curved $\sigma^2_y(\tau)$ dependence and requirements for high-frequency cut-offs when $\mu \leq -2$ or $\mu \geq 2$ [2311.00598].

## 5. Applications in Frequency Transfer and Metrology

Time-domain variance analysis is indispensable for characterizing the stability and spectral properties of fiber-optic links, atomic clocks, and satellite navigation systems. Real-world applications include:
- Astronomical/geodetic time series evaluation, where AVAR and its modifications (WADEV, WMADEV) handle unequal weights, multidimensional data, reveal spectral regimes, and quantify fractal noise properties [1105.3837];
- Fiber-link data analysis, where anti-alias filtering enables unbiased AVAR-based estimation of long-term stability without recourse to MVAR, provided all high-frequency noise is properly filtered before decimation or analysis [1512.03810][1507.00458];
- Empirical separation of link-limited and clock-limited instability in optical frequency dissemination, essential for establishing true frequency-transfer uncertainty floors [1507.00458];
- Digital phase measurement acquisition, where sine-fitting techniques connect time-domain noise extraction and AVAR estimation directly at the ADC digitization level [1711.07917].

## 6. Extensions and Variants: Weighted and Parabolic Variance

The parabolic variance (PVAR/Omega-type, "parADEV") and lambda-type (MVAR-related) measures generalize the classical framework, yielding wavelet-form time-domain variances with tailored weightings optimal for different noise mechanisms:
- PVAR uses a parabolic weight and achieves higher degrees of freedom with faster convergence and reduced measurement time for a fixed confidence interval compared to MVAR, without sacrificing analytic tractability for arbitrary (including non-integer) power-law noise processes [2005.13631].
- Weighted AVAR (WADEV) and multidimensional forms address outlier robustness and vector-valued time series, prominent in geodetic and radio-astronomy data [1105.3837].
- Selection of weighting and variance type is determined by the dominant regime—parabolic for white phase noise, rectangular for white frequency noise—according to explicit minimization criteria for type-A uncertainty [1504.00466].

## 7. Limitations and Validation

Reverse mapping from AVAR to PSD is only exact in single-regime (pure power law) cases; in practical, multi-slope scenarios, the piecewise construction reflects a best-fit approximation rather than a unique inversion. Strong curvature or discontinuities in $\sigma_y^2(\tau)$ may introduce artifacts, especially near transitions. Self-validation by reconstructing the original variance from the piecewise PSD is recommended for algorithmic reliability. High-$\tau$ and high-$f$ behavior should be treated with care, enforcing cutoffs as needed for convergence [2311.00598][2201.07109].

---

In summary, the rigorous time-domain links between Allan (and modified Allan) variance and power spectral density form the basis for quantitative oscillator, link, and frequency standard analysis, enabling physical insight, numerical conversion, and robust practical assessment across a wide range of real and simulated systems [2311.00598][1202.6627][1105.3837][2201.07109][2005.13631][1512.03810][1504.00466].

Source: https://www.emergentmind.com/topics/time-domain-links-allan-modified-allan-variance