Statalist


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

RE: Re: st: RE: kolmogorov-Smirmov Output


From   Garry Anderson <[email protected]>
To   [email protected]
Subject   RE: Re: st: RE: kolmogorov-Smirmov Output
Date   Wed, 14 Jan 2009 20:22:17 +1100

Why not use the exact p-value, as reported by
 
ksmirnov x, by(group) exact
 
Regards, Garry

________________________________

From: [email protected] on behalf of [email protected]
Sent: Wed 14/01/09 20:17
To: [email protected]
Subject: Re: st: RE: kolmogorov-Smirmov Output



thanks a lot.
So, if my output is, for example,

Two-sample Kolmogorov-Smirnov test for equality of distribution functions:

Smaller group       D       P-value  Corrected
----------------------------------------------
male:               0.2468    0.002
female:             0.0000    1.000
Combined K-S:       0.2468    0.005      0.003

if a should drow a conlusion, I have to see the p-value 0.005, the row
Combined K-S, is it right? So, in this case, if my alpha is 0.05,
because p-value is less than 0.05 I reject the null hypotesis.Is it
right?

Claudia



Quoting hind sbihi <[email protected]>:

> Claudia
>
> I am not sure I fully understand your question.
> However, for hypothesis testing, you need to set a critical value at which
> you accept or reject the null hypothesis. Let's say this critical value, or
> alpha is 0.05. Now, if p-value is less than 0.05 your reject the null
> hypothesis (which states that your observed distribution follows a Gaussian
> distribution). Conversely, if p>0.05 then you accept the null hypothesis and
> consider that your data approximates a Gaussian distribution.
> HTH
>
> Hind
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: Wednesday, January 14, 2009 12:07 AM
> To: [email protected]
> Subject: st: kolmogorov-Smirmov Output
>
>
> Hello,
>
> would someone guide me on how to interpret the output of a two-sided
> kolmogorov-Smirnov test?
> In order to conclude for the equality or not of the distributions, what
> p-value I have to see? As you know, if I perform a test for the
> equality of two distributions, I have three rows where the last one is
> the combined K-S. My question is if I have to see only this last row
> (p-value) in ordwer to drow a conclusion.
>
> thanks a lot
> Claudia
>
>
>
>
>
> *
> *   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/
>
> *
> *   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/
>



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


----- Fine messaggio inoltrato. -----


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


<<winmail.dat>>




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