Bookmark and Share

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]

st: RE: xtmelogit vs hlm


From   "Ploutz-Snyder, Robert (JSC-SK)[USRA]" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: xtmelogit vs hlm
Date   Fri, 12 Mar 2010 08:52:50 -0600

Safe to assume that when you made the comparison of the two programs, you examined the defaults too? When I did similar comparisons of STAT vs SAS, the defaults weren't the same... (ex. REML vs ML, unstructured cov vs. others...)

Just a thought.  
Rob 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neal Beck
Sent: Friday, March 12, 2010 3:21 AM
To: [email protected]
Subject: st: xtmelogit vs hlm 

Hola

A colleague here uses HLM, I was curious how it compared to State's xtmelogit. The data are surveys in 13 countries, roughly 3000 respondents by country (no weighting used, about 39000 respondents). Taking a vanilla set of options in both HLM and Stata, and a simple model with random effects and one random coefficient (and about 8 fixed coefs), I compared my results to her's. Not surprisingly, the estimates of the fixed coefficients (and their se's) and the fixed part of the random coefficients (the means) are quite similar, within about 5%, close enough for government work. The sd on the intercept is quite similar, but the sd on the random slopes differ by a factor of 3. I do not own nor play with HLM, but many of my friends who do this stuff for a living swear by it. Does anyone have any thoughts on the difference.  I find it hard to believe that a difference of this magnitude could simply be an artifact of different variations of estimation method (there is decent precisi!
 on on the sd of the random coefficient, the se on the sd is about 1/4th the size of the sd itself.

(This is not a part of my research, but a question of whether for practical reasons a course here should switch from HLM to Stata, there are huge advantages to Stata but the difference in results makes this a hard sell to HLM people.)

TIA
neal


Neal Beck
On leave AY 2009 at the Instituto Juan March, Madrid Spain




*
*   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/

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index