Statalist


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

st: Displaying multiple indicators for esttab


From   Dana Chandler <dchandler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Displaying multiple indicators for esttab
Date   Thu, 2 Jul 2009 11:22:01 -0500

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index