Skip to content
Prev 6215 / 20628 Next

predicted probabilities lmer

Well it depends on what exactly do you mean by 'FIXED part only'. If you 
mean the predicted probabilities for the "average" subject (i.e., a 
subject with random effect value zero), then you can simply obtain these 
probabilities from the estimated coefficients of the model.

However, if you mean the marginal/population probabilities, i.e., the 
probabilities averaged over the subjects, then you in fact need,

P(y = 1) = \int P(y = 1 | b) f(b) db,

where f(b) is the normal density for the random effects. One option to 
get those is using sampling with a bit of extra programming.


I hope it helps.

Best,
Dimitris
On 6/15/2011 2:47 PM, Ben Pelzer wrote: