[Paper Review] A new class of binning free, multivariate goodness-of-fit tests: the energy tests
This paper introduces the energy test, a novel binning-free, multivariate goodness-of-fit test that uses pairwise distances between observed and simulated data points, weighted by a radial function. It outperforms traditional chi-squared and other nonparametric tests in power, especially in multivariate settings, and avoids arbitrary binning while maintaining high sensitivity to distributional deviations.
We present a new class of multivariate binning-free and nonparametric goodness-of-fit tests. The test quantity \emph{energy} is a function of the distances of observed and simulated observations in the variate space. The simulation follows the probability distribution function $f_{0}$ of the null hypothesis. The distances are weighted with a weighting function which can be adjusted to the variations of $f_{0}$. We have investigated the power of the test for a uniform and a Gaussian distribution of one or two variates, respectively and compared it to that of conventional tests. The energy test with a Gaussian weighting function is closely related to the Pearson $χ^{2}$ test but is more powerful in most applications and avoids arbitrary bin boundaries. The test is especially powerful in the multivariate case.
Motivation & Objective
- To develop a multivariate goodness-of-fit test that avoids binning and subjective ordering systems, which are limitations of traditional chi-squared and other nonparametric tests.
- To create a nonparametric, distribution-free test that is sensitive to deviations in both local and global structure of multivariate distributions.
- To provide a computationally feasible alternative to existing multivariate tests by using Monte Carlo-simulated reference samples and distance-based statistics.
- To demonstrate that the energy test achieves higher statistical power than conventional tests like chi-squared and Mardia’s test, particularly in low-sample and high-dimensional settings.
Proposed method
- The test statistic is defined as a weighted integral of the squared difference between the empirical and null probability density functions, using a radial, monotonically decreasing weight function R(|x−x′|).
- The energy test statistic is computed via pairwise distances between data points and simulated points from the null distribution f₀, using a Monte Carlo approximation with M ≥ 10N simulated points.
- Three weight functions are evaluated: power-law, logarithmic, and Gaussian; the Gaussian variant shows strong similarity to chi-squared tests but without binning.
- The test statistic is expressed as φ_NM = (1/N²)Σᵢ<ⱼ R(|xᵢ−xⱼ|) − (1/NM)Σᵢ,ⱼ R(|xᵢ−yⱼ|), where x are observed data and y are simulated from f₀.
- The null hypothesis is rejected if the observed energy value is significantly smaller than expected under H₀, based on permutation or simulation-based p-value estimation.
- The method is extended to test whether two samples come from the same distribution by comparing their mutual energy to expected values under exchangeability.
Experimental results
Research questions
- RQ1Can a binning-free, multivariate goodness-of-fit test be constructed that avoids arbitrary binning and is robust to dimensionality?
- RQ2How does the power of the energy test compare to classical chi-squared and modern nonparametric tests like Mardia’s in univariate and bivariate settings?
- RQ3What weight function (e.g., Gaussian, logarithmic, power-law) optimizes sensitivity to different types of distributional deviations?
- RQ4Can the energy test detect both local and long-range distortions in multivariate data more effectively than existing methods?
- RQ5Is the energy test computationally feasible and reliable even for small sample sizes, where traditional tests fail?
Key findings
- The energy test with a Gaussian weighting function is more powerful than the chi-squared test in almost all tested univariate and bivariate cases, especially for small samples.
- The logarithmic weighting function is particularly sensitive to long-range distortions in the distribution, making it ideal for detecting global deviations common in physics data.
- For two-dimensional normality testing, the energy test performs comparably to Mardia’s test, a well-established multivariate normality test.
- The test maintains high power even with small sample sizes, outperforming binning-based methods that suffer from low statistical power in such regimes.
- The energy test is independent of subjective ordering or binning, making it a robust alternative in multivariate settings where such choices are problematic.
- The test statistic is minimized under the null hypothesis f ≡ f₀, and this property is supported by both theoretical arguments and numerical simulations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.