Hello,
I have a model with a dichotomous outcome representing a transportation preference, with an N of around 700. The individual observations are associated with a district and I have some grounds to expect that preferences are be more similar within districts, of which there are 15 in the population. I want to make sure I am generating the appropriate standard errors. It seems that there are a couple of options. One could be to use a fixed effects model as in:
xtset district
xtlogit Tpreference i.Predictor, fe
Alternatively, I could use generalized estimating equations, as in:
xtgee Tpreference i.Predictor, link(logit) family(binomial) vce(robust), specifying the appropriate working correlation structure.
Can anyone advise on what is the appropriate model, or any other considerations pertinent to the choice of models?
Much Appreciated,
John L.
I have a model with a dichotomous outcome representing a transportation preference, with an N of around 700. The individual observations are associated with a district and I have some grounds to expect that preferences are be more similar within districts, of which there are 15 in the population. I want to make sure I am generating the appropriate standard errors. It seems that there are a couple of options. One could be to use a fixed effects model as in:
xtset district
xtlogit Tpreference i.Predictor, fe
Alternatively, I could use generalized estimating equations, as in:
xtgee Tpreference i.Predictor, link(logit) family(binomial) vce(robust), specifying the appropriate working correlation structure.
Can anyone advise on what is the appropriate model, or any other considerations pertinent to the choice of models?
Much Appreciated,
John L.
Comment