You are here: Start » AVL.NET » Invoke.LinearRegression_TheilSen
Computes linear regression of given point set using TheilSen algorithm.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void LinearRegression_TheilSen ( List<float> inYValues, Optional<List<float>> inXValues, Avl.TheilSenVariant inVariant, out Avl.LinearFunction outLinearFunction, List<float> outEstimatedValues, List<float> outResiduals )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inYValues | System.Collections.Generic.List<float> | Sequence of ordinates. | ||
![]()  | inXValues | Atl.Optional<System.Collections.Generic.List<float>> | Sequence of abscissae, or {0, 1, 2, ...} by default. Default value: atl::NIL. | ||
![]()  | inVariant | Avl.TheilSenVariant | Switches between Theil-Sen and Siegel methods. | ||
![]()  | outLinearFunction | Avl.LinearFunction | Linear function approximating the given point set. | ||
![]()  | outEstimatedValues | System.Collections.Generic.List<float> | The result of application of the computed function to the X values. | ||
![]()  | outResiduals | System.Collections.Generic.List<float> | Difference between an input Y value and the corresponding estimated value. | 


