Dear Statalist,

I use linear model for panel data


How can I use the marginal effects after these commands please

xtreg c.rgdpg c.ihs_inigdppc c.fdx c.fdxsquar c.ihs_infvolatility c.fdx##c.ihs_infvolatility c.fdxsquar##c.ihs_infvolatility c.ihs_inf c.ihs_gov c.ihs_gfcf c.ihs_trd c.ihs_lbor, fe

xtreg c.rgdpg c.ihs_inigdppc c.fdx c.fdxsquar c.ihs_infvolatility c.fdx##c.ihs_infvolatility c.fdxsquar##c.ihs_infvolatility c.ihs_inf c.ihs_gov c.ihs_gfcf c.ihs_trd c.ihs_lbor, re



margins, dydx(fdx) at(ihs_infvolatility = (.017071 .4295887 6.00237) fdx = (12.9673 55.90659 93.312)) Is this command correct for both fe and re? If not, could you please support me with the correct commands




Thank you

Badiah