Info
此问题已关闭。 请重新打开它进行编辑或回答。
Has anyone ever applied cook's distance method on fisheriris/wine/glass or similar datasets for outlier detection? Did it work? How?
2 次查看(过去 30 天)
显示 更早的评论
load fisheriris; X = double(meas(:, 2:4)); y = meas(:,1); mdl = fitlm(X,y); k=mdl.Diagnostics.CooksDistance; find((mdl.Diagnostics.CooksDistance)>3*mean(mdl.Diagnostics.CooksDistance));
1 个评论
William Mueller
2018-5-18
There’s an application in econometrics here:
https://www.mathworks.com/help/econ/examples/time-series-regression-iii-influential-observations.html
回答(1 个)
Bernhard Suhm
2018-5-18
You can find an example for using Cook's (and related) distances to pick out unusual years in the financial history here. Not sure how much that'll help you with your project.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!