QuadraticRegression
Computes quadratic regression of given point set.
Syntax
C++
C#
Python
def QuadraticRegression( inYValues: list[float], /, *, inXValues: list[float] | None = None ) -> ( outQuadraticFunction: QuadraticFunction, outEstimatedValues: list[float], outResiduals: list[float], outRSquared: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inYValues | list[float] | Sequence of ordinates | |
![]() |
inXValues | list[float] | None | None | Sequence of abscissae, or {0, 1, 2, ...} by default |
![]() |
outQuadraticFunction | QuadraticFunction | Quadratic function approximating the given point set | |
![]() |
outEstimatedValues | list[float] | The result of application of the computed function to the X values | |
![]() |
outResiduals | list[float] | Difference between an input Y value and the corresponding estimated value | |
![]() |
outRSquared | float | Coefficient of determination of output function |


