return list
shows that the chi2 value and the degrees of freedon are saved in r(df) and r(chi2)
So the p-value is chi2tail(`r(df)',`r(chi2)')
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of BBS
Querschnittsprojekt: Gerhard Sch�n
Sent: Wednesday, 1 June 2005 3:57 PM
To: [email protected]
Subject: st: save p-values from Kruskal-Wallis-test
Dear all,
I have to save p-values from a Kruskal-Wallis-test.
Unfortunately the command kwallis doesn't return p-
values.
. sysuse auto
. kwallis price, by(foreign)
. return list
Is there a way to obtain p-values from Kruskal-Wallis-
test in a (e)return list; maybe within other commands?
Thanks,
Gerhard
*
* 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/
*
* 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/