Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Anders Alexandersson <andersalex@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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 andersalex@gmail.com Jessie Bishop-royse <jessibishoproyse@yahoo.com> 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/