[R] Plot Confidence Interval for Regression

From: Milton Cezar <miltinho_astronauta_at_yahoo.com.br>
Date: Thu 21 Sep 2006 - 15:44:33 GMT


Dear R-friends    

  I fitted a regression using GLM and plotted fitted values agaist X axis.   Now I need plot upper and lower confidence intervals (95%) for this fit.   Acoording to ?lm help and can use something like :

     [ predict.lm(mod, se.fit=T, interval = "confidence", level=.95) ]   to estimate confidence intervals. In fact this command run fine, but I canīt plot upper and lower C.I. lines.    

  Any help,    

  Kind regards
  Miltinho                  


        [[alternative HTML version deleted]]



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 Fri Sep 22 01:55:31 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 Thu 21 Sep 2006 - 19: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.