[R] Need help in calculating studentized residuals/leverage values of non-linear model [nls()]

rkevinburton at charter.net rkevinburton at charter.net
Mon Apr 6 21:39:07 CEST 2009


Is the output of residuals() the studentized residuals or just the residuals?

---- Dieter Menne <dieter.menne at menne-biomed.de> wrote: 
> Giam Xingli <giam <at> nus.edu.sg> writes:
> 
> >    I hope I can get advice regarding the calculation of leverage values or
> >    studentized residual values of a non-linear regression model. It seems like
> >    rstudent() does not work on a nls object.
> 
> residuals() should work for nls.
> 
> Dieter
> 
> ______________________________________________
> 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.




More information about the R-help mailing list