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: 3.1.0.0 (3.1.0.0)
Syntax
public FitResult PolynomialRegression(
	int m
)

Parameters

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

Return Value

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