Doubling Your Accuracy
You have two rods with unknown lengths and . You have a measuring instrument that is unbiased but noisy. Whenever you measure a length , it reports
where and . The size of the error does not depend on , and errors from different measurements are independent.
You may use the instrument exactly twice. In each use you can measure any single length you can physically form with the rods. For example:
- one rod alone,
- the two rods laid end to end, which has length ,
- the two rods laid side by side with left ends aligned, where you measure the overhang, which has length .
The obvious plan is to measure each rod once. That gives unbiased estimates of and , each with variance .
- Find a scheme that produces unbiased estimates of both and , each with variance strictly smaller than .
- (Bonus) Show that your scheme is optimal. No design using two measurements of signed combinations , , can give either length an unbiased linear estimate with variance below .
- (Bonus) With rods and measurements, how small can the variance be made?
Answer: Doubling Your Accuracy
Key Idea / Intuition
Measuring rods one at a time is wasteful, because each measurement tells you about only one rod. If every measurement involves both rods, then each rod is effectively measured twice. Adding the sum and the difference recovers each length. The two independent errors then get averaged, which halves the variance. This is the seed of weighing designs and Hadamard designs in the theory of experimental design. The best designs use measurements whose coefficient vectors are orthogonal and have entries .
Formal Proof / Solution
1. The scheme
Assume without loss of generality that . If not, swap the names; the side-by-side comparison shows which rod sticks out.
- Measurement 1 (end to end): .
- Measurement 2 (side by side): .
Define
Unbiasedness. Since ,
Variance. We have and . The errors are independent, so
The two estimates are also uncorrelated:
So with the same two measurements, each length is estimated as precisely as if it had been measured twice on its own. The accuracy is "doubled" in the sense that the variance is halved.
2. Optimality (bonus)
Write a general two-measurement design as , where . Here is a matrix with entries in and .
Reduction to the matrix . For both and to be estimable, must be invertible. The unique linear unbiased estimator is then . This is the same as least squares, so
A lower bound on the diagonal. Let , which is symmetric positive definite. For such a matrix,
To see this, apply Cauchy–Schwarz to :
Bounding . The entry is a sum of two terms, each at most . So , and therefore
When equality holds. Equality requires two things:
- every entry of is , so that ;
- is diagonal, so that Cauchy–Schwarz is tight.
That is exactly the sum/difference design.
3. rods, measurements (bonus)
The same argument shows that . Equality holds if and only if has entries and , which means is a Hadamard matrix. In that case
So measurements give each of the objects the precision of separate measurements. That is an -fold gain over measuring one at a time. This is possible whenever a Hadamard matrix of order exists (for example, ).
In a physical setting, "" means placing a rod on one side of a two-pan balance and "" means placing it on the other side. This is Hotelling's and Yates' chemical balance weighing problem.
Why it's interesting
- Field: Probability / statistics (design of experiments).
- The surprise: you cannot get more measurements, but you can make each measurement carry information about every unknown. The noise then averages out across the measurements.
- Connections: the same idea underlies Hadamard spectroscopy, orthogonal designs in experimental design, and the general principle that orthogonal regressors minimize OLS variance.
- Difficulty: 2/5.
- Source: Mosteller, Fifty Challenging Problems in Probability with Solutions, problem "Doubling Your Accuracy." The optimality argument and the Hadamard generalization are standard extensions.
Source: Frederick Mosteller, Fifty Challenging Problems in Probability with Solutions — 'Doubling Your Accuracy'