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

st: RE: save p-values from Kruskal-Wallis-test


From   "Ken Clark" <Msraskc@fs1.ec.man.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: RE: save p-values from Kruskal-Wallis-test
Date   Thu, 2 Jun 2005 11:23:11 +0100

Dear All

On yesterday's list, Gerhard Schoen asked about p-values for the 
Kruskal-Wallis test.  David Harrison replied suggesting 

. display chi2tail(r(df), r(chi2))

while Kieran McCaul suggested

. display chi2tail(`r(df)', `r(chi2)')

That is, Kieran puts single quotes (presumably denoting a local 
macro) around the returned results.

My questions is simply whether, or under what circumstances, this 
second usage is better?  Would it ever give a different answer to 
the first usage?

Thanks

Ken



Ken Clark
School of Economic Studies
University of Manchester
Manchester
M13 9PL
Tel:0161-275-3679
Fax:0161-275-4812
email: ken.clark@man.ac.uk
http://www.ses.man.ac.uk/clark
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index