1. Fusing two adjacent estimates
Take identity observations \(b=(1,2.2)\). Minimise \(\frac12\sum(x_i-b_i)^2+\lambda|x_2-x_1|\). (a) Compute both fitted values for \(\lambda=0.2\) and 0.7. (b) Identify the fusion threshold. (c) Does observing a flat fit establish equal true values?
Retain the mean and shrink the half-difference
The observed mean is 1.6 and half-difference 0.6. At \(\lambda=0.2\), the fitted half-difference is 0.4 and the fit is \((1.2,2.0)\). At 0.7 it is zero, giving \((1.6,1.6)\). Fusion starts at \(\lambda=0.6\). A flat solution can be induced by the penalty; report the relevant contrast, noise and sensitivity to penalty strength before making a physical equality claim.
Explore the related calculation with adjustable inputs. Inspect soft-thresholding and quadratic shrinkage. For two-cell total variation, apply the threshold to the half-difference and retain the mean as derived here.
2. A blur and a threshold
A sensor attenuates a physical contrast by 0.20 and gives a measured difference 0.60 K with standard deviation 0.20 K. (a) Find the data-only estimated contrast and standard deviation. (b) Can a one-sided 95% lower limit establish that the contrast exceeds 2 K? Use the Gaussian multiplier 1.645. (c) Assuming independent repeats with identical mean, how many would make that lower limit exceed 2 K?
Propagate the contrast scale only once
The estimate is 3 K with standard deviation 1 K. The lower limit \(3-1.645=1.355\) K is below 2 K. If the sample mean remains 3 K when expressed in physical units, require \(1.645/\sqrt N<1\), so three independent repeats suffice for that projected precision. Future means are random, hence this is a conditional planning calculation rather than a guaranteed outcome.
Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.
3. Challenge a smooth reconstruction
A smoothed image fits all training readings within their stated noise and shows one broad transition. (a) Describe two distinct synthetic truths to use in a resolution audit. (b) Specify two numerical metrics and one measurement to hold out. (c) Explain how a code error, statistical uncertainty and regularisation bias would appear differently across the tests.
Use tests that can disagree with the interpretation
Choose a sharp step and a gradual ramp with similar large-scale contrast. Generate observations using a finer or independent forward discretisation, realistic noise and the actual sensor footprint. Record recovered edge location and recovered contrast or width. Reserve an independent measurement that is sensitive to the transition, ideally at a finer spatial scale. Failure on a noiseless manufactured case can expose an implementation mistake. Scatter across noise realisations quantifies sampling variation. A consistently broadened step across seeds at an otherwise verified discretisation indicates regularisation or finite sensor resolution; vary both separately to distinguish them.
Choose a sensor direction that resolves an unobservable combination
A prior for two parameters is Gaussian with zero mean and identity covariance. A first reading measures x₁+x₂ = 2.0 with noise standard deviation 0.1. Find the posterior mean and the variance along each normalised sum and difference direction. A second sensor of the same noise level can measure the sum again or the difference. Which design constrains both parameters, and why?
Worked solution
In the orthonormal directions s = (1,1)/√2 and d = (1,−1)/√2, the first measurement row is (√2,0). Its precision contribution has diagonal (200,0). Adding the unit prior precision gives posterior variances 1/201 and 1. Multiplying the precision-inverse by Aᵀb/0.01 gives a posterior mean with both components 200/201 ≈ 0.995.
Repeating the sum doubles the sum-direction information, giving variances 1/401 and 1. Measuring the difference instead adds information along d, giving 1/201 for both directions. The trace of the second covariance is about 0.00995, versus about 1.0025 for the repeated-sum design. The second measured value changes the posterior mean but, for this linear Gaussian model, not the covariance.
An objective concerned only with the sum would favour the repeated sensor. For reconstructing both parameters, sensitivity in independent directions matters. A very small residual for the original measurement is compatible with a whole line of plausible parameter pairs, which is why reporting only that residual would conceal the design difference.
Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.