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

RE: st: RE: RE: Displaying values less than one with a zero in front of the comma


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: RE: RE: Displaying values less than one with a zero in front of the comma
Date   Mon, 21 Feb 2005 17:24:28 -0600

One other related issue:

Notice that the trailing zeros are "truncated"in the HR column for sex and several other variables (also the C.I. columns), but are not truncated in the z column or p columns.

My main reason for being interested in this is that I paste output like this into my text editor for further formatting. Lining up the decimals in the HR sometimes would help a great deal and save me time, particularly when I have pasted in many analyses.

_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | 1.067059 .0050247 13.78 0.000 1.057256 1.076953
sex | 2.0877 .2113005 7.27 0.000 1.712049 2.545775
edlevel | .9362623 .0176817 -3.49 0.000 .9022403 .9715673
white | 1.333145 .2819122 1.36 0.174 .8808031 2.01779
haq_disabi~y | 1.362598 .1561728 2.70 0.007 1.088449 1.705797
fhaq_disab~y | 1.544963 .1818523 3.70 0.000 1.226665 1.945853
mtxa | .667751 .0649676 -4.15 0.000 .5518213 .8080357
remicade | .6898916 .1087779 -2.35 0.019 .5064874 .9397084
enbrel | .5466583 .1055732 -3.13 0.002 .3743932 .7981857
arava | 1.174749 .1605539 1.18 0.239 .8986912 1.535604
plaquinl | 1.037496 .1286077 0.30 0.767 .8137138 1.322821
azulfidn | .6777492 .1639833 -1.61 0.108 .4218116 1.088979
fcoevmtot | 1.118466 .0335719 3.73 0.000 1.054565 1.18624
prednisn | 1.689975 .1617744 5.48 0.000 1.400872 2.038743
fmiev | 2.35278 .2758935 7.30 0.000 1.869679 2.960708
fpulmev | 1.467457 .1770711 3.18 0.001 1.15839 1.858985
-------------+----------------------------------------------------------------
/ln_p | .2202628 .0412145 5.34 0.000 .1394838 .3010418
/ln_the | -4.406671 1.933714 -2.28 0.023 -8.19668 -.6166616
-------------+----------------------------------------------------------------
p | 1.246404 .05137 1.14968 1.351266
1/p | .8023079 .0330668 .7400468 .8698071
theta | .0121957 .023583 .0002756 .5397433
------------------------------------------------------------------------------
Likelihood-ratio test of theta=0: chibar2(01) = 0.62 Prob>=chibar2 = 0.215

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125 Fax (316) 263-0761
fwolfe@arthritis-research.org


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