remove outlier in large data

18 vues (au cours des 30 derniers jours)
azar mzory
azar mzory le 10 Jan 2014
Modifié(e) : azar mzory le 13 Avr 2014
my question how to find outlier in matlab explain by code and example ? and how many methods ? how to find outlier?

Réponse acceptée

Image Analyst
Image Analyst le 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 commentaires
azar mzory
azar mzory le 12 Jan 2014
how i want to check all columns one by one cuz some columns have words should be neglect how many ways to find outlier in big text data ? it is not clear any code
Image Analyst
Image Analyst le 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by