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

RE: st: -estout- updated on SSC


From   "Jann, Ben" <[email protected]>
To   <[email protected]>
Subject   RE: st: -estout- updated on SSC
Date   Thu, 5 Aug 2004 23:05:03 +0200

Clive wrote:
> . estout con lab ldm, stats(F r2_a rmse N) cells("b(star)" 
> b(fmt(%9.2f))
> t(par)) varwidth(30) modelwidth(10) label

Note that the -cells()- option could be simplified to
-cells(b(star fmt(%9.2f)) t(par))- (well, not much simpler...)

> . estout auto, stats(F r2_a rmse N) cells("b(star)" t(par)) 
> varwidth(30)
> modelwidth(10) label
>                                       auto
>                                        b/t
> Mileage (mpg)                    -21.80518
>                                 (-.2818667)
> Repair Record 1978                184.7935
...
> looks a lot messier without inserting line breaks in between rows.

How about this:

. sysuse auto
. reg price-foreign
. est sto auto
. estout auto, stats(F r2_a rmse N) cells(b(star) t(par)) ///
>  varwidth(30) modelwidth(10) label ///
>  varlabels(, end(`=char(10)'))
                                      auto   
                                       b/t   
Mileage (mpg)                    -21.80518   
                                (-.2818667)   

Repair Record 1978                184.7935   
                                (.5569557)   

Headroom (in.)                   -635.4921   
                                (-1.659143)   

Trunk space (cu. ft.)             71.49929   
                                (.7522273)   

Weight (lbs.)                     4.521161** 
                                (3.202124)   

Length (in.)                     -76.49101   
                                 (-1.8932)   

Turn Circle (ft.)                -114.2777   
                                (-.9250453)   

Displacement (cu. in.)            11.54012   
                                 (1.37738)   

Gear Ratio                       -318.6479   
                                (-.2834088)   

Car type                          3334.848***
                                 (3.48387)   

_cons                             9789.494   
                                (1.458899)   

F                                 8.658513   
r2_a                              .5296889   
rmse                              1997.329   
N                                       69   

ben

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index