Matérn covariance function
{{Short description|Tool in multivariate statistical analysis}}
In statistics, the Matérn covariance, also called the Matérn kernel,{{cite journal |last1=Genton |first1=Marc G. |title=Classes of kernels for machine learning: a statistics perspective |journal=The Journal of Machine Learning Research |date=1 March 2002 |volume=2 |issue= |pages=303–304 |url=https://jmlr.org/papers/v2/genton01a.html }} is a covariance function used in spatial statistics, geostatistics, machine learning, image analysis, and other applications of multivariate statistical analysis on metric spaces. It is named after the Swedish forestry statistician Bertil Matérn.{{Cite journal| first1 = B. | last2 = McBratney|first2= A. B. | title = The Matérn function as a general model for soil variograms| last1 = Minasny| journal = Geoderma | volume = 128| issue = 3–4 | pages = 192–207 | year = 2005 | doi = 10.1016/j.geoderma.2005.04.003}} It specifies the covariance between two measurements as a function of the distance between the points at which they are taken. Since the covariance only depends on distances between points, it is stationary. If the distance is Euclidean distance, the Matérn covariance is also isotropic.
Definition
The Matérn covariance between measurements taken at two points separated by d distance units is given by Rasmussen, Carl Edward and Williams, Christopher K. I. (2006) [http://www.gaussianprocess.org/gpml/chapters/RW4.pdf Gaussian Processes for Machine Learning]
:
C_\nu(d) = \sigma^2\frac{2^{1-\nu}}{\Gamma(\nu)}{\Bigg(\sqrt{2\nu}\frac{d}{\rho}\Bigg)}^\nu K_\nu\Bigg(\sqrt{2\nu}\frac{d}{\rho}\Bigg),
where is the gamma function, is the modified Bessel function of the second kind, and ρ and are positive parameters of the covariance.
A Gaussian process with Matérn covariance is times differentiable in the mean-square sense.Santner, T. J., Williams, B. J., & Notz, W. I. (2013). The design and analysis of computer experiments. Springer Science & Business Media.
Spectral density
The power spectrum of a process with Matérn covariance defined on is the (n-dimensional) Fourier transform of the Matérn covariance function (see Wiener–Khinchin theorem). Explicitly, this is given by
:
S(f)=\sigma^2\frac{2^n\pi^{n/2}\Gamma(\nu+\frac{n}2)(2\nu)^\nu}{\Gamma(\nu)\rho^{2\nu}}\left(\frac{2\nu}{\rho^2} + 4\pi^2f^2\right)^{-\left(\nu+\frac{n}2\right)}.
Simplification for specific values of ''ν''
= Simplification for ''ν'' half integer =
When , the Matérn covariance can be written as a product of an exponential and a polynomial of degree .Stein, M. L. (1999). Interpolation of spatial data: some theory for kriging. Springer Series in Statistics.Peter Guttorp & Tilmann Gneiting, 2006. "Studies in the history of probability and statistics XLIX On the Matern correlation family," Biometrika, Biometrika Trust, vol. 93(4), pages 989-995, December. The modified Bessel function of a fractional order is given by Equations 10.1.9 and 10.2.15{{Cite book|title=Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables|last=Abramowitz and Stegun|year=1965 |publisher=U.S. Government Printing Office |isbn=0-486-61272-4|url-access=registration|url=https://archive.org/details/handbookofmathe000abra}} as
.
This allows for the Matérn covariance of half-integer values of to be expressed as
which gives:
- for :
- for :
- for :
= The Gaussian case in the limit of infinite ''ν'' =
As , the Matérn covariance converges to the squared exponential covariance function
:
\lim_{\nu\rightarrow\infty}C_\nu(d) = \sigma^2\exp\left(-\frac{d^2}{2\rho^2}\right).
Taylor series at zero and spectral moments
From the basic relation satisfied by the Gamma function
\Gamma(z)\Gamma(1-z)=\frac{\pi}{\sin(\pi z)}
and the basic relation satisfied by the Modified Bessel Function of the second
K_{\nu}(x) = \frac{\pi}{2} \frac{I_{-\nu}(x) - I_{\nu}(x)}{\sin (\pi\nu )}
and the definition of the modified Bessel functions of the first
I_{\nu}(x)= \sum_{m=0}^\infty \frac{1}{m!\, \Gamma(m+\nu+1)}\left(\frac{x}{2}\right)^{2m+\nu},
the behavior for
d\rightarrow0
can be obtained by the following Taylor series (when
\nu
is not an integer and bigger than 2):
C_\nu(d) = \sigma^2\left(1 + \frac{\nu}{2(1-\nu)}\left(\frac{d}{\rho}\right)^2 + \frac{\nu^2}{8(2-3\nu+\nu^2)}\left(\frac{d}{\rho}\right)^4 + \mathcal{O}\left(d^{6\wedge(2\nu)}\right)\right),\,\, \nu>2
When defined, the following spectral moments can be derived from the Taylor series:
:
\begin{align}
\lambda_0 & = C_\nu(0) = \sigma^2, \\[8pt]
\lambda_2 & = -\left.\frac{\partial^2C_\nu(d)}{\partial d^2}\right|_{d=0} = \frac{\sigma^2\nu}{\rho^2(\nu-1)}.
\end{align}
For the case of
\nu\in(0,1)\cup(1,2)
, similar Taylor series can be obtained:
C_\nu(d) = \sigma^2\left(1 + \frac{\nu}{2(1-\nu)}\left(\frac{d}{\rho}\right)^2 - \frac{\Gamma(1-\nu)}{ \Gamma(1+\nu)}\left(\frac{\nu}{2}\right)^{\nu} \left(\frac{d}{\rho}\right)^{2\nu} + \mathcal{O}\left(d^{4\wedge(2\nu+2)}\right)\right),\,\, \nu\in (0,1)\cup(1,2)
.
When
\nu
is an integer limiting values should be taken, (see ).
See also
References
{{DEFAULTSORT:Matern covariance function}}