The Matérn covariance between measurements taken at two points separated by d distance units is given by 3
where Γ {\displaystyle \Gamma } is the gamma function, K ν {\displaystyle K_{\nu }} is the modified Bessel function of the second kind, and ρ and ν {\displaystyle \nu } are positive parameters of the covariance.
A Gaussian process with Matérn covariance is ⌈ ν ⌉ − 1 {\displaystyle \lceil \nu \rceil -1} times differentiable in the mean-square sense.45
The power spectrum of a process with Matérn covariance defined on R n {\displaystyle \mathbb {R} ^{n}} is the (n-dimensional) Fourier transform of the Matérn covariance function (see Wiener–Khinchin theorem). Explicitly, this is given by
When ν = p + 1 / 2 , p ∈ N + {\displaystyle \nu =p+1/2,\ p\in \mathbb {N} ^{+}} , the Matérn covariance can be written as a product of an exponential and a polynomial of degree p {\displaystyle p} .78 The modified Bessel function of a fractional order is given by Equations 10.1.9 and 10.2.159 as
π 2 z K p + 1 / 2 ( z ) = π 2 z e − z ∑ k = 0 n ( n + k ) ! k ! Γ ( n − k + 1 ) ( 2 z ) − k {\displaystyle {\sqrt {\frac {\pi }{2z}}}K_{p+1/2}(z)={\frac {\pi }{2z}}e^{-z}\sum _{k=0}^{n}{\frac {(n+k)!}{k!\Gamma (n-k+1)}}\left(2z\right)^{-k}} .
This allows for the Matérn covariance of half-integer values of ν {\displaystyle \nu } to be expressed as
C p + 1 / 2 ( d ) = σ 2 exp ( − 2 p + 1 d ρ ) p ! ( 2 p ) ! ∑ i = 0 p ( p + i ) ! i ! ( p − i ) ! ( 2 2 p + 1 d ρ ) p − i , {\displaystyle C_{p+1/2}(d)=\sigma ^{2}\exp \left(-{\frac {{\sqrt {2p+1}}d}{\rho }}\right){\frac {p!}{(2p)!}}\sum _{i=0}^{p}{\frac {(p+i)!}{i!(p-i)!}}\left({\frac {2{\sqrt {2p+1}}d}{\rho }}\right)^{p-i},}
which gives:
As ν → ∞ {\displaystyle \nu \rightarrow \infty } , the Matérn covariance converges to the squared exponential covariance function
From the basic relation satisfied by the Gamma function Γ ( z ) Γ ( 1 − z ) = π sin ( π z ) {\displaystyle \Gamma (z)\Gamma (1-z)={\frac {\pi }{\sin(\pi z)}}} and the basic relation satisfied by the Modified Bessel Function of the second
K ν ( x ) = π 2 I − ν ( x ) − I ν ( x ) sin ( π ν ) {\displaystyle 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 ν ( x ) = ∑ m = 0 ∞ 1 m ! Γ ( m + ν + 1 ) ( x 2 ) 2 m + ν , {\displaystyle 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 → 0 {\displaystyle d\rightarrow 0} can be obtained by the following Taylor series (when ν {\displaystyle \nu } is not an integer and bigger than 2):
C ν ( d ) = σ 2 ( 1 + ν 2 ( 1 − ν ) ( d ρ ) 2 + ν 2 8 ( 2 − 3 ν + ν 2 ) ( d ρ ) 4 + O ( d 6 ∧ ( 2 ν ) ) ) , ν > 2. {\displaystyle 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.} 10
When defined, the following spectral moments can be derived from the Taylor series:
For the case of ν ∈ ( 0 , 1 ) ∪ ( 1 , 2 ) {\displaystyle \nu \in (0,1)\cup (1,2)} , similar Taylor series can be obtained: C ν ( d ) = σ 2 ( 1 + ν 2 ( 1 − ν ) ( d ρ ) 2 − Γ ( 1 − ν ) Γ ( 1 + ν ) ( ν 2 ) ν ( d ρ ) 2 ν + O ( d 4 ∧ ( 2 ν + 2 ) ) ) , ν ∈ ( 0 , 1 ) ∪ ( 1 , 2 ) . {\displaystyle 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 ν {\displaystyle \nu } is an integer limiting values should be taken, (see 11).
Genton, Marc G. (1 March 2002). "Classes of kernels for machine learning: a statistics perspective". The Journal of Machine Learning Research. 2: 303–304. https://jmlr.org/papers/v2/genton01a.html ↩
Minasny, B.; McBratney, A. B. (2005). "The Matérn function as a general model for soil variograms". Geoderma. 128 (3–4): 192–207. doi:10.1016/j.geoderma.2005.04.003. /wiki/Doi_(identifier) ↩
Rasmussen, Carl Edward and Williams, Christopher K. I. (2006) Gaussian Processes for Machine Learning http://www.gaussianprocess.org/gpml/chapters/RW4.pdf ↩
Santner, T. J., Williams, B. J., & Notz, W. I. (2013). The design and analysis of computer experiments. Springer Science & Business Media. ↩
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. ↩
Abramowitz and Stegun (1965). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. U.S. Government Printing Office. ISBN 0-486-61272-4. 0-486-61272-4 ↩
Cheng, Dan (July 2024). "Smooth Matérn Gaussian random fields: Euler characteristic, expected number and height distribution of critical points". Statistics & Probability Letters. 210: 110116. arXiv:2307.01978. doi:10.1016/j.spl.2024.110116. /wiki/ArXiv_(identifier) ↩