You are here: Start » AVL.NET » AVS.LinearRegression_TheilSen Method

AVS.LinearRegression_TheilSen Method

Computes linear regression of given point set using TheilSen algorithm.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LinearRegression_TheilSen
(
	IList<float> inYValues,
	NullableRef<IList<float>> inXValues,
	AvlNet.TheilSenVariant inVariant,
	out AvlNet.LinearFunction outLinearFunction,
	IList<float> outEstimatedValues,
	IList<float> outResiduals
)

Parameters

Name Type Range Default Description
inYValuesSystem.Collections.Generic.IList<float>Sequence of ordinates.
inXValuesAvlNet.NullableRef<System.Collections.Generic.IList<float>>Sequence of abscissae, or {0, 1, 2, ...} by default. Default value: atl::NIL.
inVariantAvlNet.TheilSenVariantSwitches between Theil-Sen and Siegel methods.
outLinearFunctionAvlNet.LinearFunctionLinear function approximating the given point set.
outEstimatedValuesSystem.Collections.Generic.IList<float>The result of application of the computed function to the X values.
outResidualsSystem.Collections.Generic.IList<float>Difference between an input Y value and the corresponding estimated value.

Function Overrides

See also