Von Neumann Ratio Calculator
Inputs
- Inputs: sum of squared successive differences 245.6, sample variance 8.40, 40 observations.
- Mean square successive difference = 245.6 / 39 = 6.297.
- Von Neumann ratio = 6.297 / 8.40 = 0.750; independence would give about 2.051.
- The implied lag-1 autocorrelation is 1 - eta/2 = 0.625: ratios well below 2 signal positive serial correlation, ratios above 2 negative.
Take a series, subtract each value from the next, square and average those differences, and compare the result with the ordinary variance. That ratio - von Neumann's, from 1941 - is a remarkably direct detector of serial correlation: independent data give a ratio near 2, persistent data give less, jittery alternating data give more. This calculator takes the sum of squared successive differences, the sample variance and the sample size, and returns the ratio, its exact expectation under independence, and the implied lag-1 autocorrelation.
Worked examples
Persistent series
(245.6 · 8.4 · 40)
| Von Neumann ratio | 0.750 |
| Mean square successive difference | 6.297 |
| Expected value under independence | 2.051 |
| Implied lag-1 autocorrelation | 0.625 |
Moderately persistent series
(812 · 15.2 · 60)
| Von Neumann ratio | 0.905 |
| Mean square successive difference | 13.763 |
| Expected value under independence | 2.034 |
| Implied lag-1 autocorrelation | 0.547 |
Near-independent series
(4300 · 22.5 · 100)
| Von Neumann ratio | 1.930 |
| Mean square successive difference | 43.434 |
| Expected value under independence | 2.020 |
| Implied lag-1 autocorrelation | 0.035 |
Successive differences vs variance
The construction pits two measures of spread against each other. The sample variance measures how far values wander from their mean over the whole series; the mean square successive difference measures how far each value wanders from its immediate predecessor. If the series is independent, the two coincide up to the factor the expectation captures: E[eta] = 2n/(n-1), slightly above 2 because the successive differences of n values provide n - 1 terms. If the series drifts smoothly, neighbours are close while the overall spread is wide, and the ratio collapses toward zero.
Von Neumann derived the ratio's exact distribution under normality in 1941, and Young obtained the same result independently the same year - a wartime coincidence that gave the statistic two parents and a permanent place in the time-series toolkit. It needs no model, no regression and no distributional heroics to compute, which is why it survives as a first-pass randomness check on everything from residuals to random number generators.
- eta = [SSD/(n - 1)] / s^2
- Under independence E[eta] = 2n/(n - 1), just above 2
- Implied lag-1 autocorrelation: r1 = 1 - eta/2
- Close cousin of the Durbin-Watson statistic, for raw series
What values near 2, below 2 and above 2 mean
The three worked examples span the interpretive range. The first, with SSD of 245.6 and variance 8.4 over 40 observations, gives a mean square successive difference of 6.297 and eta = 0.750 - far below the independence expectation of 2.051, implying lag-1 autocorrelation of 0.625: a strongly persistent series in which each value resembles its predecessor. The second example's 0.905 tells the same story slightly more weakly, with implied autocorrelation of 0.547.
The third example sits at the other end of plausible: eta = 1.930 against an expectation of 2.020, implied autocorrelation 0.035 - a series indistinguishable, by this measure, from independence. Ratios meaningfully above the expectation indicate negative autocorrelation, the sawtooth pattern of over-corrected processes and differenced data, and are as diagnostic as low ones: a control process that alternates will announce itself here before it shows in any average.
| Example | eta | Expected under independence | Implied r1 |
|---|---|---|---|
| 1 | 0.750 | 2.051 | 0.625 |
| 2 | 0.905 | 2.034 | 0.547 |
| 3 | 1.930 | 2.020 | 0.035 |
Worked examples
Example 1: Sum of squared successive differences 245.6; Sample variance s^2 8.4; Observations (n) 40. Von Neumann ratio = 0.750. Supporting values: Mean square successive difference 6.297; Expected value under independence 2.051; Implied lag-1 autocorrelation 0.625. Inputs: sum of squared successive differences 245.6, sample variance 8.40, 40 observations. Mean square successive difference = 245.6 / 39 = 6.297. Von Neumann ratio = 6.297 / 8.40 = 0.750; independence would give about 2.051. The implied lag-1 autocorrelation is 1 - eta/2 = 0.625: ratios well below 2 signal positive serial correlation, ratios above 2 negative.
Example 2: Sum of squared successive differences 812; Sample variance s^2 15.2; Observations (n) 60. Von Neumann ratio = 0.905. Supporting values: Mean square successive difference 13.763; Expected value under independence 2.034; Implied lag-1 autocorrelation 0.547. Inputs: sum of squared successive differences 812.0, sample variance 15.20, 60 observations. Mean square successive difference = 812.0 / 59 = 13.763. Von Neumann ratio = 13.763 / 15.20 = 0.905; independence would give about 2.034. The implied lag-1 autocorrelation is 1 - eta/2 = 0.547: ratios well below 2 signal positive serial correlation, ratios above 2 negative.
Example 3: Sum of squared successive differences 4300; Sample variance s^2 22.5; Observations (n) 100. Von Neumann ratio = 1.930. Supporting values: Mean square successive difference 43.434; Expected value under independence 2.020; Implied lag-1 autocorrelation 0.035. Inputs: sum of squared successive differences 4,300.0, sample variance 22.50, 100 observations. Mean square successive difference = 4,300.0 / 99 = 43.434. Von Neumann ratio = 43.434 / 22.50 = 1.930; independence would give about 2.020. The implied lag-1 autocorrelation is 1 - eta/2 = 0.035: ratios well below 2 signal positive serial correlation, ratios above 2 negative.
The link to lag-1 autocorrelation
The implied autocorrelation r1 = 1 - eta/2 is an identity worth understanding rather than merely using. The expected squared successive difference of a stationary series is 2 sigma^2 (1 - r1): independence doubles the variance, perfect persistence annihilates it. Dividing by the sample variance converts that identity into the ratio, so the von Neumann statistic is, in disguise, the lag-1 autocorrelation wearing a scale-free costume.
That disguise has one practical consequence: the ratio inherits the autocorrelation's blindness. It sees only lag-1 dependence. A series with strong lag-4 seasonality and no lag-1 correlation can score a perfect 2.020 while being thoroughly predictable - the statistic certifies one kind of randomness, not randomness in general. Pair it with a correlogram or a portmanteau test when the dependence structure, not just its first lag, is the question.
Von Neumann vs Durbin-Watson
The Durbin-Watson statistic is the same construction applied to regression residuals, with the denominator summed over the residuals and tables adjusted for the regressors. The von Neumann ratio is the raw-series original, and its exact expectation 2n/(n-1) is the cleaner benchmark. In practice the two are used in their own territories: Durbin-Watson inside regression output, where it remains the most-quoted residual diagnostic in applied economics, and von Neumann wherever a bare series needs a quick independence check - quality control charts, simulation output, generated random numbers.
Both share the inconclusive-region awkwardness of their exact distributions: critical values depend on n and, for Durbin-Watson, on the regressor count. This calculator reports the ratio, its exact expectation and the implied autocorrelation rather than a binary verdict, because for a descriptive statistic the distance from the benchmark is the information. A ratio of 1.930 needs no table to interpret; one much nearer the boundary might, and the honest output is the number itself.
Practical notes
The sum of squared successive differences must be computed on the series in its original order - sorting or differencing beforehand destroys the very quantity being measured. The sample variance should be the usual n - 1 denominator version, matching the construction of the expectation; mixing in a population variance (n denominator) shifts the ratio by a factor that matters at small n. At n of 40 the expectation is already 2.051 rather than 2, a 2.5% correction that small samples cannot afford to skip.
Outliers inflate both numerator and denominator, but not proportionally: a single spike contributes two large successive differences and one large squared deviation, pushing the ratio up. A high ratio in spiky data may be reporting the spikes rather than negative autocorrelation, and a quick look at the series - always advisable before quoting any one-number summary - will show which.
The statistic's wartime origin explains its design priorities. Von Neumann needed a test of randomness for computed sequences - the early Monte Carlo work depended on numbers whose independence could not be assumed - and the ratio's virtue was that it could be computed by hand from the sequence itself, with an exact null distribution tabulated. Random number generation has since acquired heavier artillery, but the ratio remains in the test suites because it catches a failure mode the fancier tests can miss: slow drift and short-range persistence in generated sequences, the signature of a generator whose state is leaking between draws.
For economic and physical series the same sensitivity to local behaviour is the point. A series can have a stable mean and variance over a decade while its local texture changes completely - from smooth drift to jitter and back - and global summaries will report that nothing happened. The ratio of successive-difference spread to overall spread is precisely a texture measurement, which is why quality engineers plot it on control charts and why a value like the third example's 1.930, sitting quietly at the independence benchmark, is a genuinely informative non-event.
There is a small-sample subtlety in the denominator that practitioners occasionally trip over. The ratio is defined with the sample variance computed about the sample mean, and the expectation 2n/(n - 1) already prices that estimation in. Substituting a variance computed about a known population mean changes the null distribution - the ratio then centres slightly differently - and mixing the two conventions in one comparison manufactures a discrepancy out of bookkeeping. The calculator's convention is the standard one, matching von Neumann's own: everything is estimated from the series in hand, which is the situation the test was built for.
FAQs
What ratio does the first example give?
The mean square successive difference is 6.297 against a variance of 8.4, so the ratio is 0.750 - far below independence.
What value would independence predict for it?
Independence predicts 2n/(n - 1), which is 2.051 for 40 observations - slightly above 2 in finite samples.
What lag-1 autocorrelation does the first example imply?
It implies r1 = 1 - eta/2 = 0.625, a strongly persistent series.
What ratio does the second example give?
It gives 0.905, with implied autocorrelation of 0.547 - persistent, though less so than the first example.
What ratio does the near-independent third example give?
It gives 1.930 against an expectation of 2.020, with implied autocorrelation of just 0.035.
What sum of squared successive differences does the first example use?
It uses 245.6, which over 39 successive differences gives the mean square of 6.297.