In this article we describe Bayesian nonparametric procedures for two-sample
hypothesis testing. Namely, given two sets of samples
y(1)\stackrel{\scriptscriptstyle{iid}}{\s
im}F(1) and y(2)\stackrel{\scriptscriptstyle{iid}}{\sim}F(2),
with F(1),F(2) unknown, we wish to
evaluate the evidence for the null hypothesis
H0:F(1)≡F(2) versus the
alternative H1:F(1)=F(2). Our
method is based upon a nonparametric P\'{o}lya tree prior centered either
subjectively or using an empirical procedure. We show that the P\'{o}lya tree
prior leads to an analytic expression for the marginal likelihood under the two
hypotheses and hence an explicit measure of the probability of the null
Pr(H0∣{y(1),y(2)}).Comment: Published at http://dx.doi.org/10.1214/14-BA914 in the Bayesian
Analysis (http://projecteuclid.org/euclid.ba) by the International Society of
Bayesian Analysis (http://bayesian.org/