Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Any ways to specify the regression output to 2 decimal places?


From   "Charles Man@CCR" <ccrman@cityu.edu.hk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Any ways to specify the regression output to 2 decimal places?
Date   Mon, 18 May 2009 17:25:10 +0800

Dear subscribers,

Is there any way to specify the regression results to 2 decimal places? I don't mean the figures after the -esttab- or -estout-command. I mean the regression result table after -regress- command? 

It seems fmt% doesn't work in -reg- command. How can I specify the regression table to show coeff, t, se, p>t and CI with only 2 decimal places rather than the default 7 decimal places?


     Y          |      Coef.    Std. Err.      t        P>|t|        [95% Conf. Interval]
-------------+----------------------------------------------------------------
      X1        |   .0000975   .0068564     0.01   0.989    -.0133751    .0135701
     X2         |   .0058169   .0043916     1.32   0.186    -.0028125    .0144463
       _cons |     .2223101   .0274083     8.11   0.000       .1684536    .2761665

Thanks a lot.

Best Regards,
Charles
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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