Pavia, J. M. (2015) “Testing Goodness-of-Fit with the Kernel Density Estimator: GoFKernel”, Journal of Statistical Software, Code Snippets, 66(1), pp. 1–27. doi: 10.18637/jss.v066.c01.