Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Kolmogorov Smirnov, groupvar as cumulative relative frequencies or rawdata?


From   "Knag Anne-Christine" <anne-christine.knag@imr.no>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Kolmogorov Smirnov, groupvar as cumulative relative frequencies or rawdata?
Date   Sat, 7 Jul 2007 20:02:16 +0200

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>>




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index