You are here: Start » FIL.NET » Invoke.LinearRegression_TheilSen

Invoke.LinearRegression_TheilSen

Computes linear regression of given point set using TheilSen algorithm.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void LinearRegression_TheilSen
(
	List<float> inYValues,
	Optional<List<float>> inXValues,
	Fil.TheilSenVariant inVariant,
	out Fil.LinearFunction outLinearFunction,
	List<float> outEstimatedValues,
	List<float> outResiduals
)

Parameters

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

See also