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

From: Laurent Rhelp <LaurentRHelp_at_free.fr>
Date: Sun, 08 May 2011 17:11:40 +0200

Le 07/05/2011 06:17, Penny Bilton a écrit :
> 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.
>
You can use the bootstrap methodology using the predicted values assessed through the N replications.



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 - 15:14:12 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