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

Re: st: Suggestion for cosmetic fix


From   Caixia Zhao <cxz@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Suggestion for cosmetic fix
Date   Tue, 13 Apr 2004 10:30:04 -0500 (CDT)

On Tue, 13 Apr 2004, Fred Wolfe wrote:

> 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
> 
> 
> *
Thanks for your suggestion. We will make the modification soon.  

Caixia Zhao
Senior Statistician
StataCorp LP

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