Skip to main content
QUICK REVIEW

[Paper Review] Two-sample Bayesian nonparametric goodness-of-fit test

Luai Al Labadi, Emad Masuadi|arXiv (Cornell University)|Nov 13, 2014
Bayesian Methods and Mixture ModelsComputer Science31 references10 citations
TL;DR

This paper proposes a novel Bayesian nonparametric two-sample goodness-of-fit test using the Kolmogorov distance between approximate Dirichlet process samples centered at the standard normal distribution with concentration parameter 1. The method demonstrates superior power compared to classical tests, consistently outperforming the Kolmogorov-Smirnov test across all examined scenarios, and exhibits robustness to prior specification of the Dirichlet process parameters.

ABSTRACT

In recent years, Bayesian nonparametric statistics has gathered extraordinary attention. Nonetheless, a relatively little amount of work has been expended on Bayesian nonparametric hypothesis testing. In this paper, a novel Bayesian nonparametric approach to the two-sample problem is established. Precisely, given two samples $\mathbf{X}=X_1,\ldots,X_{m_1}$ $\overset {i.i.d.} \sim F$ and $\mathbf{Y}=Y_1,\ldots,Y_{m_2} \overset {i.i.d.} \sim G$, with $F$ and $G$ being unknown continuous cumulative distribution functions, we wish to test the null hypothesis $\mathcal{H}_0:~F=G$. The method is based on the Kolmogorov distance and approximate samples from the Dirichlet process centered at the standard normal distribution and a concentration parameter 1. It is demonstrated that the proposed test is robust with respect to any prior specification of the Dirichlet process. A power comparison with several well-known tests is incorporated. In particular, the proposed test dominates the standard Kolmogorov-Smirnov test in all the cases examined in the paper.

Motivation & Objective

  • To develop a Bayesian nonparametric approach for testing equality of two unknown continuous cumulative distribution functions in a two-sample setting.
  • To address the scarcity of Bayesian nonparametric hypothesis testing methods, particularly for two-sample problems.
  • To create a flexible, robust, and powerful alternative to frequentist nonparametric tests like Kolmogorov-Smirnov.
  • To evaluate the method's performance through simulation studies and power comparisons with established tests.
  • To explore the robustness of the test to variations in Dirichlet process base measure and concentration parameter.

Proposed method

  • The method uses approximate samples from a Dirichlet process with a standard normal base measure and concentration parameter 1 to model the unknown distributions F and G.
  • The Kolmogorov distance is computed between the empirical cumulative distribution functions of the two samples and their corresponding Dirichlet process approximations.
  • The test statistic is based on the distance between the two Dirichlet process samples, which serves as a measure of discrepancy between the two distributions.
  • The p-value is approximated via Monte Carlo simulation by comparing the observed distance to distances obtained under the null hypothesis.
  • The approach leverages the asymptotic properties of the Dirichlet process, ensuring convergence of the distance to zero under the null hypothesis as sample sizes grow.
  • Robustness is assessed by varying the base measure (e.g., uniform vs. normal) and concentration parameter (e.g., a=1 vs. a=50), with consistent results across configurations.

Experimental results

Research questions

  • RQ1Can a Bayesian nonparametric two-sample test be constructed using the Kolmogorov distance and Dirichlet process approximations?
  • RQ2How does the proposed test compare in power to classical nonparametric tests such as the Kolmogorov-Smirnov test?
  • RQ3Is the proposed test robust to changes in the base measure and concentration parameter of the Dirichlet process?
  • RQ4Does the method avoid the overestimation of evidence against the null hypothesis commonly associated with p-values in frequentist testing?
  • RQ5Can the approach be generalized to multivariate or censored data settings?

Key findings

  • The proposed Bayesian nonparametric test consistently dominates the standard Kolmogorov-Smirnov test in power across all simulation scenarios examined in the paper.
  • The test is robust to changes in the base measure of the Dirichlet process; the distance and p-value (U) remain unchanged when switching from a standard normal to a uniform base measure with a=1.
  • Increasing the concentration parameter from a=1 to a=50 reduces both the distance and the p-value (U), but the test conclusion remains unchanged, indicating robustness to this parameter.
  • The method does not rely on p-values in the traditional frequentist sense, potentially mitigating the overestimation of evidence against the null hypothesis.
  • The asymptotic theory supports the validity of the test, as the Kolmogorov distance converges to zero under the null hypothesis when sample sizes increase.
  • The approach is flexible and applicable to any two-sample problem regardless of sample size, with no reliance on empirical distribution function-based distribution-free assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.