A Kernel Test of Goodness of Fit

Kacper Chwialkowski, Heiko Strathmann, Arthur Gretton
2/9/2016
388 citations
stat.ML

Official code: karlnapf/kernel_goodness_of_fit (26 stars, Python, BSD-3-Clause, last commit 2016-03-25).

Abstract

We propose a nonparametric statistical test for goodness-of-fit: given a set of samples, the test determines how likely it is that these were generated from a target density function. The measure of goodness-of-fit is a divergence constructed via Stein's method using functions from a Reproducing Kernel Hilbert Space.

Show full abstract

Our test statistic is based on an empirical estimate of this divergence, taking the form of a V-statistic in terms of the log gradients of the target density and the kernel. We derive a statistical test, both for i.i.d. and non-i.i.d. samples, where we estimate the null distribution quantiles using a wild bootstrap procedure. We apply our test to quantifying convergence of approximate Markov Chain Monte Carlo methods, statistical model criticism, and evaluating quality of fit vs model complexity in nonparametric density estimation.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Code for the paper "A Kernel Test of Goodness of Fit" by Kacper Chwialkowski, Heiko Strathmann, Arthur Gretton

267PythonMar 24, 201610 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{chwialkowski2016kernel,
  title  = {A Kernel Test of Goodness of Fit},
  author = {Kacper Chwialkowski and Heiko Strathmann and Arthur Gretton},
  year   = {2016},
  eprint = {1602.02964},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1602.02964}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1602.02964.svg)](https://codeofpaper.com/paper/1602.02964)

Discussion