Report#

Answer the following questions based on the analyses performed in the notebook and the notes you made. Explain your reasoning clearly. No Python code is required.

Background#

The farmer’s peat parcel is observed with InSAR (\(m = 145\), \(\sigma_{\text{InSAR}} = 3\) mm, average of the whole parcel) and an extensometer (\(m = 1461\), \(\sigma_{\text{ext}} = 8\) mm, one point in the parcel). The observations are independent and normally distributed. Last week (GA1.7) we fixed the memory timescale of the soil at \(\tau = 10\) days. This week \(\tau\) is estimated as an extra unknown:

\[ q(x) = d_0 + x_I D(t) + k S_\tau(t), \qquad S_i = a S_{i-1} + (P_i - E_i), \quad a = e^{-1/\tau}, \quad S_{-1} = 0, \]

with unknowns \(x = [d_0,\ x_I,\ k,\ \tau]^T\). The model is solved with Gauss-Newton, starting from \(x_{[0]} = [5\ \text{mm},\ -0.04\ \text{mm/dry day},\ 0.4,\ 20\ \text{days}]\).

You may use the following results of the overall model test (OMT) for the model with \(\tau\) estimated, obtained in the notebook with \(\alpha = 0.05\):

\(T\)

\(k_\alpha\)

\(r\)

std of residuals [mm]

InSAR

\(113.1\)

\(169.7\)

\(141\)

\(2.65\)

Extensometer

\(1516.5\)

\(1546.9\)

\(1457\)

\(8.15\)


Question 1: Non-linear model and linearization#

a) The model is linear in \(d_0\), \(x_I\) and \(k\), but non-linear in \(\tau\). Explain why, and why we can no longer write the model as \(\mathbb{E}(Y) = A x\) and solve it directly with BLUE.

Solution: \(d_0\), \(x_I\) and \(k\) appear only as multiplication factors of terms that do not depend on the unknowns (\(1\), \(D(t)\) and \(S_\tau(t)\)), so the model is linear in these parameters. \(\tau\), however, appears inside the exponential \(a = e^{-1/\tau}\), and this factor is applied recursively in \(S_\tau\) (powers \(a, a^2, a^3, \dots\)). In addition, \(\tau\) appears in a product with \(k\). The model can therefore not be written as a constant design matrix \(A\) times the vector of unknowns. BLUE requires a linear model \(\mathbb{E}(Y) = A x\), so we have to linearize the model and solve it iteratively (Gauss-Newton).

b) Gauss-Newton uses the Jacobian matrix \(J\) as the design matrix \(A\).

  • Sketch the structure of \(J\) for this model (e.g., show what is on the first and last rows): what does each column contain? You may write \(\dfrac{\partial S_\tau}{\partial \tau}\) without working it out.

  • Which columns of \(J\) change from one Gauss-Newton iteration to the next? Explain why.

Solution: Each column contains the partial derivative of the model with respect to one unknown:

\[\begin{split} J = \begin{bmatrix} \dfrac{\partial q}{\partial d_0} & \dfrac{\partial q}{\partial x_I} & \dfrac{\partial q}{\partial k} & \dfrac{\partial q}{\partial \tau} \end{bmatrix} = \begin{bmatrix} 1 & D(t_1) & S_\tau(t_1) & k \dfrac{\partial S_\tau(t_1)}{\partial \tau} \\ \vdots & \vdots & \vdots & \vdots \\ 1 & D(t_m) & S_\tau(t_m) & k \dfrac{\partial S_\tau(t_m)}{\partial \tau} \end{bmatrix} \end{split}\]

Columns 1 (\(1\)) and 2 (\(D(t)\)) do not depend on the unknowns, so they stay the same. Column 3 (\(S_\tau\)) depends on \(\tau\), and column 4 (\(k \partial S_\tau / \partial \tau\)) depends on both \(k\) and \(\tau\). These two columns change every iteration, so \(J\) has to be recomputed at every new estimate \(\hat x_{[i]}\).


Question 2: Initial values and convergence#

a) Why does Gauss-Newton need initial values, and why is it important that they are reasonably good? Give two things that can go wrong with bad initial values.

Solution: Gauss-Newton linearizes the model around the current estimate, starting with \(x_{[0]}\). The linearization (first-order Taylor approximation) is only accurate close to \(x_{[0]}\). If \(x_{[0]}\) is far from the solution:

  • the algorithm may converge slowly or not at all (diverge or oscillate);

  • it may converge to a local minimum instead of the best solution;

  • it may reach physically impossible values, e.g. \(\tau \leq 0\), for which \(a = e^{-1/\tau} \geq 1\) (or undefined) and the water surplus grows without bound.

b) The figure shows the convergence of the four parameters for InSAR.

Convergence of Gauss-Newton for InSAR

Describe the convergence. How many iterations are needed?

Solution: The parameters change a lot in the first two iterations, after which the changes become very small. From iteration 3–4 onward the estimates no longer change visibly, and the stop criterion is reached after 7 iterations (6 for the extensometer).


Question 3: Overall model test#

a) Formulate the null hypothesis of the overall model test (OMT). Give the test statistic \(T\) and its distribution under \(H_0\). When is \(H_0\) rejected?

Solution: \(H_0\): the functional model and the stochastic model are correct, so \(\mathbb{E}(Y) = q(x)\) and \(D(Y) = \Sigma_Y\). The alternative hypothesis is that the model is not correct (without specifying how).

\[ T = \hat{\epsilon}^T \Sigma_Y^{-1} \hat{\epsilon} \sim \chi^2(r, 0) \quad \text{under } H_0, \qquad r = m - n \]

\(H_0\) is rejected if \(T > k_\alpha\), with \(k_\alpha\) the critical value of the \(\chi^2(r)\) distribution for significance level \(\alpha\) (here \(\alpha = 0.05\)): \(P(T > k_\alpha \mid H_0) = \alpha\).

b) Sketch the PDF of the test statistic for InSAR with \(\tau\) estimated (\(r = 141\)). Indicate in your sketch:

  • the critical value \(k_\alpha\) and the rejection region (\(\alpha = 0.05\));

  • the test statistic \(T\) for InSAR.

Solution: The \(\chi^2(141)\) PDF is a slightly right-skewed, bell-shaped curve. The critical value \(k_\alpha = 169.7\) lies to the right of the peak. The rejection region is the area under the curve to the right of \(k_\alpha\), which is \(\alpha = 5\%\) of the total area. The test statistic \(T = 113\) lies to the left of the peak, in the acceptance region.

c) Interpret the OMT results for both sensors. Compare \(T\) with \(k_\alpha\) and with the redundancy \(r\). Does accepting \(H_0\) prove that the model is correct?

Solution:

\(H_0\) is accepted for both sensors (\(113 < 169.7\) and \(1517 < 1547\)).

  • Extensometer: \(T \approx r\) (\(1517\) vs \(1457\)), exactly as expected under \(H_0\) (\(\mathbb{E}(T) = r\)): the residuals contain only random measurement noise.

  • InSAR: \(T = 113\) is clearly smaller than \(r = 141\), consistent with the std of the residuals (\(2.65\) mm) being smaller than \(\sigma = 3\) mm. The residuals are smaller than expected from the measurement noise, which suggests that \(\sigma_{\text{InSAR}} = 3\) mm is somewhat pessimistic. (The OMT only rejects for large \(T\), so \(H_0\) is still accepted.)

Accepting \(H_0\) does not prove that the model is correct. It only means that the data give no reason to reject it: the residuals are consistent with the assumed measurement noise. Another model could fit the data equally well, and small model errors may not be detectable with the available data.


Question 4: Comparing models#

a) This week we added one unknown (\(\tau\)) to last week’s model. In general, how does adding unknowns affect the redundancy \(r\), the test statistic \(T\) and the critical value \(k_\alpha\)? Explain why.

Solution: \(r = m - n\), so every extra unknown lowers the redundancy by one. With an extra unknown the model has more freedom to fit the observations, so the residuals, and therefore \(T = \hat{\epsilon}^T \Sigma_Y^{-1} \hat{\epsilon}\), become smaller or stay the same (the model with \(\tau = 10\) days is a special case of the model with \(\tau\) estimated). The critical value \(k_\alpha\) also becomes smaller, because it is taken from a \(\chi^2(r)\) distribution with fewer degrees of freedom.

b) Assume that last week’s model (\(\tau\) fixed at 10 days) was tested first and rejected by the OMT. Which other test could you use to check whether the new model (\(\tau\) estimated) is significantly better? Give its test statistic.

Solution: The Generalized Likelihood Ratio Test (GLRT), with \(H_0\): last week’s model (\(\tau = 10\) days) and \(H_a\): the new model with \(q = 1\) extra unknown (\(\tau\)):

\[ T_q = \hat\epsilon_0^T \Sigma_Y^{-1} \hat\epsilon_0 - \hat\epsilon_a^T \Sigma_Y^{-1} \hat\epsilon_a \sim \chi^2(q, 0) \quad \text{under } H_0 \]

\(H_0\) is rejected if \(T_q > k_\alpha\); the new model is then significantly better.


How did things go? (Optional)#

Use this space to let us know if you ran into any challenges while working on this GA, and if you have any feedback to report.

By Lina Hagenah, Delft University of Technology. CC BY 4.0, more info on the Credits page of Workbook.