Multivariable Theil-Sen Regression
Multivariable Theil-Sen regression extends the median-of-slopes idea to several predictors. Many small subsets of p + 1 rows each give an exact least-squares solution, and the estimate is the spatial median of all those solutions, so a minority of wild rows cannot drag the fit.
다변량 타일-센 회귀는 기울기 중앙값의 생각을 여러 예측변수로 넓힌 방법입니다. p + 1개 행으로 된 작은 부분집합마다 정확한 최소제곱 해를 구하고 그 해들의 공간 중앙값을 추정값으로 삼기 때문에, 일부 극단적인 행이 적합을 끌어당기지 못합니다.
How do several predictors relate to my outcome when some observations are gross outliers?
일부 관측값이 심한 이상값일 때 여러 예측변수와 결과변수의 관계를 어떻게 추정합니까?
The method returns the intercept and slopes as the spatial median of exact subset fits, percentile bootstrap intervals, the breakdown point for the number of predictors, the OLS slopes for comparison and a robust residual scale.
When to use Multivariable Theil-Sen Regression
- Outliers or contaminated rows would distort ordinary least squares.
- You have a handful of continuous predictors and want a distribution-free fit.
- You want robust slopes to compare with OLS.
When to use something else
- There is only one predictor: use Theil-Sen Regression
- Many predictors and heavy contamination: use High-Breakdown Robust Regression (MM and LTS)
- Errors are well behaved: use Robust Regression Analysis
Assumptions and requirements
- Linear relation between outcome and predictors
- Contamination below the breakdown point
- Predictors not perfectly collinear
What the analysis reports
- Intercept and slopes
- Bootstrap confidence intervals
- Breakdown point
- OLS comparison slopes
- Robust residual scale
How to report it
A multivariable Theil-Sen regression gave a slope of [value] (95% CI [value], [value]) for the first predictor.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-5.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Multivariable Theil-Sen Regression on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.