I have panel data with two time periods (t=2) and n regions as entities. I am considering the possibility of including a variable to control for country effect in the regressions. In the research, I employ both pooled and fixed effect specifications. If I'm correct, it is unnecessary to include a country variable in the fixed effect model since it is time-invariant. However, I would like to control the country effect in the pooled model.
I generated a factor variable
Code:
egen f_country= group(country), label
Code:
reg y x i.f_country, vce(cluster region_id)
Thank you in advance for your help
0 Response to Control for country effect in a pooled estimation
Post a Comment