Statalist


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

Re: st: AW: Displaying multiple indicators for esttab


From   Dana Chandler <dchandler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Displaying multiple indicators for esttab
Date   Thu, 2 Jul 2009 19:54:17 -0500

Martin,

Is there a way though to indicate multiple variables and to name each one?
After running the regression --- reg y ind _var1 _var2

Typing estout, keep (ind) indicate ("Show this if the variable _var1
is present" = _var1) would display:

------------------------

                               est1

                                 b

ind
                            x.xxx
Show this if the variable _var1 is present                            YES


---------
How though could I make it so that I could also display _var2 in the
same manner and change its label?

Thanks in advance,
Dana

Show this if the variable _var1 is present YES
2009/7/2 Martin Weiss <martin.weiss1@gmx.de>:
>
> <>
>
> 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/
>

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