remove outlier in large data
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
azar mzory
am 10 Jan. 2014
Bearbeitet: azar mzory
am 13 Apr. 2014
my question how to find outlier in matlab explain by code and example ? and how many methods ? how to find outlier?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 11 Jan. 2014
Try this:
% data = the variable name of your array
stdDev = std(data(:)) % Compute standard deviation
meanValue = mean(data(:)) % Compute mean
zFactor = 1.5; % or whatever you want.
% Create a binary map of where outliers live.
outliers = abs(data-meanValue) > (zFactor * stdDev);
4 Kommentare
Image Analyst
am 15 Jan. 2014
I don't know how to define outliers in text (words). For example, in this comment that you're reading now, which of the words are "outliers" and why?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Preprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!