Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: ksmirnov


From   tzygmund mcfarlane <tzygmund@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: ksmirnov
Date   Mon, 28 Sep 2009 12:46:52 +0100

I am trying to test if a series is t-distributed with (say) 6 degrees
of freedom using a Kolmogorov-Smirnov test. Is this the right way to
do it?

webuse wpi1
g returns = D.ln_wpi
ksmirnov returns = 1-ttail(6, returns)

thanks.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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