Hi,
I would like to regress an equation using paneldata, but I would like to find estimates for every country seperately. I can find one estimate for all countries (panel data) and with fixed effects, but my problem is when I want to look at effects in only one country, and I use "bysort i:" (where "i" is a country), it will not take the fixed effects into account. Do you guys know how to take this into account?
I find the same results using the two different commands (but I think thats a problem, as fixed effects are not taking into account using "bysort i:"):
> bysort i: xtivreg2 dlogsigma KAPITALSKAT INF ÅBEN VALUTA YMIDDEL STAT INFSD ÅBENSD VALUTASD STATSD, fe robust
> bysort i: reg dlogsigma KAPITALSKAT INF ÅBEN VALUTA YMIDDEL STAT INFSD ÅBENSD VALUTASD STATSD
Many thanks.
Related Posts with How to take fixed effects into account using "bysort i"
combining dates in 2 different columnsDear Stata forum members, I need advise on how to combine dates in 2 different columns in to one co…
Should we test anticipation effect for Diff-in-Diff in natural event?Normally, the anticipation effect is tested as an assumption for Diff-in-Diff. However, it seems tha…
Sorry, double post.o …
Westerlund ECM panel cointegrationGood morning, I would like to apply a Westerlund and Edgerton (2007) panel bootstrap cointegration t…
Reverse CommandI am trying to reverse the order of some categorical variables in my dataset. There was previously a…
Subscribe to:
Post Comments (Atom)
0 Response to How to take fixed effects into account using "bysort i"
Post a Comment