Methods · Regression · Method comparison regression

Theil-Sen Regression

Theil-Sen regression estimates the slope of a straight line as the median of the slopes between all pairs of points, giving a robust, distribution-free alternative to least squares.

Theil-Sen 회귀는 모든 점 쌍 사이 기울기의 중앙값으로 직선의 기울기를 추정하는, 이상값에 강한 비모수 회귀입니다.

A few outliers are dragging my regression line; is there a robust way to estimate the trend between two variables?

몇 개의 이상값이 회귀선을 끌어당기는데, 두 변수의 추세를 강건하게 추정하는 방법이 있나요?

Theil-Sen regression takes the median of all pairwise slopes, so up to about 29 percent of the points can be outliers without breaking the estimate. Its significance is assessed with Kendall's tau, and a nonparametric confidence interval is available for the slope.

When to use Theil-Sen Regression

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Theil-Sen slope of [outcome] on [predictor] was [value] units per unit, 95% CI [[value], [value]] (Kendall's τ = [value], p = [value], n = [value]).

Related methods

Run Theil-Sen Regression on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
Checking
Checked by property tests in every deployment
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q21029 · Reviewed 2026-10-25