Outliers
Version 1.0.0.0 (1.69 KB) by
Niccolo Battistini
Create vectors of outliers and non-outliers according to either Grubbs or Interquartile range method
Given a column vector X of data points, this function creates two vectors, one with non-outliers, Y, and one with outliers, out.
The user can choose one of two different methods, either Grubbs' test statistic or the interquartile range method.
The user can also choose the degree of strictness when removing outliers. In both methods, the degree of strictness is negatively related to the parameter alpha (i.e. the higher alpha, the fewer the outliers that are identified and removed).
Cite As
Niccolo Battistini (2026). Outliers (https://www.mathworks.com/matlabcentral/fileexchange/35048-outliers), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Descriptive Statistics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
