Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2017/iii/paper-206/6/c/solution
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 206 6 c Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-05
The first binned empirical semivariogram rises strongly through the displayed distances, approximately quadratically, with no visible sill. The spatial data plot shows higher depth at larger . A stationary residual covariance should not be asked to explain that deterministic drift.
For a model with stationary zero-mean residual field, each raw squared difference has expectationWith linear drift , the added term is . Its average within distance bins can grow with separation, producing the shape seen in the first plot. The empirical semivariogram uses half the average squared difference over the pairs in each bin, so removing only a common intercept does not remove this drift contribution.
The formula
depth ~ y estimates and removes a linear drift before computing a residual empirical semivariogram. The second graph levels off near with a fitted zero nugget and a finite scale, making the Gaussian residual covariance a plausible working model. Estimate the drift and fit spatial dependence to residuals rather than the raw depth differences. Estimated residuals are not the true errors, so their semivariogram has estimation effects; sparse long-distance bins are also noisy. These graphs support the model but do not establish stationarity or isotropy.The subpart refers to
svgm and svgm2, while the code calls the objects smvg and smvg2. Also the printed code omits the line that fits gauss.model2 before plotting or using it. The supplied output must be interpreted as the result of that missing residual-variogram fit, rather than as an executable complete script. New to topics? Read the docs here!