Hi Statalisters,

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
In the resulting table, Africa has coefficient 0, and all other regions have non-negative FE coefficients.

Many thanks,
Eric