From RESIDUALs to STANDARDIZED RESIDUALs

20 views (last 30 days)
Maty
Maty on 18 Jul 2013
Commented: Ones ghaffari on 4 Dec 2021
Hi all, if "A" is a "residuals vector" how can I get the standardized residuals?
Thanks in advance for your consideration and any help! Maty
  1 Comment
Ones ghaffari
Ones ghaffari on 4 Dec 2021
it depends on the type of your regression model. if it is non linear you can get directly the standardized residuals using first Fitnlm function https://www.mathworks.com/help/stats/fitnlm.html
and then:
r = mdl.Residuals.Standardized

Sign in to comment.

Answers (1)

Shashank Prasanna
Shashank Prasanna on 18 Jul 2013
There is the definition:
Standardized residuals are raw residuals divided by their estimated standard deviation.
  2 Comments
Maty
Maty on 19 Jul 2013
Thanks but the problem is the syntax
Shashank Prasanna
Shashank Prasanna on 19 Jul 2013
could you elaborate? what have you tried? There formula is right there, you just need to divide the residuals by the standard deviation. What do you need help with?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!