Statalist


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

Re: st: Creating interaction terms between country and time fixed effects


From   Richard Goldstein <[email protected]>
To   [email protected]
Subject   Re: st: Creating interaction terms between country and time fixed effects
Date   Wed, 03 Jun 2009 09:40:50 -0400

you can use the -xi- command outside of the context of estimation (see -help xi-) and then choose which terms in your data to incorporate into the estimation

however, you should think very carefully about whether you really want to do this and what the interpretation of the interaction terms will be if the main effects are not included

Rich

[email protected] wrote:
Hello,

I try to create interaction terms between exporter and importer fixed effects and time fixed effects. My first thought was to use the xi command (xi: reg ..... i.ci*i.year i.cj*i.year, where ci and cj are exporters and importers). STATA does create the interaction terms, however, the main effects always remain in the regression. My question is whether there is an alternative command which I can use to create the interaction terms and which allows me to estimate the model only with the interactions included and not with the main effects?
I would appreciate any help,

best regards

Phil


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index