Dear all, 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
prediction in glmer
2 messages · Schlattmann, Peter, Ista Zahn
1 day later
Hi Peter, Did you see ?predict.merMod Best, Ista On Thu, Feb 22, 2018 at 2:49 AM, Schlattmann, Peter
<peter.schlattmann at med.uni-jena.de> wrote:
Dear all, 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 [[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models