A best linear unbiased estimator minimizes covariance among linear estimators unbiased for the same target. In , assume , is a full-column-rank design matrix and the known covariance matrix is a positive-definite matrix. The best linear unbiased estimator of the coefficient vector is . A spatial trend estimate excludes the correlated residual prediction included in universal kriging.
The universal kriging model has a linear drift in and a zero-mean Gaussian residual field:
The Gau range parameter in this software is , since its semivariogram uses . The output gives , , and , hence . The exact Gaussian range is infinite; the 95-percent practical range is approximately in the coordinate distance units.
The BLUE=TRUE option asks for the best linear unbiased estimator of the drift, rather than the full field kriging prediction. Thus the two printed fitted trends give at and at . Therefore
There is no coefficient in the drift. The reported variances and are the variances of the corresponding estimated trend values, not full-field prediction variances. They do not determine the slope variance without its covariance with the intercept. The interpolated map can still vary with through the correlated residual prediction, even though the fitted deterministic drift depends only on .
Let have rows and let be the spatial covariance matrix with . Conditional on chosen covariance parameters, the best linear unbiased estimator of the drift coefficients is the generalized least squares estimator
The printed procedure first estimates the linear drift from depth ~ y, constructs a binned residual empirical semivariogram, fits a Gaussian semivariogram to it, and then uses the fitted covariance in generalized least squares trend estimation and universal kriging. The missing fit could be supplied as
gauss.model2 <- fit.variogram(smvg2, vgm(0.5, "Gau", 1, 0))
where those arguments are initial values, not the reported final estimates. Such semivariogram fitting typically minimizes a weighted sum of squared discrepancies between binned empirical values and model values; it is not automatically a joint Gaussian likelihood maximization. One can iterate: form residuals using the current drift, refit the covariance model, recompute the generalized least squares drift, and repeat until changes are small. The displayed commands themselves show a single sequence, not evidence that such iteration occurred.
A likelihood-based alternative estimates the two blocks coherently from
Substitute to obtain a profile log-likelihood, maximize over and with a positive-definite matrix , and recover the drift coefficients from the optimizing covariance. Restricted maximum likelihood adds the design determinant term and uses in place of in the normalizing term, up to a fixed-design constant. It can reduce bias from estimating the drift before the covariance. A zero fitted nugget is a legitimate boundary estimate, not proof that measurement error is absent. Estimate drift using covariance-weighted regression, and spatial dependence from drift-adjusted variation, with the two stages or likelihood explicitly distinguished.