# Univariate Kolmogorov-Smirnov test instead of multivariate

Since it is not easy to apply a Multivariate Kolmogorov-Smirnov test for two samples, I thought: is it possible to compare the different statistics with the univariate KS? For example:

Object 1: statistic 1, statistic 2, etc.

Object 2: statistic 1, statistic 2, etc.

If I want to check if these 2 objects are the same, can I just use the univariate KS test for two samples and compare first statistics 1, then 2, and so on? Then if all tests say that all the statistics are the same, does it mean that objects are the same?

Of course if the statistics have the same "number" it means that they measure the same thing.

What you're doing is comparing marginal distributions.

Equality of marginal distributions doesn't imply equality of joint distribution.

Specifically, the copula can be different in each of the two cases, while the margins remain the same.

Some examples (for normal margins) are described here, but the issue applies much more generally.

Even having bivariate margins equal doesn't make a trivariate distribution the same. See here for an example.

• Ok, thank you, I think I see the problem. Do you know which kind of two sample test for multivariate data could I apply? Suppose I know nothing beforehand about the distributions. Commented Sep 21, 2014 at 10:58