Kolmogorov-Smirnov equality-of-distributions test for 2 variables Use ksmirnov2var With STATA 18
https://ln.run/ksmirnov2var