Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Recovering Names of Factor Variables for Displaying Table of Estimates


From   Lloyd Dumont <lloyddumont@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Recovering Names of Factor Variables for Displaying Table of Estimates
Date   Mon, 5 Dec 2011 09:24:03 -0800 (PST)

Hello, everyone.

I am estimating a few equations using factor variables.  Some are just dummies, and some are dummies crossed with continuous variables.  What I cannot figure out is how to reference the names of the newly-created two-way multiplicative interaction terms.  I have even tried to copy the variable names from - mat list e(b) - .  That works for the simple, one-way dummy, but not for the interaction terms.  Is there a simple solution?
 
If it helps, here is a minimal recreation of the estimation command...
 
reg Y i.X1##c.X2 i.X1##c.X3 i.X1##c.X4 
 

Thank you!  Lloyd

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