Fitting Matérn Smoothness Parameters Using Automatic Differentiation

preprint2022arXivOpen access

Abstract

The Matérn covariance function is ubiquitous in the application of Gaussian processes to spatial statistics and beyond. Perhaps the most important reason for this is that the smoothness parameter νν gives complete control over the mean-square differentiability of the process, which has significant implications for the behavior of estimated quantities such as interpolants and forecasts. Unfortunately, derivatives of the Matérn covariance function with respect to νν require derivatives of the modified second-kind Bessel function Kν\mathcal{K}_ν with respect to νν. While closed form expressions of these derivatives do exist, they are prohibitively difficult and expensive to compute. For this reason, many software packages require fixing νν as opposed to estimating it, and all existing software packages that attempt to offer the functionality of estimating νν use finite difference estimates for ∂νKν\partial_ν\mathcal{K}_ν. In this work, we introduce a new implementation of Kν\mathcal{K}_ν that has been designed to provide derivatives via automatic differentiation (AD), and whose resulting derivatives are significantly faster and more accurate than those computed using finite differences. We provide comprehensive testing for both speed and accuracy and show that our AD solution can be used to build accurate Hessian matrices for second-order maximum likelihood estimation in settings where Hessians built with finite difference approximations completely fail.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.