Statalist


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

RE: st: output of multiple regressions in Latex + labels below


From   Roy Wada <roywada@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: output of multiple regressions in Latex + labels below
Date   Tue, 17 Mar 2009 18:15:32 -0700

> There are multiple packages that can do that, but I cannot find one
> with the options of putting labels below as indicate in the following
> example.
> 
> (The problem is includes the "Yes" and "No." I would know how to do
> this if the label at the bottom were "0" and "1.")
> 
> Spending on X Spending on Y
> 
> Income 0.5 0.4
> Male 0.1 0.2
> ________________________________________________
> Observations 140 120
> R-squared 0.5 0.4
> ________________________________________________
> State fixed effects Yes No
> Year dummies Yes Yes
> State trends No Yes

See the help for -addtext( )- option.

sysuse auto, clear
tab rep78, gen(year)
ren year1 Year1
 
reg mpg price length turn year*
outreg2 using myfile, ctitle(Spending on X) addt(Year dummies, Yes) drop(year*) tex replace 
 
reg mpg price length turn gear foreign year*
outreg2 using myfile, ctitle(Spending on Y) addt(Year dummies, No) drop(year*) tex
_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009
*
*   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