[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: How to adjust for center ?
I performed a longitudinal GEE model with an exchangeable correlation and
a logit link.
The outcome was visit(y/n) in a defined period of 12 months and each person
contributed a maximum of three observations to the estimation depending
if that person was seen in every one of three periods or not.
The format of the data is the following:
Id Visit_yn age other covariates
My original code:
xi: xtgee visit_yn age other_covariates, i(id) t(t_exam) fam(bin) link(logit)
I have now seen in a univariate analysis that there are substantial differences
among the 6 centers and would like to adjust for this potential correlation
within people of the same center. I guess that a multilevel mixed model
would be suitable with center as the random effect.
I?m however not sure how this can be performed in Stata (probably using
I thought of something like
glamm visit_yn age other_covariates, i(center) link(logit) family(bin)
This does however not include the longitudinal design.
Could anybody help me with this?
* For searches and help try: