Documentation ¶
Overview ¶
Package regression contains a simple Thiel-Sen estimator for linear regression.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinearRegression ¶
LinearRegression returns the slope and intercept, using Thiel-Sen estimator. This is the median of the slopes defined only from pairs of points having distinct x-coordinates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.