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

st: Suggestion for cosmetic fix


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   st: Suggestion for cosmetic fix
Date   Tue, 13 Apr 2004 06:44:48 -0500

Suggestion to Stata Corp for cosmetic fix.

-nptrend- report p-values to two decimal place. To agree with other Stata programs, it should be 3 places. To wit:


. foreach var of varlist pray highpower fate {
2. nptrend haq_ if loutcome,by(`var') nodetail
3. }

z = -0.96
Prob > |z| = 0.34

z = 0.76
Prob > |z| = 0.45

z = -2.48
Prob > |z| = 0.01

.
end of do-file

. return list

scalars:
r(p) = .013226272751393


Thanks,

Fred


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