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?
survey data help: dropping observationsHello, I am new to stata and would appreciate your help. I have ten crops under var2. I want to dro…
GMM: Multiple lagged moment conditions Hello everyone! I am a complete newbie to Stata and am thus really grateful for any help. I am curr…
Controlling for averages of lagsDear Stata community, I'm using time series regression using data of 100 countries over 22 years to…
In the loopLoop doesn't work with $ which is a recall from global?? Thank you. foreach i of num 1/17 { global …
rangestat/runbyDear All, I wonder if the following question can be solved by (ssc install) rangestat/runby? The dat…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg Y X1 X2...Xn i.country, fe- Is it possible/ correct/ feasible?
Post a Comment