Hi there, 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. Many thanks in advance! Best regards, Xingli
Need help in calculating studentized residuals/leverage values of non-linear model [nls()]
4 messages · Giam Xingli, rkevinburton at charter.net, Dieter Menne
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
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.
<rkevinburton <at> charter.net> writes:
Is the output of residuals() the studentized residuals or just the residuals?
As the name says, studentizing is left as an easy student exercise. Destudentizing is more difficult and usually called professorizing. Dieter