Hi,
Should groupvar in stata consist of raw data or already calculated cumulative relative frequencies..? I've done the latter, but now I see that other statistical-packages wants raw data and calculate the cumulative relative frequencies automatically.
I get the feeling from the help file that I have assumed correctly and that stata wants the cumulative rel. frequencies of the variable you want to test. Am I correct?
ksmirnov performs one- and two-sample Kolmogorov-Smirnov tests of the
equality of distributions. In the first syntax, varname <https://webpost.imr.no/help.cgi?varname> is the variable
whose distribution is being tested, and exp <https://webpost.imr.no/help.cgi?exp> must evaluate to the
corresponding (theoretical) cumulative. In the second syntax, groupvar <https://webpost.imr.no/help.cgi?varlist>
must take on two distinct values. The distribution of varname for the
first value of groupvar is compared with that of the second value
Regards,
AC
<<winmail.dat>>