Theil-Sen Regression with intercept

Based on Arnout Tilgenkamp's Theil_Sen_Regress function, but will determine slope as well as intercept
Updated 13 Apr 2019

View License

Super fast and simple Theil-Sen regression. Based on Arnout Tilgenkamp's Theil_Sen_Regress function from 2011. Major difference is that this one returns both a slope and intercept. The original function forced through 0,0 and did not return an intercept.

Cite As

James Harynuk (2024). Theil-Sen Regression with intercept (, 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

Figured out how to add in acknowledgements. No changes to code, just the contribution page.