I'm running a fixed-effects regression with fixed-effects by region (e.g. Americas, Africa, Oceania) using standard OLS and a variable for region index. In this regression, Stata automatically sets the coefficient on the Africa indicator variable to 0, as Africa is the first region in alphabetic order. Is there a way to change which region has its FE coefficient set to 0?
Code:
encode region, gen(region_idx) eststo: reg y x i.region_idx esttab * using filename.tex, se replace label
Many thanks,
Eric
0 Response to Choose Which Fixed Effect Has Coefficient 0
Post a Comment