Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: xtlogit, re + cluster

From   [email protected]
To   [email protected]
Subject   Re: st: xtlogit, re + cluster
Date   Sun, 15 Dec 2002 07:44:18 +0000


You can do that in gllamm uf id1 is nested within id2:

gllamm ..., i(id1) l(logit) f(binom) robust cluster(id2)

You can also estimate it without the robust and cluster

gllamm ..., i(id1) l(logit) f(binom)

and then simply get the correct standard errors

gllamm, robust cluster(id2).

On the other hand, if you are using gllamm, you may
want to fit a three-level model by including a random
intercept for id2 (level 3).



Does anyone have any code or suggestions on how to evaluate:

xtlogit ..., re i(id1) cluster(id2) ?

I.e., I would like to do id1-random effects and then estimate
robust standard error forl id2-clusters.


*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index