Ben Jann <[email protected]> asked
> Am I right that for discrete data one would use
>
> D = max | S(x) - F(x) |
>
> to compute the Kolmogorov-Smirnov statistic (as in, e.g., Horn 1997 or
> Wood/Altavela
> 1978)?
Yes, you are right. In the case where the true distribution F(x) is discrete
(and therefore a step function), the test statistic, D, is computed as you
show above.
-- Kristin
[email protected]
*
* 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/