The Mat<U+00E9>rn correlation function describes realizations of Gaussian spatial processes with different smoothnesses
(i.e. either smooth or rugged surfaces, controlled by the \(\nu\) parameter). It also includes a \(\rho\) scaling parameter and an optional 'nugget' parameter. A random effect specified in a model formula as Matern(1|
<...>)
has pairwise correlations given by the Mat<U+00E9>rn function at the scaled Euclidean distance between coordinates specified in <...>, using “+” as separator (e.g., Matern(1|latitude + longitude)
). The Matern family can be used in Euclidean spaces of any dimension; and also for correlations on a sphere (with maximum smoothness nu=0.5
).
By default, fitme
and corrHLfit
performs optimization over the \(\rho\) and \(\nu\) parameters. It is possible to estimate different scaling parameters for the different Euclidean dimensions: see examples in make_scaled_dist
.
The MaternCorr
function may be used to vizualise these correlations, using distances as input.