Theil-Sen Robust Linear Regression
版本 1.2.0.0 (2.5 KB) 作者:
Zachary Danziger
Quickly perform linear regression that is robust to outliers.
This function executes a fast version of the non-parametric Theil-Sen robust linear regression algorithm by finding the median slope between all pairwise combinations of points in a given data set.
For my application I needed to run a robust regression on large data sets (many thousands of points), but the implementations I found on the File Exchange were far too slow (see figure). This code is substantially faster, and for large data sets can be two orders of magnitude faster than those currently available.
引用格式
Zachary Danziger (2026). Theil-Sen Robust Linear Regression (https://ww2.mathworks.cn/matlabcentral/fileexchange/48294-theil-sen-robust-linear-regression), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2015a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Linear and Nonlinear Regression 的更多信息
