Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Lloyd Dumont <lloyddumont@yahoo.com> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates |

Date |
Mon, 5 Dec 2011 10:10:52 -0800 (PST) |

Thanks, Alan. That does generate a list of variables, including those created to capture the ineractions. But, I get the same problem. For example, according to the coeflegend table, one of the interactions is called 1.X1#c.X2. But, if I try to generate a table of estimates... estimates table M1 M2, /// stats(N) star(.1 .05 .01) /// keep(1.X1#c.X2) /// b(%9.4fc) stfmt(%9.0fc) style(oneline) I get X1#c: operator invalid So, that leaves me back where I started... ----- Original Message ----- From: Alan Neustadtl <alan.neustadtl@gmail.com> To: statalist@hsphsun2.harvard.edu Cc: Sent: Monday, December 5, 2011 12:51 PM Subject: Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates Try using the -coeflegend- option for regress or after you estimate your model try -regress, coeflegend-. Best, Alan On Mon, Dec 5, 2011 at 12:24 PM, Lloyd Dumont <lloyddumont@yahoo.com> wrote: > 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/ * * 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/

**Follow-Ups**:**RE: st: Recovering Names of Factor Variables for Displaying Table of Estimates***From:*"Jesper Lindhardsen" <JESLIN01@geh.regionh.dk>

**Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates***From:*"Roger B. Newson" <r.newson@imperial.ac.uk>

**References**:**st: Recovering Names of Factor Variables for Displaying Table of Estimates***From:*Lloyd Dumont <lloyddumont@yahoo.com>

**Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates***From:*Alan Neustadtl <alan.neustadtl@gmail.com>

- Prev by Date:
**st: regression coefficient by group** - Next by Date:
**RE: st: how to do fama and macbeth procedure in poisson or nbreg regression** - Previous by thread:
**Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates** - Next by thread:
**Re: st: Recovering Names of Factor Variables for Displaying Table of Estimates** - Index(es):