  In this paper we deal with the problem of testing for the quality of $k$
probability distributions. We introduce a generalization of the maximum mean
discrepancy that permits to characterize the null hypothesis. Then, an
estimator of it is proposed as test statistic, and its asymptotic distribution
under the null hypothesis is derived. Simulations show that the introduced
procedure outperforms classical ones.
