Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Error message resulting from gllapred

From   "Eberth, Jan Marie" <>
To   "" <>
Subject   st: Error message resulting from gllapred
Date   Mon, 5 Jul 2010 20:16:02 -0500

Using STATA, I ran a 2 level model using gllamm (xi: gllamm outcome i.race age, i(cluster) l(logit) f(binom) pweight(pwt) nip(8) adapt) on the estimation sample (i.e. dataset containing 574 persons without any missing data).

After running this model, I opened up the prediction dataset (i.e. dataset with ~7000 persons; race and age present; outcome missing) and tried to run gllapred (options such as mu and linpred). When running gllapred, I recieved the following error message: log-likelihood cannot be computed for observations that should not contribute to posterior, set response variable to missing r(198). Interestingly, the gllapred command seemed to work fine when the gllamm model didn't have the pweight option specified.  It is also noteworthy that I didn't get this error message when running gllasim.

I'd really like to get gllapred working for the prediction dataset using the parameters from the weighted, 2 level model. Does anyone have insight into why I'm getting this error and how I might be able to fix it?

Thank you!
Jan Eberth, MSPH

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index