The leave-one-out residual identity for a linear smoother, obtained from the block matrix inverse or the Sherman–Morrison formula, is
Hence
Compute once the spectral decomposition in operations and the vector in . For each , set
Then compute
Both calculations take operations per tuning parameter, after which the displayed leave-one-out formula costs . All scores therefore require operations.
Let , let
and recover the sufficient cross-products from the model1 normal equations by setting and . Then
is the total squared residual about the fixed line. The squared sum of the ten residuals within each person, summed across people, is
For one person's ten observations, the marginal covariance matrix is . The matrix determinant lemma and Sherman–Morrison formula therefore give, up to an additive constant, twice the negative marginal log-likelihood
Because the model was fitted with REML = FALSE, it minimizes this ordinary marginal maximum-likelihood objective. Thus belongs to the stated argmin over and .