Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[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–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index