Skip to content

Confidence interval for predictions in mixed effects models

2 messages · Montse Rue, Douglas Bates

#
Hi,

I would like to know if I can obtain confidence intervals for predictions when
using nlme.

Thanks!

Montse Rue
Research Scientist
Dana-Farber Cancer Institute
Boston, MA
#
Montse Rue <rue at jimmy.harvard.edu> writes:
There is no pre-defined function to do that.  If you are predicting
based on the fixed-effects terms only (i.e. the "population"
predictions) you could use the standard errors of those parameters to
calculate a standard error of your predicted mean response.  If you
are predicting for observed values of the grouping variable(s) it
would be much more difficult to get standard errors of the mean
response.  If I recall correctly the conditional standard deviations
of the conditional modes of the random effects are not passed back to
R from the C code.