Ex. 7.3
Ex. 7.3
Let \(\boldsymbol{\hat f} = \bb{S}\bb{y}\) be a linear smoothing of \(\bb{y}\).
(a)
If \(S_{ii}\) is the \(i\)th diagonal element of \(\bb{S}\), show that for \(\bb{S}\) arising from least squares projections and cubic smoothing splines, the cross-validated residual can be written as
(b)
Use this result to show that \(|y_i-\hat f^{-i}(x_i)| \ge |y_i - \hat f(x_i)|\).
(c)
Find general conditions on any smoother \(\bb{S}\) to make result \(\eqref{eq:ex73-a}\) hold.
Soln. 7.3
Without loss of generality, we assume
For least squares we have \(\lambda=0\), and for cubic smoothing we have \(\lambda\ge 0\). See Chapters 3 & 5 in the text for more details.
(a)
We have
Let \(\bb{X}_{-i}\) and \(\bb{y}_{-i}\) be the corresponding results with \(x_i\) removed, then we have
Let \(\bb{A} = (\bb{X}^T\bb{X} + \lambda\Omega)\), by Woodbury matrix identity, we have
Therefore, \(\eqref{eq:73-1}\) becomes
Therefore by simple algebra we have \(\eqref{eq:ex73-a}\).
(b)
Note that \(\bb{S} = \bb{X}(\bb{X}^T\bb{X} + \lambda \bm{\Omega})^{-1}\bb{X}^T\) is positive-semidefinite and has eigen-decomposition
See Section 5.4.1 in the text for more details. Therefore, we know that \(\bb{S}\bb{S} \preceq \bb{S}\), so that
from which we know \(0\le S_{ii} \le 1\).
By \(\eqref{eq:ex73-a}\) we have \(|y_i-\hat f^{-i}(x_i)| \ge |y_i - \hat f(x_i)|\).
(c)
For general linear smoother \(\boldsymbol{\hat f} = \bb{S}\bb{y}\), if \(\bb{S}\) only depends on \(\bb{X}\) and other tuning parameters (i.e., independent of \(\bb{y}\)), \(\eqref{eq:ex73-a}\) still holds.
To see that, note that if we replace \(y_i\) with \(\hat f^{-i}(x_i)\) (obtained by \(\eqref{eq:73-1}\)) in \(\textbf{y}\) and denote the new vector by \(\textbf{y}'\), \(\textbf{S}\) is not changed. Thus we have
therefore we obtain \(\eqref{eq:ex73-a}\).