Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0401230715540.24629-100000@gannet.stats>
Date: 2004-01-23T07:19:48Z
From: Brian Ripley
Subject: getting confidence intervals after lm fitting
In-Reply-To: <019d01c3e140$13bdd3b0$983991d8@jungdm>

On Thu, 22 Jan 2004, Yun-Fang Juan wrote:

> After fitting with lm, I want to get the 95 % confidence intervals of  the
> expected predicted value.

Of the predicted expected value, I assume?

> I know in S-plus I can use pointwise() to get the confidence intervals .
> But in R, I couldn't find such a function.
> Is there any R package available for such functionalities.

No, but predict() in R does this for you.  See ?predict.lm .


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595