[Paper Review] Kernel Tests of Equivalence
The paper introduces kernel-based equivalence tests for comparing distributions using kernel Stein discrepancy (KSD) and maximum mean discrepancy (MMD), with both normal-approximation and bootstrap implementations.
We propose novel kernel-based tests for assessing the equivalence between distributions. Traditional goodness-of-fit testing is inappropriate for concluding the absence of distributional differences, because failure to reject the null hypothesis may simply be a result of lack of test power, also known as the Type-II error. This motivates \emph{equivalence testing}, which aims to assess the \emph{absence} of a statistically meaningful effect under controlled error rates. However, existing equivalence tests are either limited to parametric distributions or focus only on specific moments rather than the full distribution. We address these limitations using two kernel-based statistical discrepancies: the \emph{kernel Stein discrepancy} and the \emph{Maximum Mean Discrepancy}. The null hypothesis of our proposed tests assumes the candidate distribution differs from the nominal distribution by at least a pre-defined margin, which is measured by these discrepancies. We propose two approaches for computing the critical values of the tests, one using an asymptotic normality approximation, and another based on bootstrapping. Numerical experiments are conducted to assess the performance of these tests.
Motivation & Objective
- Motivate equivalence testing as a remedy to the limitations of standard GOF tests for asserting absence of meaningful distributional differences.
- Develop non-parametric, kernel-based tests that assess equivalence under a pre-defined margin using KSD and MMD.
- Provide two implementation pathways (normal approximation and bootstrap) for one-sample and two-sample settings.
- Allow unequal sample sizes and avoid parametric distribution assumptions while ensuring calibration and consistency.
Proposed method
- Propose E-KSD-Normal and E-KSD-Boot tests for one-sample equivalence using Kernel Stein Discrepancy (KSD).
- Propose E-MMD-Normal and E-MMD-Boot tests for two-sample equivalence using Maximum Mean Discrepancy (MMD).
- Derive asymptotic normality results for KSD under Q ≠ P and develop a normal-based testing statistic with a jackknife variance estimator.
- Develop a bootstrap-based test (E-KSD-Boot) using a triangle-inequality approach to achieve better Type-I error control, especially for small margins.
- Introduce a data-driven method to select the equivalence margin θ for bootstrap-based tests.
- Discuss computation via V-statistics and kernel mean embeddings, with closed-form MMD expressions and bootstrapping diagnostics.

Experimental results
Research questions
- RQ1Can kernel-based discrepancies (KSD and MMD) reliably detect when two distributions are equivalent within a predefined margin?
- RQ2How do normal-approximation and bootstrap approaches compare in terms of Type-I error control and power under various margins and sample sizes?
- RQ3Can one accommodate unequal sample sizes in one- and two-sample equivalence testing without parametric assumptions?
- RQ4What margin selection strategies yield practical, data-driven equivalence thresholds for these tests?
Key findings
- Two families of kernel-based equivalence tests are proposed: KSD-based for one-sample and MMD-based for two-sample settings.
- The E-KSD-Normal test is calibrated and consistent under the stated assumptions, but may have inflated Type-I error for small margins.
- The E-KSD-Boot test improves Type-I error control with finite samples, at some cost to power.
- The E-MMD-Normal and E-MMD-Boot tests extend to two-sample settings and allow unequal sample sizes.
- Bootstrapping-based approaches provide robust control when the normal approximation is unreliable for small equivalence margins.
- A data-driven method for selecting the equivalence margin θ is proposed for the bootstrap tests.

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.