Tutorials › Generalized Linear Mixed Models (GLMM) › Range, Sill, and Nugget in Spatial Models

Spatial and Temporal Correlation · Tutorial 580 of 698

Range, Sill, and Nugget in Spatial Models

Learn to interpret spatial range, structured sill, and nugget, and to distinguish spatial dependence from independent latent variation.

Advanced 12 min read

What You'll Learn

  • Define range, structured variance, nugget variance, and total sill in a spatial covariance model.
  • Relate covariance parameters to the semivariogram and its short-distance behavior.
  • Calculate covariance and correlation at a stated separation distance.
  • Interpret range carefully for exponential and Gaussian correlation functions.
  • Distinguish a spatially structured latent effect from independent observation-level variation.
  • Recognize design and diagnostic problems that make range and nugget difficult to identify.

Why These Parameters Matter

A spatial model describes how latent values at nearby locations tend to vary together. Three terms summarize different features of that variation: the range describes how quickly spatial dependence fades with distance; the sill describes the variance reached at large separation; and the nugget describes variation that does not appear as spatially correlated variation between distinct observations. Interpreting these terms correctly matters because a large nugget and a short range can look similar in sparse data, even though they imply different spatial structures.

In a GLMM, these parameters usually describe latent variation on the linear-predictor scale. They do not, by themselves, describe the covariance of the observed responses on their original scale. The response distribution and link function also matter.

A Covariance Model and Its Terminology

Suppose observation \(i\), at spatial location \(s_i\), has a latent contribution \(w(s_i)+e_i\) to its linear predictor. Let \(w(s)\) be a mean-zero, stationary spatial Gaussian field, and let \(e_i\) be an independent mean-zero latent term. A common model is

$$ g\{E(Y_i\mid w,e_i)\}=x_i^\mathsf{T}\beta+w(s_i)+e_i, \qquad \operatorname{Cov}\{w(s_i),w(s_j)\}=\sigma^2\rho(d_{ij}), \qquad \operatorname{Var}(e_i)=\tau^2, $$

where \(g\) is the link function, \(x_i\) is the covariate vector, \(d_{ij}\) is the distance between locations, \(\sigma^2\) is the spatially structured variance, and \(\rho(d)\) is a correlation function with \(\rho(0)=1\). The independent terms \(e_i\) are also independent of the spatial field. For distinct observations, the latent covariance is

$$ \operatorname{Cov}\{w(s_i)+e_i,\;w(s_j)+e_j\} = \sigma^2\rho(d_{ij}),\qquad i\ne j. $$

The marginal variance of one latent contribution \(w(s_i)+e_i\) is \(\sigma^2+\tau^2\). This model assumes that the spatial field has constant variance and covariance determined by separation distance, and that the \(e_i\) terms are independent with a common variance. It also assumes that the specified correlation function is appropriate for the spatial domain and that the latent effects combine additively on the linear-predictor scale.

Definition: The structured variance is \(\sigma^2\), the variance contributed by the spatial field. The nugget variance is \(\tau^2\), the variance of the independent latent terms in this model. The structured covariance is \(\sigma^2\rho(d)\). The total marginal latent variance, often called the total sill in variogram descriptions, is \(\sigma^2+\tau^2\). Terminology varies: the covariance function’s large-distance limit is zero for a decaying correlation model, while the semivariogram’s large-distance plateau is the total sill.

The nugget is a model component, not a unique scientific explanation. It can represent independent observation-level latent heterogeneity, unresolved small-scale variation, or other variation not captured by the modeled spatial field. Whether it represents measurement error depends on how the model is formulated; in a non-Gaussian GLMM it should not automatically be called measurement error.

Range: How Quickly Dependence Fades

For a correlation function that approaches zero gradually, there is no finite distance at which correlation becomes exactly zero. In that setting, a reported range is usually a practical range: a distance at which correlation has fallen below a stated small threshold. The threshold must be reported or understood from the convention being used. A common convention is the distance at which correlation is about 0.05. The scale parameter in a covariance formula is not necessarily this practical range.

For the exponential correlation \(\rho(d)=\exp(-d/\phi)\), the distance where correlation is 0.05 solves \(\exp(-d/\phi)=0.05\), giving \(d=-\phi\log(0.05)\), approximately \(3\phi\). For the Gaussian correlation \(\rho(d)=\exp\{-(d/\phi)^2\}\), that threshold is \(d=\phi\sqrt{-\log(0.05)}\), approximately \(1.731\phi\). These conversions are specific to the stated parameterizations. A Matérn model’s practical range also depends on its parameterization and smoothness. Some compactly supported covariance functions instead have a finite distance beyond which covariance is exactly zero.

A practical range is a description of the fitted correlation curve, not a claim that all observations beyond that distance are independent. For example, if the correlation is 0.05 at the practical range, it is small by the chosen convention, but not exactly zero.

Worked Example: Exponential Range and Covariance

Suppose a hypothetical spatial GLMM has exponential correlation \(\rho(d)=\exp(-d/\phi)\), with \(\phi=2.40\) km, structured variance \(\sigma^2=0.64\), and nugget variance \(\tau^2=0.36\). Find the correlation at 5 km, the covariance between distinct observations 5 km apart, and the approximate 0.05 practical range.

At 5 km,

$$ \rho(5)=\exp(-5/2.40)=\exp(-2.0833)\approx 0.1245. $$

The covariance between distinct observations at that separation is the structured variance multiplied by the spatial correlation:

$$ \operatorname{Cov}=\sigma^2\rho(5)=0.64(0.1245)\approx 0.07969. $$

Each latent contribution has variance \(0.64+0.36=1.00\), so the correlation between these distinct latent contributions is approximately \(0.07969/1.00=0.07969\). At 5 km the correlation is lower than 0.1245 because the independent nugget contributes to each observation’s variance but not to covariance between distinct observations. The approximate 0.05 practical range is

$$ d=-2.40\log(0.05)\approx 7.190\text{ km}. $$

Thus, 5 km is shorter than this practical range, while the model’s correlation at 5 km is still modest. The values describe latent variation, not a direct difference in outcome probabilities.

Sill and Nugget Through the Semivariogram

A semivariogram expresses how dissimilar values are expected to be at a given separation. For two distinct observations under the model above, define the semivariance at distance \(d\) as half the variance of their latent difference. Because each observation has total latent variance \(\sigma^2+\tau^2\), and their covariance is \(\sigma^2\rho(d)\), the variance-of-a-difference identity gives

$$ \begin{aligned} \gamma(d) &=\frac{1}{2}\operatorname{Var}\{w(s_i)+e_i-w(s_j)-e_j\}\\ &=\frac{1}{2}\left[2(\sigma^2+\tau^2)-2\sigma^2\rho(d)\right]\\ &=\tau^2+\sigma^2\{1-\rho(d)\}, \qquad i\ne j. \end{aligned} $$

This derivation explains the familiar variogram shape. As distinct locations approach one another, \(\rho(d)\) approaches 1, so the semivariogram approaches \(\tau^2\), not zero, when independent terms remain. This near-zero-distance limit is the nugget effect. At large distances, if \(\rho(d)\) approaches zero, the semivariogram approaches \(\tau^2+\sigma^2\), the total sill. At zero separation for the exact same observation, the difference is zero; the nugget describes differences between distinct observations, including replicates at the same location when their independent terms differ.

Worked Example: Reading a Fitted Variogram

Suppose a hypothetical fitted exponential semivariogram has nugget variance \(0.25\), structured variance \(0.95\), and scale parameter \(\phi=1.50\) km, with \(\rho(d)=\exp(-d/\phi)\). Calculate its total sill and semivariance at 1 km and 3 km, then interpret the parameters.

The total sill is the large-distance semivariogram limit:

$$ \tau^2+\sigma^2=0.25+0.95=1.20. $$

At 1 km, the correlation is \(\exp(-1/1.50)=\exp(-0.6667)\approx 0.5134\). Therefore,

$$ \gamma(1)=0.25+0.95(1-0.5134) =0.25+0.4623 \approx 0.7123. $$

At 3 km, the correlation is \(\exp(-3/1.50)=\exp(-2)\approx 0.1353\), giving

$$ \gamma(3)=0.25+0.95(1-0.1353) =0.25+0.8214 \approx 1.0714. $$

The variogram is closer to its total sill of 1.20 at 3 km than at 1 km, as expected for a decaying correlation. The 0.25 nugget is the near-zero-distance semivariance limit for distinct observations; it is not the total variance. Under the 0.05 practical-range convention, the range is approximately \(-1.50\log(0.05)=4.494\) km. These fitted values indicate substantial independent or unresolved variation as well as spatial structure, but the nugget alone does not identify the physical source of that variation.

Interpreting the Components in a GLMM

A nugget and a spatial field contribute differently to dependence. The spatial field gives observations at distinct locations covariance \(\sigma^2\rho(d)\), which changes with distance. Independent terms \(e_i\) add variance to each linear predictor but no covariance between distinct observations. Consequently, increasing \(\tau^2\) raises the total variance and the semivariogram’s short-distance and long-distance levels, but does not increase the structured covariance at any positive separation.

For example, consider a hypothetical logistic GLMM with \(\sigma^2=0.50\), \(\tau^2=0.50\), and exponential correlation with \(\phi=4\) km. At 4 km, \(\rho(4)=\exp(-1)\approx0.3679\), so the latent covariance between distinct observations is \(0.50(0.3679)=0.1839\). Each latent contribution has variance 1.00, giving latent correlation 0.1839. At the same location, two distinct observations share the spatial field but have independent \(e_i\) terms, so their latent covariance is 0.50 and their latent correlation is 0.50. These are calculations on the linear-predictor scale; the response-scale association in a logistic model is not obtained by simply labelling these numbers as response correlations.

Key interpretation: Range characterizes the distance-decay pattern of the structured component. Structured variance controls its covariance scale. Nugget variance adds independent latent variation. Together, the structured and nugget variances determine total latent variance, but only the structured component creates covariance between distinct observations in this model.

Diagnostics, Comparisons, and Limitations

Parameter estimates can be unreliable when the sampling design provides little information about the covariance curve. If the smallest separation among sampled locations is large, the near-zero-distance behavior and nugget may be poorly determined. If there are no observations at sufficiently large separations, the plateau and practical range may also be weakly identified. A fitted range that grows very large, a variance estimate near a boundary, or a wide interval for the nugget can signal that the data do not distinguish among plausible covariance shapes. These patterns do not prove a model is wrong, but they warrant caution.

Empirical variograms of suitable residual summaries can help reveal remaining distance-dependent structure, but GLMM residuals are not direct observations of the latent Gaussian field. Their variance and distribution depend on the response family and fitted mean. Diagnostics should therefore be interpreted alongside model-based checks and the sampling design. Replicate observations at identical or very close locations are particularly informative about the nugget, provided the model correctly represents which latent effects are shared across replicates.

Model component or alternativeWhat it representsKey distinction
Spatial field \(w(s)\)Latent variation correlated by distanceCreates covariance between distinct locations
Independent term \(e_i\)Latent variation specific to an observationAdds variance but no cross-observation covariance
Independent random intercepts for groupsShared variation within defined groupsDependence follows group membership, not continuous distance
Adjacency-based spatial effectDependence defined through neighboring areasUses neighborhood structure rather than a continuous-distance correlation function

A continuous-distance covariance model is not automatically preferable to an independent group effect or an adjacency-based model: the choice should reflect how locations and dependence are represented by the design. The parameters are also conditional on the chosen correlation family. Different families can fit similar covariance patterns over the observed distances yet imply different behavior outside that range. Range and nugget estimates should therefore be reported with their parameterization, units, and relevant uncertainty. If nearby observations show directional patterns, an isotropic distance-only model may be inadequate; the direction-dependent structure is a separate modeling issue.

Common Mistakes

  • Calling the scale parameter the range without checking the formula. For the exponential model here, \(\phi\) is not the 0.05 practical range; that range is approximately \(3\phi\).
  • Calling the nugget the total sill. The nugget is the short-distance semivariogram limit for distinct observations. The total sill is \(\tau^2+\sigma^2\).
  • Assuming a nugget has one definite physical cause. It is a statistical component; the design and scientific context are needed to distinguish unresolved spatial variation from independent latent heterogeneity.
  • Interpreting latent-scale correlation as response-scale correlation. In a non-Gaussian GLMM, the link and response distribution affect the relationship between latent dependence and observed outcomes.

A practical interpretation should state which correlation function and parameterization were used, whether range is a threshold-based practical range, and whether sill refers to structured variance or total semivariogram plateau. Without these details, the same parameter label can be ambiguous.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. An exponential model has \(\phi=1.20\) km. What is its approximate 0.05 practical range?
  2. A fitted semivariogram has nugget \(0.30\) and structured variance \(0.70\). What is its total sill, and what does the nugget describe?
  3. In a GLMM with an independent observation-level latent term, does increasing its variance increase covariance between distinct observations? Explain.
  4. Why can a spatial range be difficult to estimate if the study has no pairs at short or long distances?

Solutions. (1) The exponential 0.05 range is \(-\phi\log(0.05)\), so \(-1.20\log(0.05)\approx3.595\) km. (2) The total sill is \(0.30+0.70=1.00\). The nugget is the near-zero-distance semivariogram limit for distinct observations, reflecting variation not shared as spatial covariance in the specified model. (3) No. The independent term increases each observation’s latent variance, but independence means it contributes zero covariance between distinct observations. (4) Without short-distance pairs, the nugget and initial rise of the semivariogram are weakly informed; without long-distance pairs, the plateau and decay scale are weakly informed. Thus, multiple combinations of nugget, sill, and range can fit the observed distances similarly.

Clinical Biostats