Theil–Sen trend estimate A non-parametric method of trend for robustly fitting a line to a set of points that chooses the median of the slopes of all lines through pairs of two-dimensional sample points. Reference: wikipedia