Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I have fitted the following model:

fitmixed2 <-lmer(Type~rcs(Pt.Age,3)+rcs(Time.min,3)+Pt.Gender+ASA+School+(1|provider.id)) 

and thought I could use the predict function with it, but it does not work.

I really want to get the predicted probability plots for some fixed values for age (say, mean(age)), gender=F, ASA=1, and three probability plots for the three levels of school on same axis and with confidence intervals.

share|improve this question
Could you tell us what what version of lme4 you are using? AFAIK, only the developement version on R-forge has a predict function. – chl Aug 8 '12 at 1:19

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.