Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: A question about -estout1-


From   "louis boakye-yiadom" <louisby@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: RE: A question about -estout1-
Date   Thu, 02 Nov 2006 11:48:23 +0000

Ben, many thanks for this! It worked; I only had to increase the varwidth to 28. I'll try out -esta- later ... is it an improvement over -estout1-?.

Louis



The default for -estout1- is to produce tab-delimited outpu, which does
not display well in the Stata results window. Type, e.g.,

 . estout1 , label varwidth(22) modelwidth(12) delimiter(" ")

or

 . estout1 , label var(22) model(12) del(" ")

to produce a fixed-format table.
ben

PS: Check out the new -esta- program. Here's an example:

<cut>
. sysuse auto
. reg price weight
. est sto m1
. reg price weight mpg forwign
. reg price weight mpg foreign
. est sto m2
. esta *, label

----------------------------------------------------
                              (1)             (2)
                            Price           Price
----------------------------------------------------
Weight (lbs.)               2.044***        3.465***
                           (5.42)          (5.49)

Mileage (mpg)                               21.85
                                           (0.29)

Car type                                   3673.1***
                                           (5.37)

Constant                   -6.707         -5853.7
                          (-0.01)         (-1.73)
----------------------------------------------------
Observations                   74              74
----------------------------------------------------
t-statistics in parentheses
* p<.05, ** p<.01, *** p<.001
<cut>



> -----Original Message-----
> I tried to use the -label- option in -estout1- so I can have variable
> labels
> listed instead of variable names (I'm not comfortable with -estout-
yet).
> The output I got, however, was distorted, i.e., in terms of the
layout.
> Can
> anyone help me fix this? Thanks.
>
> Louis
_________________________________________________________________
Windows Live™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb

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