Hi everyone,
I'm estimating a gravity model with fixed effects using panel data. My database is i = 4556 and t = 14.
I have heteroskedasticity and autocorrelation then use a gls estimator to solve these problems and I created a varivale and I created the variables z, where z1 are the variables that change in i and in t and z2 are variables that change only in i. Like this:
xi: xtgls imp $z1 $z2 ano02 ano03 ano04 ano05 ano06 ano07 ano08 ano09 ano10 ano11 ano12 ano13 ano14, panels(heteroskedastic) corr(ar1)
However, to estimate the potential trade flows, I need the fixed effects for each i, so which command I use on stata to show me this?
Tkank you.
I'm estimating a gravity model with fixed effects using panel data. My database is i = 4556 and t = 14.
I have heteroskedasticity and autocorrelation then use a gls estimator to solve these problems and I created a varivale and I created the variables z, where z1 are the variables that change in i and in t and z2 are variables that change only in i. Like this:
xi: xtgls imp $z1 $z2 ano02 ano03 ano04 ano05 ano06 ano07 ano08 ano09 ano10 ano11 ano12 ano13 ano14, panels(heteroskedastic) corr(ar1)
However, to estimate the potential trade flows, I need the fixed effects for each i, so which command I use on stata to show me this?
Tkank you.
Comment