chauvenet(x)

Applies Chauvenet criterion to reject outliers
685 Downloads
Updated 11 Jul 2018

View License

A little program that inputs a column or row vector of data and outputs: a column vector of data to which Chauvenet's criterion has been applied and outliers rejected; the rejected outliers; and, the indexes of the rejected outliers.

Cite As

Rod Letchford (2026). chauvenet(x) (https://au.mathworks.com/matlabcentral/fileexchange/60248-chauvenet-x), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
2.1.0.0

Changed line 17 to "if abs(tau(n)) < chauv" to check for the lower bound as well.

2.0.0.0

Fixed one line of syntax for MATLAB

1.0.0.0

value of tau needs to be absolute: tau = abs((x.-mean(x))./std(x));

Added link to reference on which function is based.