BivariateSamplePolynomialRegression Method

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

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public PolynomialRegressionResult PolynomialRegression(
	int m
)

Parameters

m  Int32
The degree, which must be non-negative.

Return Value

PolynomialRegressionResult
The fit result.

Exceptions

ArgumentOutOfRangeExceptionm is negative.
InsufficientDataExceptionThere are fewer data points than coefficients to be fit.

See Also