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"
Problems with mergeHi there, I was trying to merge two datasets (code:joinby), however it seems that stata cannot iden…
How to use tabstat's "format" option with estpost? Getting ErrorHi, I have a time variable in Stata internal form. I am trying to calculate it's summary statistics…
New version of xcontract on SSCThanks as always to Kit Baum, a new version of the xcontract package is now available for download f…
Panel data and count dependent variableHi all, I have a panel data set of 18 years and 50 regions. My dependent variable is a count one, wi…
fuzzy fsQCA bestfit displaying few casesHello Statalist, I am conducting a fuzzy-set QCA using the 'fuzzy' package written by Longest &…
Subscribe to:
Post Comments (Atom)
0 Response to How to take fixed effects into account using "bysort i"
Post a Comment