isoutlier
Find outliers in numeric data.
📝Syntax
TF = isoutlier(A)
TF = isoutlier(A, method)
TF = isoutlier(A, 'percentiles', threshold)
TF = isoutlier(A, movmethod, window)
TF = isoutlier(..., dim)
TF = isoutlier(..., Name, Value)
[TF, L, U, C] = isoutlier(...)
📄Description

isoutlier returns a logical array that marks elements detected as outliers.

The supported methods are median, mean, quartiles, percentiles, grubbs, gesd, movmedian, and movmean. Numeric NaN values are omitted from threshold estimation and are not marked as outliers.

Name-value arguments include ThresholdFactor, MaxNumOutliers, and SamplePoints. The additional outputs contain the lower threshold, upper threshold, and center value.

💡Examples
A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57];
TF = isoutlier(A)
A = [60 59 49 49 58 100 61 57 48 58];
[TF, L, U, C] = isoutlier(A, 'median')
A = [1 1 100 1 1];
t = [1 2 100 101 102];
TF = isoutlier(A, 'movmedian', 3, 'SamplePoints', t)
🔗See Also
medianmeaniqrzscore
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub