Skip to content
Prev 16227 / 20628 Next

prediction with glmer

Dear all,

Apologies for a potential second post, I am not sure my first post came through.



I am fitting a generalized linear mixed model with lme4 using glmer

 with binomial errors and logit link. I am using the ?predict? function

 to obtain predicted values for the current model and data set.



 Here is some sample code



 m.age50<-glmer(ct_pos~cath_pos+(1+cath_pos|study_no),data=test, amily=binomial,na.action=na.omit)



 result.age50<-predict(m.age50)



My question is now: How exactly are the predictions calculated? I  could not find any details in the documentation.  Are these  just

 based on the fixed effects setting the random effects to zero? Or are  these empirical Bayes estimates?



Is there any documentation available?





Thank  you very much in advance.



Peter



Universit?tsklinikum Jena - Bachstrasse 18 - D-07743 Jena
Die gesetzlichen Pflichtangaben finden Sie unter http://www.uniklinikum-jena.de/Pflichtangaben.html