Campbell, Richard T. wrote:
>You are asking for the linear predictor when you
>use the xb option. These can be negative, since they are
>fitted log odds. You want to use the default which will give you fitted
>probabilities
Or gen predprob = exp(linpred)/(1 + exp(linpred))
The latter might be useful if you can't get -predict- to make some
linear combination you want, e.g., adjusting for the random effect in a
particular way.
Sometimes Stata has a nice option that's about 50% of the way to what
you want, in which case a little additional calculation gets you all the
way there.
JV
*
* 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/