Click or drag to resize

BivariateSamplePolynomialRegression Method

Computes the polynomial of given degree which best fits the data.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public PolynomialRegressionResult PolynomialRegression(
	int m
)

Parameters

m
Type: SystemInt32
The degree, which must be non-negative.

Return Value

Type: PolynomialRegressionResult
The fit result.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionm is negative.
InsufficientDataExceptionThere are fewer data points than coefficients to be fit.
See Also