Declared panel data as xtset year (instead of xtset panelid year)
xtset YEAR
panel variable: YEAR (balanced)
. xtreg logXijt logGDPitGDPjt logPCGDPitPCGDPjt logPCGDPDijt TRGDPit TRGDPjt logDistanceij Borderij i.PanelIDIndoASEAN, fe
Is it correct way of computing country wise fixed effects?
.reg logXijt logGDPitGDPjt logPCGDPitPCGDPjt logPCGDPDijt TRGDPit TRGDPjt logDistanceij Borderij i.PanelIDIndoASEAN. This is also countrywise fixed effect command.
I was told to give command in point 2 for countyrwise fixed effect and now I am confused if it is possible? Please answer this query
Regards
Saba Gulnaz
Related Posts with xtreg Y X1 X2...Xn i.country, fe- Is it possible/ correct/ feasible?
estout column output helpHello, I'm using the estout command like this: Code: sysuse auto glm foreign price, fam(bin) l…
First Difference vs Fixed Effects Serial CorrelationHi, I am running the following regression: xtreg recycling loginc logpopden md11 md12 md13 md14 md…
Unique String Values Across Variables and Duplicate Observations for an ID VariableHi! I'm trying to count the unique number of string values for variable mainx, and x1-9. My dataset …
Identifying consecutive observations that meet a determined valueHello Statalisters, I am starting in the world of Stata and I would appreciate suggestions on how t…
Multiple legends in combined subplots using the coefplot commandHello all. I am running a bunch of regressions, each with a different dependent variable using the s…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg Y X1 X2...Xn i.country, fe- Is it possible/ correct/ feasible?
Post a Comment