Recursive Residuals

This function is an implementation of the recursive residuals method for detecting outliers in linear regression.
29 Downloads
Updated 15 Jan 2021

View License

This function is an implementation of the recursive residuals method for detecting outliers in linear regression, based on F. Kianifard and W.H. Swallow's paper in Biometrics, 1989 45, 571.

While MATLAB has some functions which "detect outliers" the documentation is not necessarily clear on the methods are used.

This works on a set of paired x-y data which are assumed to follow the line y = mx+b

Cite As

James Harynuk (2024). Recursive Residuals (https://www.mathworks.com/matlabcentral/fileexchange/71206-recursive-residuals), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.1

Fixed error in reporting number of discordant points tested in the case when no outliers found.

1.2

Fixed bug where code did not work when only one potential outlier present and in small data sets. Also cleaned up the possible outlier testing code.

1.0.0