Fundamentals / Numerical mathematics / Inverse problems and least squares

Which uncertainty came from the experiment?

Compare a posterior update, a nonlinear prediction and a likelihood profile on problems with exact solutions.

1. Learning about an unmeasured cell

Two temperatures have prior mean \((20,20)\) and covariance \(\left(\begin{smallmatrix}4&2\\2&4\end{smallmatrix}\right)\) K². The first cell is measured as 23 °C with independent noise variance 1 K². (a) Compute the updated mean and covariance. (b) Repeat the update of the second cell using zero prior correlation and the same marginal variances. (c) Interpret the difference.

Follow the cross-covariance into the unmeasured cell

The prior observation variance including noise is 5. Its cross-covariance with the state is \((4,2)^\mathsf{T}\), giving updated mean \((22.4,21.2)\). Subtract \((4,2)^\mathsf{T}(4,2)/5\) from the prior covariance to obtain \(\left(\begin{smallmatrix}0.8&0.4\\0.4&3.2\end{smallmatrix}\right)\) K². With zero correlation the second mean and variance stay at 20 and 4. The indirect update relies entirely on the prior correlation assumption and the new first-cell measurement together.

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.

2. A nonlinear prediction at a stationary point

Let \(x\sim N(0,0.25)\), and take a detector intensity proportional to \(I=x^2\). (a) Calculate the mean and variance of \(I\). (b) Compare with the first-order delta method. (c) Find the upper endpoint of a one-sided 95% predictive interval for the ideal intensity using \(P(|Z|\le1.96)\simeq0.95\).

Transform the Gaussian amplitude before reporting intensity

The mean is 0.25 and variance is

\[2(0.25)^2=0.125.\]

At the mean amplitude the derivative \(2x\) vanishes, so the first-order method predicts zero variance. The ideal intensity is nonnegative and \(P(I\le(1.96\times0.5)^2)\simeq0.95\), giving upper endpoint 0.9604. A new noisy intensity reading would also require an observation model.

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. Slicing a valley or profiling it

Given \(F=(p+q-3)^2+0.25(q-1)^2\), (a) locate its joint minimum. (b) Derive the profile in \(p\) and the slice with \(q\) fixed at its optimum. (c) Compare the widths of the two sets defined by \(F\le1\).

Allow the nuisance parameter to compensate

The joint minimum has \(q=1,p=2\). For fixed \(p\), differentiation gives

\[q=(3.25-p)/1.25;\]

substitution yields

\[F_\mathrm{prof}=0.20(p-2)^2.\]

The slice is \((p-2)^2\). The half-widths are \(\sqrt5\) and 1 respectively. Their ratio is independent of the chosen positive contour level for this quadratic surface. Attaching a confidence level still requires a likelihood scale and sampling assumptions.

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.