Statistics Toolbox    

Robust Regression

In Example: Multiple Linear Regression we found an outlier when we used ordinary least squares regression to model a response as a function of five predictors. How did that outlier affect the results?

Let's estimate the coefficients using the robustfit function.

Compare these estimates to those we obtained from the regress function.

To understand why the two differ, it is helpful to look at the weight variable from the robust fit. It measures how much weight was given to each point during the fit. In this case, the first point had a very low weight so it was effectively ignored.

For another example illustrating robust fitting, see The robustdemo Demo.


  Robust and Nonparametric Methods Kruskal-Wallis Test