[R] plotting confidence intervals

Daniel Malter daniel at umd.edu
Tue Jul 14 19:57:53 CEST 2009


Erin and all, I lavishly used the factor 2 for the confidence intervals. Of
course this should be approximately 1.96 for the 95% CI under the assumption
of normality. So just adjust the factor accordingly or according to your
desired alpha level when you create the CI data frame. Otherwise, my example
should be fine. 

Daniel

-------------------------
cuncta stricte discussurus
-------------------------

-----Ursprüngliche Nachricht-----
Von: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] Im
Auftrag von Erin Hodgess
Gesendet: Tuesday, July 14, 2009 11:40 AM
An: R help
Betreff: [R] plotting confidence intervals

Hi R People:

If I have a fitted values from a model, how do I plot the (1-alpha)100%
confidence intervals along with the fitted values, please?

Also, if the intervals are "shaded" gray, that would be nice too, please?

I check confint, but that doesn't seem to do what I want.

Thanks in advance,
Sincerely,
Erin


--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences University of Houston -
Downtown
mailto: erinm.hodgess at gmail.com

______________________________________________
R-help at r-project.org 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.




More information about the R-help mailing list