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

st: gllamm "probability weight variables not found"


From   "Paddock, Susan" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: gllamm "probability weight variables not found"
Date   Wed, 1 Oct 2003 19:04:15 -0700

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index