Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: xtmelogit vs hlm

From   "Ploutz-Snyder, Robert (JSC-SK)[USRA]" <>
To   "" <>
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.  

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


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.)


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

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index