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
James Harynuk (2021). Recursive Residuals (https://www.mathworks.com/matlabcentral/fileexchange/71206-recursive-residuals), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!