Dear all,
I'd need some advice on how to deal with fixed effects. I am currently working on a cross-sectional dataset and would like to include in my models county fixed effects. Note that this is relative to all 3,000 US counties. I have encoded my "county" variable into a numeric one. Would it be okay to just include the county variable as it is or should I include i.county? The former works just fine, but I doubt that it is the right way to go. The problem with the latter is that, since there are 3,000 counties, Stata slows down by a lot and sometimes crashes. When it does not crash, the usual regression output cannot be seen as all the space is taken up by the coefficients for each of the 3,000 county dummies. Is there a way to avoid this issue? Note that I would also need to run IV regressions, so, for instance, using xtreg, fe would not be a solution for me.
Thank you very much in advance.
Related Posts with Help on fixed effects
local macro and loopHi Statalist, I am trying to use a local macro with a foreach loop to clean up some vars. Here is my…
Trying to calculate time length for hospital episodes of multiple consec. rows, but also multiple nested within one 'person'Hi STATALIST, First time poster here. I am hoping someone can assist with my hospital record data ca…
Set colorsSorry, I have asked this before. But now I have two computers and have spend an hour with help and t…
Marginal effects for group comparisons in probit regressionHi all, I am trying to use a probit model to analyze a bunch of interaction effects for a binary de…
Modelling temporal dependence in within-between "hybrid" modelsDear Statalisters, I would like to know how to properly specify a temporal variable in within-betwe…
Subscribe to:
Post Comments (Atom)
0 Response to Help on fixed effects
Post a Comment