I have researched a lot on internet on different forums and could not find any satisfactory answer. I tried a lot but some how I cant get output of marginsplot after fixed effect regression.
Here is the code:
Code:
xtreg ES l.ES  INT  PAT_POP c.FDI##c.DCPP##c.Employers TAX_REV GDPGR trend, fe vce(robust)
Code:
margins, at( FDI=(-46(132)86) Employers=(0(2)2) DCPP=(2(3.3)5.3)) plot
When I run the same after Pooled OLS and xtabond2 it works, but it does not work after xtreg......,fe and xtreg...., re.
The stata gives the following message
default prediction is a function of possibly stochastic quantities other than e(b)

I will appreciate any clue.
Regards
Zubair Khan