Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: xtlogit is slow


From   "Mitchell F. Berman" <mfb1@columbia.edu>
To   Stata List Server <statalist@hsphsun2.harvard.edu>
Subject   RE: st: xtlogit is slow
Date   Mon, 07 Jul 2008 09:54:52 -0400

Thank you for the information that changing the integration points won't help; I won't bother investigating that.

The call to xtlogit that I'm using is:

xi: xtlogit depvar i.catvar1 other_vars if rand <7, pa c(exc)

the c(exc) option is unnecessary--- xtlogit ..., pa is equivalent to
xtgee ..., family(binomial) link(logit) corr(exchangeable)

I can't see what else I'm doing wrong, especially since the identical data set runs quickly in SAS with results identical to stata. I'm guessing that the numeric method SAS uses for genmod is just faster than whatever Stata is using for xtgee.

Mitchell Berman
Columbia University




*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index