Re: [R] Standard errors of the predicted values from a lme (or lmer)

From: Fränzi Korner <fraenzi.korner_at_oikostat.ch>
Date: Mon, 04 Jun 2007 10:40:31 +0200

Dear Dieter,  

sorry for not being more specific. I would like to use R to get a prediction (with standard error) of the response in a mixed model at selected values of the fixed-effects factors. Hence, in a mixed model, say, for response body size with, say, fixed factors sex and age, I would like to get a prediction of size for each sex and at selected ages such as 5, 10, 15; and I want a SE for that prediction as well.  

This can be produced in the GenStat package using the VPREDICT directive or for lme-objects by predict(lmeresult, newdata, se=TRUE), but I have not found out so far how predictions for the response under a mixed model in R can be obtained.  

Thanks for all,  

kind regards --



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 04 Jun 2007 - 08:53:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Jun 2007 - 13:31:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.