Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Steven Samuels <sjsamuels@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: How to use weights in a random effect model |
Date | Tue, 1 Feb 2011 10:30:44 -0500 |
-gllamm- ("findit") does random effects models and takes: 1) probability weights and 2) sampling clusters (i.e. primary sampling units or PSUs) that are not part of the model. A Google search for "gllamm pweight"and "multilevel sampling weights" will turn up related posts. You will find advice to rescale the probability weights if you are interested in estimating the variance components. HLM, if you have access to it, would be a good alternative to GLLAMM.
See: http://www.cpc.unc.edu/research/tools/data_analysis/ml_sampling_weights and http://www.cpc.unc.edu/projects/addhealth/news/Investigation%20of%20Ways%20for%20Handling%20Sampling%20Weights%20for.pdf Steve sjsamuels@gmail.com On Feb 1, 2011, at 7:02 AM, cohaag@staff.mail.uni-mannheim.de wrote: Hello,I would like to run a random-effect model in Stata. In addition, I would like to use weights in the model. I Know that I can use iweights with xtreg, mle. But then I can get the message "iweights must be constant within model". Is there any way I can use aweights oder pweights in my random effect model?
Thanks a lot. Cornelia Haag * * 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/