Hi,
I am trying to do a fixed effects model in R and keep getting various error
messages. In stata my code is
xtreg y x1 x2.......x20, fe(z)
y is my outcome variable and x1-x20 explanatory variables, z is the level at
which i want to calculate fixed effects (here the district level)
I have tried this in zelig using model (ls.mixed) and in nlme but it takes
hours to calculate and usually i get strange error messages. i may have the
wrong syntax. any ideas on how to convert the command in STATA above into R?
thanks!
Aaka