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