Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I evaluate the result of robust regression?

1 次查看(过去 30 天)
Hello ALL!
I used nlinfit() to do the regression, but some of my input data is abnormal.Then I switch option.Robust to 'On'. I seems the result quite good.But how can I evaluate the result without R-square(the definition of R-square in Robust regression seems inapplicability[http://www.mathworks.cn/matlabcentral/newsreader/view_thread/317948])?
If there is a INDEX can prove the result of robust regression is better than the ordinary regression, that maybe the best! Thanks for your reading!

回答(1 个)

Roger Wohlwend
Roger Wohlwend 2014-5-21
It is true, you cannot calculation the R-square of the robust regression, but you can do something similar: I would use the weights the algorithm assigns to each data point to exclude the outliers - just define a threshold, say 0.1, if the weight is smaller, ignore the data point - and calculate the R-square of the remaining data points.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by