Statalist


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

Re: st: GLLAMM and weights


From   "Ariel Linden, DrPH" <[email protected]>
To   <[email protected]>
Subject   Re: st: GLLAMM and weights
Date   Sun, 14 Dec 2008 08:45:32 -0800

Thank you Steve for your comments. I use Stata 10.1 and have the most
updated version of GLLAMM installed.

Indeed, the weights represent the inverse probability of treatment, so
additional manipulation of the weights are not necessary.

Similarly, "treatment" and "treatment * time" variables must be in the model
since those are the primary covariates under study. So an incremental
approach to model building will not get me to where I want to end up.

The authors use GEE in SAS. When I try using xtgee in Stata (with the
weights) I get an error stating that the weights must be the same for each
id across waves.

Interestingly enough, I can get this to work using regress, glm, and gls. I
may have to rely on gls for longitudinal modeling if I can't get this to
work using gee or gllamm.

Thanks again

Ariel  

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index