Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: gllamm versus xtmelogit?
From
Anders Alexandersson <[email protected]>
To
[email protected]
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
[email protected]
Jessie Bishop-royse <[email protected]> compared these two models:
. gllamm infdeath black perblack_1980, i(countynumber) iter(20)
and
. xtmelogit infdeath black || countynumber: perblack_1980
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/