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"
Literature for a larger data set advantagesHello I do a panel analysis over eight years at the provincial level, which unfortunately only give…
Panel Data model: DIagnostic testingHi stata community. I really need help. I have a long panel T=17 and N=8(countries). These are the s…
dataset is showingHello, So let me first describe what I am working with and the steps I took. One dataset has for e…
Confusion between out of sample predict and forecastI have read the forecast manual, but I can't understand why using forecast produces different result…
Analysing duplicatesHi guys, I need to analyse duplicates. I've got different newpaper articles. They all have a story_…
Subscribe to:
Post Comments (Atom)
0 Response to How to take fixed effects into account using "bysort i"
Post a Comment