Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: gllamm versus xtmelogit?

From   Anders Alexandersson <>
Subject   Re: st: gllamm versus xtmelogit?
Date   Sun, 27 Jun 2010 09:38:39 -0400

model is a random intercept model for a continuous outcome but you
wanted a random slope model for a logistic outcome. You need something
more similar to this (not tested):

. gen cons = 1
. eq slope: perblack_1980
. gllamm infdeath black, i(countynumber) eqs(inter slope) nrf(2)
family(binomial) link(logit)

Please use a Stata dataset that we can all access if you need more help.

Anders Alexandersson

Jessie Bishop-royse <> compared these two models:
. gllamm infdeath black perblack_1980, i(countynumber) iter(20)
. xtmelogit infdeath black || countynumber: perblack_1980
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index