I am running gllamm (latest version) and want to use the "pweight"
statement. When I enter either of the following commands that are below
(specifying either 1 weight or 2 weight variables), I receive the following
error message: "probability weight variables not found." I know that the
weight variables are in the data set, because they appear when I type
"describe" and the model runs when I put them in as predictors (just as a
check). The program runs when I exclude the pweight statement. Any
thoughts/advice would be appreciated.
The statements are:
gllamm y anydrug anydx black hispanic othrace chronic employed, i(site)
pweight(level2w) family(bin) link(logit)
gllamm y anydrug anydx black hispanic othrace chronic employed, i(site)
pweight(wigivenj level2w) family(bin) link(logit)
Thanks,
Susan
*
* 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/