[R] Plotting the regression curve with its confidence interval

David Winsemius dwinsemius at comcast.net
Sun Nov 11 08:54:46 CET 2012


On Nov 10, 2012, at 11:48 PM, Осипов Денис wrote:

> Yes, but it says that arguments, that could help me, now isn't implemented.

I think the authors might have had their reasons for leaving it out. There have been quite a few threads ofver the years discussing why it is not a straightforward task to define a confidence interval. Do you have a particular approach that is acceptable in your domain of investigation?

> 
> 
>> Hello.
>> 
>> How can I plot the regression curve with its confidence interval?
>> I use nls(y~a*x^b), then plot(x,y), add curve with lines(x,predict(nls(y~a*x^b))). But I can't add to plot CI for my curve.
> 
>> Have your read:
>> 
>> ?predict.nls  # ?
>> 
>> David Winsemius, MD
>> Alameda, CA, USA

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list