Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Has anyone ever applied cook's distance method on fisheriris/wine/glass or similar datasets for outlier detection? Did it work? How?

1 visualizzazione (ultimi 30 giorni)
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 Commento
William Mueller
William Mueller il 18 Mag 2018
There’s an application in econometrics here:
https://www.mathworks.com/help/econ/examples/time-series-regression-iii-influential-observations.html

Risposte (1)

Bernhard Suhm
Bernhard Suhm il 18 Mag 2018
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.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by