Statalist


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

st: How to weight (level-1 bootstrap weight) data by using gllamm?


From   fangfang@ualberta.ca
To   statalist@hsphsun2.harvard.edu
Subject   st: How to weight (level-1 bootstrap weight) data by using gllamm?
Date   Mon, 07 Apr 2008 11:19:42 -0600

Dear STATA experts:

Based on a population survey data, I was trying to complete the bootstrap weight after a 2-level logistic regression model by using gllamm. The original syntax is:

xi: gllamm y x1 x2 x3 x4 x5, i (school) link (logit) eform

My first question is should I merge my data with the bootstrap weight data, then to run the weighted model? Or could I directly run the model by using the correct syntax? The second one is how to correctly write the bootstrap weight syntax in 2-level logistic regression model by using gllamm? I have been working with this for some time, thanks a lot for any help.

Fangfang

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