I am not aware that you can do this K-S in Stata.
With this concern in mind, other numerical
and graphical alternatives are
some variant on Wilcoxon-Mann-Whitney
(e.g. -ranksum-, esp. the -porder- option)
-qqplot-
-somersd-
-qplot-
-distplot-
For the last three, use -search- to identify
locations.
Nick
[email protected]
Delphine Irac
> I have 2 samples X1,...,Xn and Y1,...,Yn and I want to test if "The Xs
> tend to be smaller than the Ys". I know that thoeretically you can do
> that by a one-sided Kolmogorov Smirnov test but was wondering how do
> in Stata. In Stata I just found the two-sided KS test of equality of
> distribution (and no ranking).
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/