Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Jeph Herrin <stata@spandrel.net> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: xtmelogit |
Date | Wed, 14 Nov 2012 10:28:45 -0500 |
One trick you might try is to start with a simpler model (as others have noted) and use the estimates as starting points for a more complicated model.
xtmelogit `simple_varlist' || group: matrix b=e(b) xtmelogit `full_varlist' || group:, /// refineopts(iterate(0)) from(b) tells the second model to use the results of the first model as starting estimates when available. The other suggestion, mentioned by others, is to use laplace estimation. Also, if you don't have any cross-level effects and don't care aboutthe estimates of the random effects, you might use -xtlogit-, which generally runs faster (why? I think because it doesn't estimate the random effects for each group).
cheers, Jeph On 11/13/2012 4:22 PM, Szabo S.M. wrote:
Dear STATA Listers, I wanted to inquire whether anyone else had a problem using xtmelogit command. I am trying to fit a couple of multilevel logistic models and it takes a (very) long time to obtain output (including interactions, random effects, unstructured covariance and odds ratio options). This has lead me to a frustration and considering switching to MLWin, although I have traditionally used STATA. Kindly advise. Regards, Sylvia University of Southampton * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/
* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/