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
Generating a variable for user pre and post policy changeHI, So I have panel data for 5 years (4,5,6,7,8) and I am evaluating a policy change that happened …
List of long string varsI am simply looking to get a list of all the different values of a string variable, but some of them…
Lasso error message "error in postselection b"Hi everyone, I encountered this error when I was running the Lasso, "error in postselection b". Co…
How to perform PSM without replacement using teffects psmach commandDear all, I want to perform 1:1 nearest neighbourhood PSM wihtout replacement, and get AI variance. …
How to create a plot showing the results of an OLS regressionDear all, I ran a panel regression taking the form of y = x1 +x12 + other control variable using …
Subscribe to:
Post Comments (Atom)
0 Response to Interpreting fixed effects when panel identifier is a group variable
Post a Comment