Message-ID: <AANLkTikeSiJnEYq5VB80hZtxXJXXZmS2L_Eo5A786TNL@mail.gmail.com>
Date: 2010-10-01T19:54:53Z
From: Douglas Bates
Subject: Confidence Intervals on Fitted Values from lmer
In-Reply-To: <8ACCEAD87A0FBD4B94590BEB20D9224A0D6E96B048@mail.cadmusgroup.org>
On Fri, Oct 1, 2010 at 2:33 PM, Corey Godfrey
<Corey.Godfrey at cadmusgroup.com> wrote:
> Hello,
> I would like to plot confidence intervals around the fitted values of a mixed effects model. Is this advisable? If so, is there a method for doing so?
First you need to decide what kind of confidence interval you have in
mind, involving the fixed-effects parameters only or both the fixed-
and random-effects. You may be able to get what you want from the
variance-covariance matrix for the estimates of the fixed-effects
parameters, available as vcov(fittedModel), but I can't guarantee it.
I would need to think more carefully about the interpretation of the
various types of variability.