Suppose $\mathbf{y}_{i} $ and $ \mathbf{x}_{i}\,$ are length-$m$ vectors and $D_{i}$ is some arbitrary distribution $(i=1,...,N)$. I would like to conduct the following hypothesis test:
$ H_{0}: \mathbf{x}_{1}, \mathbf{y}_{1} \sim D_{1}; \,\,\, \mathbf{x}_{2}, \mathbf{y}_{2} \sim D_{2}; ...;\,$ and $\, \mathbf{x}_{N}, \mathbf{y}_{N} \sim D_{N} $
$ H_{1}: H_{0}$ is false
I know $ H_{0}: \mathbf{x}, \mathbf{y} \sim D$ can be tested using the Kolmogorov-Smirnov test. But can this test be generalized as above?