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" <[email protected]>
To   [email protected]
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?



Ken Clark
School of Economic Studies
University of Manchester
M13 9PL
email: [email protected]
*   For searches and help try:

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