isoutlier
Find outliers in data
Syntax
Description
returns a
logical array whose elements are TF
= isoutlier(A
)true
when an outlier is detected
in the corresponding element of A
.
If
A
is a matrix, thenisoutlier
operates on each column ofA
separately.If
A
is a multidimensional array, thenisoutlier
operates along the first dimension ofA
whose size does not equal 1.If
A
is a table or timetable, thenisoutlier
operates on each variable ofA
separately.
By default, an outlier is a value that is more than three scaled median absolute deviations (MAD) from the median.
You can use isoutlier
functionality interactively by adding
the Clean Outlier
Data task to a live script.
specifies additional parameters for detecting outliers using one or more name-value
arguments. For example, TF
= isoutlier(___,Name,Value
)isoutlier(A,"SamplePoints",t)
detects
outliers in array A
relative to the corresponding elements of a
time vector t
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Alternative Functionality
Live Editor Task
You can use isoutlier
functionality interactively by adding
the Clean Outlier
Data task to a live script.
References
[1] NIST/SEMATECH e-Handbook of Statistical Methods, https://www.itl.nist.gov/div898/handbook/, 2013.
Extended Capabilities
Version History
Introduced in R2017aSee Also
Functions
rmoutliers
|isbetween
|ischange
|islocalmax
|islocalmin
|filloutliers
|ismissing