Bias and Precision

2026-11

This essay is derived from topics I found challenging to wrap my head around during my MPhil.

What does it mean to be biased? In everyday english, we might describe a weighing scale as biased and in doing so we are trying to capture something about the way it measures things. When a measurement is off, it is important from an experimental point of view to establish why that is.

Measuring devices are not perfect and so there tends to be a natural spread around the true value of the thing you are trying to measure. We can take lots of measurements of the same item and settle on a number which describes to us the ”average” recording that our device gives. This is called the expectation E[πœƒ^] where πœƒ^ is our set of possible outputs of the device and their respective probabilities of showing up. We can call a device biased when E[πœƒ^] is not equal to πœƒ which is the true value of the thing we are trying to measure.

There are some other properties of measuring devices which follow naturally from these concepts. Starting with the variance E[(πœƒ^ βˆ’ E[πœƒ^])2] which tells us the spread of the estimates around their own average. It can also be written equivalently as E[πœƒ^2] βˆ’ E[πœƒ^]2, revealing to us that variance is measured relative to the average of the estimates, not relative to the truth. If every estimate were shifted by ten units, the variance would not change at all.

The quantity that does see both is the mean squared error E[(πœƒ^ βˆ’ πœƒ)2]. With some mathematical juggling we can show that mean squared error is equal to the variance added to the squared bias 1. In simple terms, the total error is the sum of a scatter component and a shift component.

How can we deal with noisy devices? A natural response to a noisy device is to measure many times and average. If n independent measurements each have variance Οƒ2, their average πœƒΒ― has variance Οƒ2βˆ•n, and the square root of this is the standard error of the mean (SEM):

Var(πœƒΒ―) = Οƒ2 n ,SEM = Οƒ n.

The standard error shrinks as we collect more data and it tells us how tightly the sample average pins down E[πœƒ^]. It says nothing about the distance between E[πœƒ^] and the truth. Averaging leaves the bias untouched, since E[πœƒΒ―] = E[πœƒ^], so the mean squared error of the average is

MSE(πœƒΒ―) = Οƒ2 n + Bias(πœƒ^)2β†’Bias(πœƒ^)2(n β†’βˆž).

More data makes the standard error vanish, but the error settles at the squared bias. We can become more and more confident in a number that is still wrong.

Bias is not always something to remove. Suppose we want to judge a person’s height from a blurry photo. The photo gives a reading x = πœƒ + πœ€, where πœƒ is the true height and the noise πœ€ has mean zero and standard deviation Οƒ = 10 cm. We also know something before we look at the photo: people in this population are usually around ΞΌ = 170 cm, and true heights typically sit a distance Ο„ from that average (formally, E[(ΞΌ βˆ’ πœƒ)2] = Ο„2). If the photo reads 180 cm, taking it at face value is not obviously the best guess. A reading well above average is more likely to be an ordinary person plus some upward noise than a genuinely tall person, so a better guess pulls the reading part of the way back towards 170.

One simple way to do this is a weighted average of the reading and the expected value,

πœƒ^Ξ» = πœ†π‘₯ + (1 βˆ’ Ξ»)ΞΌ,0 ≀ Ξ» ≀ 1,

where Ξ» is a dial. At Ξ» = 1 we take the reading as it is. At Ξ» = 0 we ignore it and always answer ΞΌ. At Ξ» = 0.5 a reading of 180 becomes 175.

Take a person whose true height is πœƒ = 180 and set Ξ» = 0.5. On average the estimate is 0.5 Γ— 180 + 0.5 Γ— 170 = 175, which is 5 cm too low. In general,

Bias = (1 βˆ’ Ξ»)(ΞΌ βˆ’ πœƒ),Var = Ξ»2Οƒ2,MSE πœƒ = Ξ»2Οƒ2 + (1 βˆ’ Ξ»)2(ΞΌ βˆ’ πœƒ)2.

The bias is the fraction 1 βˆ’ Ξ» of the distance from the truth to ΞΌ. The variance is Ξ»2Οƒ2 because the noise only enters through x, which now counts for a fraction Ξ» of the answer. With our numbers the variance falls from 100 to 25 and the bias is βˆ’ 5, so MSEπœƒ = 25 + 25 = 50, against 100 for the unbiased reading (Ξ» = 1).

For a person who is exactly average (πœƒ = 170) the bias is zero and the error is only 25. For a very tall person (πœƒ = 200) the bias is βˆ’ 15 and the error is 25 + 225 = 250, worse than trusting the photo. With these numbers pulling towards ΞΌ wins only when the true height is within about 17 cm of the average. Since we do not know πœƒ in advance, the pull is a bet that the true value is near what we expect.

We can judge the bet by averaging over the values we expect to meet, for which E[(ΞΌ βˆ’ πœƒ)2] = Ο„2:

MSEΒ―(Ξ») = Ξ»2Οƒ2 + (1 βˆ’ Ξ»)2Ο„2.

The first term falls as Ξ» shrinks and the second rises, so some intermediate dial setting is best. It is smallest when2

Ξ»βˆ— = Ο„2 Οƒ2 + Ο„2 = 1βˆ•Οƒ2 1βˆ•Οƒ2 + 1βˆ•Ο„2,MSEΒ―(Ξ»βˆ—) = Οƒ2Ο„2 Οƒ2 + Ο„2 < Οƒ2.

The best blend weights the reading and the expectation by their precisions, the inverse of their variances. If the photo is as noisy as people are varied (Οƒ = Ο„ = 10), the weights are equal, Ξ»βˆ— = 0.5, and the average error is 50 instead of 100. If the photo is noisy but people are all much alike (Οƒ = 10, Ο„ = 5), we should lean mostly on the average: Ξ»βˆ— = 0.2 and the error is 20. When the noise and the spread of true values are both Gaussian, this blend is exactly the posterior mean of Bayesian inference. The advantage holds on average over the values we expect to meet, not at every πœƒ: for the very tall person above, the unbiased reading does better.

Because 1 βˆ’ Ξ»βˆ— = Οƒ2βˆ•(Οƒ2 + Ο„2), the bias this estimator accepts is

|Bias| = Οƒ2 Οƒ2 + Ο„2|ΞΌ βˆ’ πœƒ|.

With Ο„ = 10, a photo with Οƒ = 2 is pulled by only about 4% of the distance to ΞΌ, one with Οƒ = 10 by 50%, and one with Οƒ = 30 by 90%. Bias and precision are separate properties of a device, but an estimator that uses its evidence sensibly couples them: the noisier the evidence, the more it leans on what it expects, and the more it is biased towards that expectation. This is regression to the mean.

That coupling exists only if the estimator knows how reliable the evidence is on this occasion. Suppose it keeps a fixed dial Ξ»0 = 0.5, tuned for Οƒ = 10, while the photos change quality. Since MSEΒ―(Ξ») is a quadratic in Ξ» with its minimum at Ξ»βˆ—,3

MSEΒ―(Ξ»0) = MSEΒ―(Ξ»βˆ—) + (Οƒ2 + Ο„2)(Ξ» 0 βˆ’ Ξ»βˆ—)2,

so the excess error grows with the square of the miscalibration. The table shows both ways to get it wrong, with Ο„ = 10.

True noise Οƒ Dial Variance Bias2 Total
30 (noisier than assumed) fixed, Ξ»0 = 0.5 225 25 250
30 adapted, Ξ»βˆ— = 0.1 9 81 90
2 (cleaner than assumed) fixed, Ξ»0 = 0.5 1 25 26
2 adapted, Ξ»βˆ—β‰ˆ 0.96 3.7 0.1 3.8

If the measurement is noisier than assumed, the fixed estimator trusts it too much and pays in variance. If it is cleaner than assumed, the estimator shrinks too much and pays in bias. In this simple model, a change in measurement quality that goes unnoticed changes the variance but leaves the bias fixed at (1 βˆ’ Ξ»0)(ΞΌ βˆ’ πœƒ), while an estimator that is told about the change adjusts its bias on purpose.

Not every change in a measurement is noise. Suppose something shifts the measurement itself, so that x = πœƒ + Ξ΄ + πœ€ with Ξ΄ a systematic distortion, for example a lens that makes everyone look 5 cm taller. An estimator that does not know about Ξ΄ treats it as signal, and the distortion passes straight into its bias:

E[πœƒ^Ξ»] βˆ’ πœƒ = πœ†π›Ώ + (1 βˆ’ Ξ»)(ΞΌ βˆ’ πœƒ).

An estimator that knows Ξ΄, or can infer it, subtracts it, using πœƒ^Ξ» = Ξ»(x βˆ’ Ξ΄) + (1 βˆ’ Ξ»)ΞΌ, and the extra term πœ†π›Ώ disappears. Knowing why the measurement changed removes the bias that the change would otherwise cause. A change that only widens the noise is different: it cannot move the average of the measurements, only their spread.

Finally, whether an estimator is biased depends on the scale on which we judge it. Let V be the usual sample variance (with n βˆ’ 1 in the denominator), which is unbiased for Οƒ2, so E[V ] = Οƒ2. Its square root s = V, the sample standard deviation, is not unbiased for Οƒ. Because the square root is concave, Jensen’s inequality gives

E[s] = E [V] ≀E[V ] = Οƒ,

with strict inequality unless V is constant. More generally, E[f(X)]β‰ f(E[X]) whenever f is curved. An estimator that is unbiased on one scale is therefore generally biased on another, so bias is a property of an estimator together with the scale it is judged on.

Bias and precision are two separate axes of error, and the standard summaries of spread see only one of them. A standard error shrinks with more data whether or not the estimate is right. Bias can be a deliberate trade for lower total error, in which case it tracks the estimator’s own knowledge of how reliable its evidence is. And a change in the quality of evidence need not produce a bias, provided the estimator can account for why it changed.

1

MSE(πœƒ^) = 𝔼 [(πœƒ^ βˆ’ πœƒ)2] (definition) = 𝔼 [((πœƒ^ βˆ’π”Ό[πœƒ^]) + (𝔼[πœƒ^] βˆ’ πœƒ))2] (addΒ andΒ subtract 𝔼[πœƒ^]) = 𝔼 [(πœƒ^ βˆ’π”Ό[πœƒ^])2] + 2(𝔼[πœƒ^] βˆ’ πœƒ)𝔼 [πœƒ^ βˆ’π”Ό[πœƒ^]] + (𝔼[πœƒ^] βˆ’ πœƒ)2 (expand;Β theΒ constant 𝔼[πœƒ^] βˆ’ πœƒΒ factorsΒ out) = Var(πœƒ^) + 0 + Bias(πœƒ^)2 (since 𝔼 [πœƒ^ βˆ’π”Ό[πœƒ^]] = 0) = Var(πœƒ^) + Bias(πœƒ^)2,Bias(πœƒ^) = 𝔼[πœƒ^] βˆ’ πœƒ.

2

d π‘‘πœ†MSEΒ― = 2λσ2 βˆ’ 2(1 βˆ’ Ξ»)Ο„2 = 0 β‡’Ξ»βˆ— = Ο„2 Οƒ2 + Ο„2,1 βˆ’ Ξ»βˆ— = Οƒ2 Οƒ2 + Ο„2, MSEΒ―(Ξ»βˆ—) = Ο„4Οƒ2 + Οƒ4Ο„2 (Οƒ2 + Ο„2)2 = Οƒ2Ο„2 Οƒ2 + Ο„2.

3Expanding, MSEΒ―(Ξ») = (Οƒ2 + Ο„2)Ξ»2 βˆ’ 2Ο„2Ξ» + Ο„2, and completing the square gives (Οƒ2 + Ο„2)(Ξ» βˆ’ Ξ»βˆ—)2 + Οƒ2Ο„2βˆ•(Οƒ2 + Ο„2).