Theil's U2 Calculator

Inputs

Theil's U20.8086
Ratio of error sums (model / naive)0.6538
RMSE advantage over the naive forecast19.14%
Benchmark verdictBeats the naive no-change benchmark
How this was calculated
  1. Inputs: the model's sum of squared relative errors 0.8500 and the naive no-change sum 1.3000 over 48 forecast pairs.
  2. The ratio of the sums is 0.6538; U2 is its square root.
  3. U2 = 0.8086: below 1 the model beats simply repeating the last value, above 1 it loses to it.
  4. The implied RMSE advantage over the naive forecast is 19.14%.

Every forecast should have to beat the forecast that costs nothing: tomorrow will be like today. Theil's U2 is that contest scored. It divides a model's squared relative errors by the no-change forecast's, and takes the square root - below 1, the model earns its keep; above 1, it would have lost to doing nothing at all. Enter the two error sums and the number of forecast pairs, and this calculator returns U2, the error-sum ratio and the implied RMSE advantage over the naive benchmark.

Worked examples

Beats the naive benchmark

(0.85 · 1.3 · 48)

Theil's U20.8086
Ratio of error sums (model / naive)0.6538
RMSE advantage over the naive forecast19.14%
Benchmark verdictBeats the naive no-change benchmark

Worse than no-change

(2.4 · 1.9 · 120)

Theil's U21.1239
Ratio of error sums (model / naive)1.2632
RMSE advantage over the naive forecast-12.39%
Benchmark verdictWorse than the naive no-change benchmark

Half the naive error sum

(0.42 · 0.84 · 36)

Theil's U20.7071
Ratio of error sums (model / naive)0.5000
RMSE advantage over the naive forecast29.29%
Benchmark verdictBeats the naive no-change benchmark

The naive benchmark

The no-change forecast is embarrassingly strong in much of economics and business: exchange rates, commodity prices and many sales series are close enough to random walks that sophisticated models spend decades trying to beat last period's value and often failing. U2 exists to make that contest unavoidable and its scoring transparent. A model is not graded against perfection; it is graded against the forecast a sceptic could have made for free.

The relative-error construction is what makes the comparison portable. Each error is divided by the actual value it was forecasting, so the sums are unit-free and U2 values can be compared across series, horizons and studies in a way raw RMSE never allows.

  • U2 below 1: the model beats the naive forecast
  • U2 above 1: repeating the last value was better
  • Built from relative errors, so it is unit-free
  • Not the same statistic as Theil's inequality index

Relative errors and the ratio of sums

For each forecast pair, the model's relative error is (forecast - actual)/actual, and the naive forecast's relative error is (last value - actual)/actual. Square and sum each set. The first worked example's sums - 0.85 for the model, 1.30 for the naive rule over 48 pairs - give a ratio of 0.6538 and a U2 of 0.8086. The third example's sums stand in exact proportion, 0.42 against 0.84, giving the clean U2 of 0.7071.

The square root at the end is not decoration: it converts the ratio of squared-error sums into a ratio of root-mean-square errors, so U2 reads as 'the model's typical error is this fraction of the naive typical error'. That is what makes the derived output - an RMSE advantage of 19.14% in the first example - an honest paraphrase rather than a new statistic.

Worked examples

Example 1: Sum of squared relative errors, your model 0.85; Sum of squared relative errors, naive no-change 1.3; Forecast pairs n 48. Theil's U2 = 0.8086. Supporting values: Ratio of error sums (model / naive) 0.6538; RMSE advantage over the naive forecast 19.14%; Benchmark verdict Beats the naive no-change benchmark. Inputs: the model's sum of squared relative errors 0.8500 and the naive no-change sum 1.3000 over 48 forecast pairs. The ratio of the sums is 0.6538; U2 is its square root. U2 = 0.8086: below 1 the model beats simply repeating the last value, above 1 it loses to it. The implied RMSE advantage over the naive forecast is 19.14%.

Example 2: Sum of squared relative errors, your model 2.4; Sum of squared relative errors, naive no-change 1.9; Forecast pairs n 120. Theil's U2 = 1.1239. Supporting values: Ratio of error sums (model / naive) 1.2632; RMSE advantage over the naive forecast -12.39%; Benchmark verdict Worse than the naive no-change benchmark. Inputs: the model's sum of squared relative errors 2.4000 and the naive no-change sum 1.9000 over 120 forecast pairs. The ratio of the sums is 1.2632; U2 is its square root. U2 = 1.1239: below 1 the model beats simply repeating the last value, above 1 it loses to it. The implied RMSE advantage over the naive forecast is -12.39%.

Example 3: Sum of squared relative errors, your model 0.42; Sum of squared relative errors, naive no-change 0.84; Forecast pairs n 36. Theil's U2 = 0.7071. Supporting values: Ratio of error sums (model / naive) 0.5000; RMSE advantage over the naive forecast 29.29%; Benchmark verdict Beats the naive no-change benchmark. Inputs: the model's sum of squared relative errors 0.4200 and the naive no-change sum 0.8400 over 36 forecast pairs. The ratio of the sums is 0.5000; U2 is its square root. U2 = 0.7071: below 1 the model beats simply repeating the last value, above 1 it loses to it. The implied RMSE advantage over the naive forecast is 29.29%.

Reading U2 against 1

The scale has one landmark and it is 1. The second worked example fails against it: error sums of 2.4 against the naive 1.9 give a ratio of 1.2632 and U2 of 1.1239, an RMSE disadvantage of 12.39% - the model is worse than the forecast that ignores it. Such results are common in the published record and rarely in vendor brochures, which is precisely the asymmetry U2 was designed to correct.

Distance from 1 carries the magnitude. A U2 of 0.95 is a model barely earning its complexity; 0.8086, the first example, is a solid working improvement; 0.7071 is the kind of margin that survives out-of-sample shrinkage with something left over. The statistic does not grade on a curve, and that bluntness is its contribution to forecast evaluation.

U1 vs U2

Theil proposed more than one coefficient and the naming traps the unwary. U1 is a bounded variant, always between 0 and 1, built from levels rather than changes; it cannot deliver the verdict 'worse than naive', because its scale has no room for it. U2, the change-based statistic on this page, is the one with the benchmark interpretation, and it is the U that the forecast-evaluation literature means when a single number is quoted.

Theil's inequality index is a different object altogether - an entropy measure of income inequality sharing only an author. Pages and papers that cite 'Theil's U' without saying which one are a small standing hazard of the field; this calculator is U2 throughout, defined by the two error sums it asks for.

Limits: what U2 cannot see

U2 grades point forecasts on squared relative errors, and everything outside that frame is invisible to it: bias direction, interval calibration, performance in the specific episodes - turning points, crises - where forecasts earn their reputations. A model can post a fine U2 by shadowing the series closely and still miss every turn, because the naive benchmark misses them too and the relative scoring washes out the shared failure.

Relative errors also misbehave when actual values approach zero, where a trivial absolute miss becomes an enormous relative one. Series that cross zero - profits, net flows, temperature anomalies - need the sums built on a different scaling, or a different statistic. Within its frame, though, the question U2 asks is the first question any forecast must answer, and this page exists to make asking it cost thirty seconds.

The statistic's history in forecast competitions is instructive. Across decades of comparative studies, the models that survive contact with the naive benchmark share a profile: they are damped, shrunk toward no-change, and suspicious of their own extrapolations. U2 rewards exactly those virtues, because a forecast that hugs the last value inherits most of the naive forecast's error sum and adds its improvements at the margin. The first example's 0.8086 is what that discipline looks like when it works; the extravagant model of the second example, at 1.1239, is what its absence costs.

One more property deserves emphasis for practitioners assembling the inputs: the two sums must come from the same forecast pairs. A model evaluated on a favourable subsample against a naive sum from the full sample manufactures a U2 that no out-of-sample discipline would survive. The calculator asks for the pair count precisely so the two sums arrive with their common denominator visible - 48 pairs in the first example, 120 in the second, 36 in the third - and a U2 quoted without its n deserves the same scepticism as a mean quoted without one.

The benchmark can also be upgraded, and the statistic survives the upgrade gracefully. Seasonal series invite a seasonal naive benchmark - last year's same month rather than last month - and U2 computed against it asks the harder, fairer question. Nothing in the construction changes: two sums of squared relative errors over the same pairs, a ratio, a square root. What changes is the honesty of the contest, and a model that posts 0.8086 against the plain benchmark but drifts above 1 against the seasonal one has been located precisely: it was beating a straw man. Choosing the benchmark the sceptic would actually use is part of running the test in good faith.

Forecast competitions made this statistic famous for a reason: it is very hard to game. A forecaster cannot improve U2 by scaling, shifting or hedging toward the mean in the ways that flatter absolute-error leaderboards, because the benchmark suffers the same temptations in the denominator. What remains is the genuine article - relative predictive content - which is why the measure has outlived the competitions that popularised it.

That incorruptibility, more than the arithmetic, is the reason the statistic is still the first benchmark-relative number a serious forecast evaluation reports.

FAQs

What U2 does the first worked example give?

0.8086: error sums of 0.85 for the model against 1.30 for the naive forecast over 48 pairs.

What is the ratio of the error sums there?

0.6538 - the model's squared relative errors are about two thirds of the naive rule's.

What RMSE advantage does that imply?

19.14%: the model's root-mean-square relative error is that much smaller than the no-change forecast's.

What U2 does the second example give?

1.1239 - the model loses to the naive benchmark, with an RMSE disadvantage of 12.39%.

What U2 does the third example give?

0.7071, from error sums of 0.42 against 0.84, a ratio of exactly 0.5000.

What RMSE advantage does the third example imply?

29.29% - the largest margin of the three examples.

Sources

Related calculators

Theil Index Calculator
Theil's T and L inequality indices for a two-group income split: income share and population share of the top group in, both entropy-based inequality measures out.
Brier Score Calculator
Compute the Brier score of probability forecasts from the summed squared errors, with the climatology reference score and the Brier skill score against it.