Statalist


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

st: Two-sample Kolmogorov smrinov


From   Knag Anne-Christine <anne-christine.knag@imr.no>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Two-sample Kolmogorov smrinov
Date   Fri, 06 Jul 2007 12:11:22 +0200

Hi,
I have a matrix of comparisons that I want do to KS tests on. In total there
a 9 groups to be compared against eachother (2 at a time). My data looks
like this:

Day             Cumulative relative frequency       Group
67               0.00005                             1
68               0.00063                             1
70               etc                                 1
Etc                                                  2
65                                                   2
69                                                   2
70                                                   2
Etc                                                  2
52                                                   3
54                                                   3


The dialogue in the two sample KS test wants a binary variable that
identifies two groups. I do not have a binary variable that identifies two
groups (it contain 9) so what do I do? Break it down into files containing
only the two groups to be compared? This may take a while..

Thanks,
AC

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



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