Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I evaluate the result of robust regression?

1 回表示 (過去 30 日間)
Hui
Hui 2014 年 5 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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