robslopes
Fast Algorithms for Robust Slopes

Fast algorithms for the Theil-Sen estimator, Siegel's repeated median slope estimator, and Passing-Bablok regression. The implementation is based on algorithms by Dillencourt et. al (1992) <doi:10.1142/S0218195992000020> and Matousek et. al (1998) <doi:10.1007/PL00009190>. The implementations are detailed in Raymaekers (2023) <doi:10.32614/RJ-2023-012> and Raymaekers J., Dufey F. (2022) <doi:10.48550/arXiv.2202.08060>. All algorithms run in quasilinear time.

Released on 2025-12-19 15:20:08 UTC

License

GitHub