Re: [R] plotting confidence bands from predict.nls

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Sun, 08 May 2011 16:32:44 +0200

Much quicker than asking for help on the list is to read the help file (which you have been asked to do in the posting guide you hopefully read).

?predict.nls tells us:

"interval A character string indicating if prediction intervals or a confidence interval on the mean responses are to be calculated. At present this argument is ignored."

Best,
Uwe Ligges

On 07.05.2011 06:17, Penny Bilton wrote:
> I am trying to find a confidence band for a fitted non-linear curve. I
> see that the predict.nls function has an interval argument, but a
> previous post indicates that this argument has not been implemented. Is
> this still true? I have tried various ways to extract the interval
> information from the model object without success. My code is:
>
> Model.predict <- predict(My.nls.model, se.fit=TRUE, interval =
> "confidence", level = 0.95) ,
>
> where My.nls.model is an nls object, I was able to extract the
> predictions okay.
>
>
> Thank you for your help.
> Penny.
>
> ______________________________________________
> 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.



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. Received on Sun 08 May 2011 - 14:36:00 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 08 May 2011 - 15:15:06 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.

list of date sections of archive