Two clock-frequency records can contain exactly the same values and have the same overall spread, yet describe different changes between neighboring time intervals. Sorting either record before analyzing it would preserve its histogram while destroying the temporal evidence.

For robot timestamp interpretation, that distinction matters when a question concerns clock stability over a specified averaging interval. A distribution of observed offsets and a statistic of successive averages do not summarize the same property.

The following records are invented. They illustrate the original non-overlapping Allan-deviation estimator, not a clock calibration, a measured oscillator noise process, or a claim about a particular robot's synchronization.

Specify the input quantity

Let y_j be the mean fractional frequency departure during the jth consecutive one-second interval. Fractional frequency is dimensionless: y = (f − f_ref)/f_ref for a declared reference frequency.

One part per million, abbreviated ppm here, means 0.000001 in fractional frequency. A value of 2 ppm is therefore 0.000002, rather than two seconds of timestamp error.

The inputs are interval averages with no gaps between them. They are not instantaneous phase samples. Converting phase or time-error observations into frequency averages requires the corresponding differencing and interval convention.

NIST Special Publication 1065 defines the original non-overlapped two-sample variance using neighboring fractional-frequency averages. NISTIR 6610 separately explains the distinction between deviations from a record mean and differences between successive frequency observations. This article applies that contract to newly constructed sequences.

Use the stated estimator

For K consecutive averages covering intervals of duration tau, define the estimated Allan variance as the sum of (y_(j+1) − y_j) squared for j from one through K−1, divided by 2(K−1).

The Allan deviation is the square root of that result. The factor of two is part of the estimator, not an optional conversion from variance to deviation.

For a longer averaging interval tau = m seconds, first divide this example's record into consecutive, non-overlapping blocks of m original values and calculate each block mean. Apply the same formula to those means. Only m values that divide eight are used below, so no remainder policy is needed.

Keep this choice explicit. A fully overlapping estimator uses a different collection of intervals; its sample accounting should not be silently substituted into this calculation.

Construct two equal histograms

Record A, in ppm, is (2,−2,2,−2,2,−2,2,−2). Record B is (2,2,2,2,−2,−2,−2,−2).

Both contain four positive twos and four negative twos. Their mean is zero. Their population variance, calculated with divisor eight around that mean, is 4 ppm squared, and their population standard deviation is 2 ppm.

That descriptive spread is identical because reordering values does not change their squared distances from the mean. The following adjacent differences do change.

At tau = one second, every difference in A has magnitude 4 ppm. There are seven differences, so its estimated Allan variance is 7 times 16 divided by 14, or 8 ppm squared. Its deviation is approximately 2.828427 ppm.

In B, six differences are zero and one is −4 ppm. Its variance is 16/14 = 8/7 ppm squared. Its deviation is approximately 1.069045 ppm.

Neither record has a smaller histogram spread. B has fewer changes between successive one-second intervals in this finite sequence, which is what creates the different two-sample result.

Change the averaging interval

For m = two, A's four block means are (0,0,0,0) ppm. Every adjacent block difference vanishes, and this estimator returns zero at tau = two seconds.

B's four block means are (2,2,−2,−2). Their differences are (0,−4,0). The estimated variance is 16 divided by six, or 8/3 ppm squared. The deviation is approximately 1.632993 ppm.

Thus the ordering of A and B by this statistic reverses when the declared averaging interval changes. A was larger at one second, but smaller at two seconds. A single deviation number without tau would conceal that distinction.

For m = four, A has block means (0,0), again yielding zero. B has (2,−2), giving variance 16/2 = 8 and deviation approximately 2.828427 ppm.

At this longest interval there is only one squared difference. The arithmetic is valid for the chosen record, but it supplies little statistical evidence about an underlying random process. Zero in A also does not prove a noiseless clock; its alternating pattern cancels under these particular block averages.

Constant bias and changing bias behave differently

Add 100 ppm to every original value. All block means rise by 100 ppm, but each adjacent difference remains unchanged. Every Allan-deviation result above is therefore unchanged.

That cancellation does not make the large constant frequency offset acceptable for timestamp accuracy. It shows that this statistic does not measure a constant offset from the reference.

Now consider a separate hypothetical frequency sequence y_j = a + jb, with fixed increment b between successive one-second averages. Its adjacent difference is b, giving deviation |b| divided by the square root of two at one second.

With non-overlapping m-sample blocks, adjacent block means differ by mb. The deviation becomes m|b| divided by the square root of two. A constant offset a cancels, whereas this linear frequency trend does not.

Preserve the analysis boundary

These exact finite examples do not identify white noise, bias instability, or another stochastic mechanism. Such identification requires suitable records, preprocessing, uncertainty treatment, and assumptions beyond eight selected values.

For robot clock records, preserve the measured quantity, reference, interval length, temporal order, estimator, and number of available differences. A matching histogram can coexist with a different time-scale stability result, while constant frequency accuracy remains a separate question.

Sources checked October 23, 2026:

NIST, Handbook of Frequency Stability Analysis, SP 1065,2008: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication1065.pdf

Michael A. Lombardi, NIST Frequency Measurement and Analysis System: Operator's Manual, NISTIR 6610,August2001, AppendixA: https://www.govinfo.gov/content/pkg/GOVPUB-C13-f91526da0cc942060b0b0f8e4d2a0f64/pdf/GOVPUB-C13-f91526da0cc942060b0b0f8e4d2a0f64.pdf

All sequences and calculations are original analytical examples; no oscillator was measured.

Illustration note: The generic site-library robot beside a computer provides data-analysis context. It is not a clock stability plot or evidence of measured synchronization.