Re: [R] plotting 95% confidence bands on a simple linear regression model from lm()

From: Michael Kubovy <kubovy_at_virginia.edu>
Date: Fri 20 Oct 2006 - 19:16:21 GMT

On Oct 20, 2006, at 2:46 PM, Jason Horn wrote:

> What's the best / simplest way to create 95% confidence bands for a
> model created with lm() that can be plotted around teh regression
> line? I've looked everywhere for this - I guess I must be missing
> something.
>
> - Jason

library(effects)
?summary.effect



Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766

WWW: http://www.people.virginia.edu/~mk9y/

R-help@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 Sat Oct 21 08:28:09 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 20 Oct 2006 - 23:30:11 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.