Statalist


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

st: Re: How does -kwallis2- compute adjusted p-values for significance?


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: How does -kwallis2- compute adjusted p-values for significance?
Date   Tue, 10 Feb 2009 21:18:08 +0100

<>

There are several ways to get at this information, one being to -trace- the thing and scroll up to the point where it is created afterwards. -set tracehilite- is very helpful in this exercise...

******
sysuse census, clear
set tracehilite Adjusted
set tr on
kwallis2 medage, by(region)
set tr off
*******


Next possibility: If you -log- the process, you can look at the log in a text editor and search for "Adjusted"...

Or you look at kwallis2.ado, for instance with NJC`s -ssc d fedit- where you will find lines 123-124:

*******
 local c1=(1-$S_level/100)/(2*(`maxGrp'-1))
 di in gr "(Adjusted p-value for significance is " %7.6f `c1' ")" _n
*******


If you want, create your own copy of kwallis2.ado and toss in a -pause- so you can inspect the state of the world when line 123 is processed...





HTH
Martin
_______________________
----- Original Message ----- From: "Tiago V. Pereira" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 10, 2009 7:31 PM
Subject: st: How does -kwallis2- compute adjusted p-values for significance?


Dear Statalisters,

Does anyone know about which method  -kwallis2-  uses to compute adjusted
p-values for significance when the Kruskal-Wallis Test is statistically
significant?

Cheers!

Tiago


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



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