QuadraticRegression_M
Computes quadratic regression of given point set using selected M-estimator for outlier suppression.
Syntax
C++
C#
Python
def QuadraticRegression_M( inYValues: list[float], /, *, inXValues: list[float] | None = None, inOutlierSuppression: MEstimator = MEstimator.Huber, inClippingFactor: float = 2.5, inIterationCount: int = 5, inInitialQuadraticFunction: QuadraticFunction | None = None ) -> ( outQuadraticFunction: QuadraticFunction, outEstimatedValues: list[float], outResiduals: list[float], outYInliers: list[float], outXInliers: list[float] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inYValues | list[float] | Sequence of ordinates | ||
![]() |
inXValues | list[float] | None | None | Sequence of abscissae, or {0, 1, 2, ...} by default | |
![]() |
inOutlierSuppression | MEstimator | MEstimator.Huber | ||
![]() |
inClippingFactor | float | 0.675 - 6.0 | 2.5 | Multitude of standard deviation within which points are considered inliers |
![]() |
inIterationCount | int | 0 - ![]() |
5 | Number of iterations of outlier suppressing algorithm |
![]() |
inInitialQuadraticFunction | QuadraticFunction | None | None | Initial approximation of the output quadratic function (if available) | |
![]() |
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 | ||
![]() |
outYInliers | list[float] | Coordinate of the inlying points of the best parabola | ||
![]() |
outXInliers | list[float] | Coordinate of the inlying points of the best parabola |



