Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: Kolmogorov-Smirnov problem


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: Kolmogorov-Smirnov problem
Date   Tue, 11 Nov 2003 10:02:31 -0000

Not the answer you seek, but also check out [R] diagplots
and particularly -qnorm-. The manual entry carries
a splendid quotation from Rupert Miller on why such 
a plot is typically much more valuable than K-S 
or chi-square for the underlying problem. 

Nick 
[email protected] 

Michael Blasnik
 
> Is var1 already standardized?  If not, I suggest you look 
> at the help file
> and follow the example there, where the variable is first 
> summarized and
> then compared to standardized values.  You may also want to 
> follow the help
> file's advice about sktest and swilk.
 
Michael Carney
 
> > >I am trying to conduct a Kolmogorov-Smirnov test to 
> determine if a set of
> > >data is distributed normally. I am using the command
> >
> > >      ksmirnov var1 = normprob(var1)
> >
> > But using this command, I am getting obviously incorrect 
> D statistics. (I
> > have tried the same command with a small data set to 
> which I have computed
> > the correct answer by hand, and stata gives incorrect D 
> values for that
> > small data set as well.) Am I missing something in the 
> command line?

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index