Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: gllamm


From   Mohammad Siahpush <Mohammad.Siahpush@cancervic.org.au>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: gllamm
Date   Sun, 22 Dec 2002 10:39:28 +1100

Hi everyone

My data is collected such that first classrooms and then students are
sampled (cluster sampling).
I am regressing boymid on video (categrorical variable). I am estimating
coefficients taking into account clustering. The following two commands give
nearly identical results.

xi: xtgee boymid i.video, i(classnum)
xi: regress boymid i.video, cluster(classnum)

I expected the gllamm command to also give identical results. While
coefficients are nearly identical to the results of the above two command,
SEs are considerably larger. Does anyone know why? Which command is more
appropriate for my analysis?

xi: gllamm boymid i.video,i(classnum)

thanks in advance
m
*
*   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