How is the Theil-Sen estimator used in statistics?

How is the Theil-Sen estimator used in statistics?

In non-parametric statistics, the Theil–Sen estimator is a method for robustly fitting a line to sample points in the plane (simple linear regression) by choosing the median of the slopes of all lines through pairs of points.

How to use Theil-Sen robust estimator for simple linear?

The idea behind the estimator is simple. If the data contains N pairs of (x, y) values, compute all the slopes between pairs of points and choose the median as the estimate of the regression slope. Using that slope, pass a line through each pair of (x,y) values to obtain N intercepts.

Is the slope estimate of Theil Sen unbiased?

The slope estimate is unbiased and the process is resistant to outliers. The adjacent scatter plot shows the Theil-Sen regression line for nine data points. The seven data points that appear to fall along the regression line were used by Sen (1968).

Is the Theil-Sen estimator equivariant under every linear transformation?

The Theil–Sen estimator is equivariant under every linear transformation of its response variable, meaning that transforming the data first and then fitting a line, or fitting a line first and then transforming it in the same way, both produce the same result.

Which is Theil-Sen estimator for two dimensional slopes?

As defined by Theil (1950), the Theil–Sen estimator of a set of two-dimensional points (xi,yi) is the median m of the slopes (yj − yi)/ (xj − xi) determined by all pairs of sample points. Sen (1968) extended this definition to handle the case in which two data points have the same x coordinate.

What does the dashed green line in Theil-Sen estimator mean?

The dashed green line represents the ground truth from which the samples were generated. In non-parametric statistics, the Theil–Sen estimator is a method for robustly fitting a line to sample points in the plane ( simple linear regression) by choosing the median of the slopes of all lines through pairs of points.