You are here: Start » AVL.NET » AVS.LinearRegression Method
AVS.LinearRegression Method
Computes linear regression of given point set.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void LinearRegression ( IList<float> inYValues, out AvlNet.LinearFunction outLinearFunction, IList<float> outEstimatedValues, IList<float> outResiduals, out float outRSquared )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inYValues | System.Collections.Generic.IList<float> | Sequence of ordinates. | |||
outLinearFunction | AvlNet.LinearFunction | Linear function approximating the given point set. | |||
outEstimatedValues | System.Collections.Generic.IList<float> | The result of application of the computed function to the X values. | |||
outResiduals | System.Collections.Generic.IList<float> | Difference between an input Y value and the corresponding estimated value. | |||
outRSquared | float | Coefficient of determination of output function. |