Dear Statalist members,
I have a conceptual question regarding the use of xtreg, fe when the panel identifier id reflects a group variable [gen id=group(country firm)], thus the panel variable reflects firms nested within countries. Moreover, the time variable is years, and the sample spans 50 years. If I am not mistaken, when using xtreg, fe, this implies that the fixed effect that is included in the model is an interaction between the dummy variable country and firm. My question is now: if one would want to include only country-level and/or firm-level fixed effects (so without the interaction term), does that mean xtreg cannot be used?
Thank you for your help, it is much appreciated.
Best,
Jai
Related Posts with Interpreting fixed effects when panel identifier is a group variable
Duplicate cases –assign single random id to all duplicate casesI have a question about how to assign a random id to duplicate cases. I am cleaning survey data and …
Bootstrap and Fisher's exact testHi everyone, I am kind of new to the forum. I have a question relates to resampling and Fisher's exa…
Reshape Wide to Long Data with Linked VariablesHello, I hope everyone had a nice Christmas and a good start to the New Year. I apologize in advan…
Stepped wedge cluster randomised trial analysisI was wondering if anyone could help and/or direct on how to approach the data from a stepped-wedge …
String and dummy variableI am trying to create a dummy variable that indicates whether each discharge involves readmission. I…
Subscribe to:
Post Comments (Atom)
0 Response to Interpreting fixed effects when panel identifier is a group variable
Post a Comment