Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: fixed output format with two decimal digits


From   William Buchanan <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: fixed output format with two decimal digits
Date   Fri, 23 Nov 2012 06:21:17 -0800

If you use -estout- from SSC, there are display options available for each set of values that you include in the table.  

HTH,
Billy

Sent from my iPhone

On Nov 23, 2012, at 6:09, Yuval Arbel <[email protected]> wrote:

> Dear statalisters,
> 
> I run a probit model and get the following outcome:
> 
> Probit regression, reporting marginal effects           Number of obs =    282
>                                                        LR chi2(9)    =  44.04
>                                                        Prob > chi2   = 0.0000
> Log likelihood = -170.87868                             Pseudo R2     = 0.1142
> 
> ------------------------------------------------------------------------------
>    kinc |      dF/dx   Std. Err.      z    P>|z|     x-bar  [    95% C.I.   ]
> ---------+--------------------------------------------------------------------
>   vetek |   .0209189   .0100505     2.08   0.037   14.4468    .00122  .040618
> hco~l567*|   .1472128   .0681511     2.13   0.034   .560284   .013639  .280786
> assim567*|   .1996477   .0632462     3.03   0.002   .634752   .075688  .323608
>  edu456*|   .0193856   .0877187     0.22   0.826   .833333   -.15254  .191311
> republ~2*|  -.1033072   .0750537    -1.34   0.180   .205674   -.25041  .043795
>  age567*|   .0058098   .0805854     0.07   0.942   .336879  -.152135  .163754
>   child |   .0696712   .0352711     1.97   0.048   .765957   .000541  .138801
> frie~345*|   .0588883   .0657612     0.90   0.370   .397163  -.070001  .187778
> neig~s45*|   .0960822   .0664365     1.45   0.147   .329787  -.034131  .226295
> ---------+--------------------------------------------------------------------
>  obs. P |   .4326241
> pred. P |   .4227375  (at x-bar)
> ------------------------------------------------------------------------------
> 
> Is there any way to define the regression output, so that each
> coefficient and s.e. will be rounded to two decimal digits? for
> example: the coefficient of vetek will be rounded to 0.02 and the s.e.
> to 0.01? I would like to apply the same principle to all the
> coefficients and s.e., so that I get this output when I run the
> -outreg2- command
> 
> As always, your assistance will be highly appreciated
> 
> 
> --
> Dr. Yuval Arbel
> School of Business
> Carmel Academic Center
> 4 Shaar Palmer Street,
> Haifa 33031, Israel
> e-mail1: [email protected]
> e-mail2: [email protected]
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index