Statalist


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

st: AW: Displaying multiple indicators for esttab


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Displaying multiple indicators for esttab
Date   Fri, 3 Jul 2009 00:37:47 +0200

<> 

Seems like it does accept multiple vars...

*************

u http://www.stata-press.com/data/imeus/traffic, clear

eststo clear

/* Usual FE estimator */ 
eststo FE: xtreg fatal beertax/* 
 */  spircons unrate perincK, fe

esttab FE, /* 
 */ indicate(unrate spircons)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Dana Chandler
Gesendet: Donnerstag, 2. Juli 2009 18:22
An: statalist@hsphsun2.harvard.edu
Betreff: st: Displaying multiple indicators for esttab

I have a set of variables that represents all of my fixed effects _fe_
(ages, cities, and years) and several representing two-way interaction
effects _AC_*. The variables I have are ages, cities and years.

The following would display "FE on City/Age/Year" for those
regressions that include the _fe_* variables.

esttab, keep(ind _cons ) coeflabels(ind "Indep var" _cons "Constant")
cells( b(star fmt(3)) se(par fmt(4))) varwidth(30) depvars
addnotes("Line 1 of notes" "Line 2 of notes") title("Title of Stored
Regression") r2 indicate("FE on City/Age/Year"   = _fe_id_2)

How would I make it so that I can include TWO or more indicators at
the bottom? I tried things like:
esttab, keep(tvyears_1_15 _cons ) coeflabels(tvyears_1_15 "Years of TV
(0-15)" _cons "Constant") cells( b(star fmt(3)) se(par fmt(4)))
varwidth(30) depvars addnotes("Line 1 of notes" "Line 2 of notes")
title("Title of Stored Regression") r2 indicate("FE on City/Age/Year"
 = _d_id_2, "Interaction Age/City" = _AC_ageXyea_15_1978)

Unfortunately, the indicate option does not seem to accept multiple
variables.

Has anyone got any ideas? Thanks in advance for your time and help.

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


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