# Is there a multivariate two-sample Kolmogorov–Smirnov test?

Is there a multivariate alternative to two-sample Kolmogorov–Smirnov test? What I mean is a test that can be used to check whenever two underlying multidimensional distributions differ.

• I am facing the same question. Have you learned anything useful and made any conclusions? I do see the answer, but beyond it I wonder about your experience with the suggestions and what worked best. Mar 31, 2021 at 14:06
• @RichardHardy nope.
– Tim
Mar 31, 2021 at 14:22

A 2004 article On a new multivariate two-sample test by Baringhaus and Franz maybe helpful, they provided a brief literature review on the two-sample multivariate GoF tests and then a R package cramer. As the package name suggested their method is related to Cramer's test, a predecessor of Cramer-von Mises.