Robustfit for non-normal data
2 views (last 30 days)
Show older comments
I am using robust fit for some non-normal data that has some extreme data points. A few queries. 1) For robust regression is it a requirement (like OLS) to have a normal distribution of residuals? I can see that the robustfit residuals differ slightly from OLS but they are very similar whichever tuning/weight function is utilised. 2) If not (Q1) how do I evaluate whether using robust fit has corrected for departures of normality/extreme data points?
Many thanks in advance.
0 Comments
Accepted Answer
the cyclist
on 28 Mar 2018
It is not a requirement that residuals from a robust regression be normally distributed. On the contrary, robust regression techniques would typically be used only if outliers are violating the assumption of normally distributed residuals.
I'm not an expert on these techniques, but I guess that one way to get a handle on whether the robust fit is "doing what it claims to do" is by looking at how much the algorithm is down-weighting the outlier observations. You can see the observation weighting in the output stats.w when you call
[b,stats] = robustfit(...)
2 Comments
the cyclist
on 3 Apr 2018
That one I am not too sure about. I'd need to do some google searching, which it sounds like you'd be as qualified to do. :-)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!