Dear all,

I have a dataset which I need to estimate the regression model and plot the 
estimated curve two other curves with low and high confidence interval 
(CI=95%). How can I do that?

x<-1:100
y<-x^0.2+rnorm(100,0.1,0.1)
mod<-glm(y~log(x))
plot(y~x)
lines(predict(mod)~x,col=2)

Kind regards,

miltinho
Brazil



 para armazenamento!

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to