You are here: Start » AVL.NET » Function Reference » Data Classification » Regression Analysis » AVL.QuadraticRegression

AVL.QuadraticRegression

Computes quadratic regression of given point set.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void QuadraticRegression
(
	IList<float> inYValues,
	NullableRef<IList<float>> inXValues,
	out AvlNet.QuadraticFunction outQuadraticFunction,
	IList<float> outEstimatedValues,
	IList<float> outResiduals,
	out float outRSquared
)

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.
outQuadraticFunctionAvlNet.QuadraticFunctionQuadratic 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.
outRSquaredfloatCoefficient of determination of output function.

Errors

List of possible exceptions:

Error type Description
DomainError Inconsistent size of arrays in QuadraticRegression.

Function Overrides

See also