Constructs a new PolynomialRegressionModel.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	dependentData As Double(), _
	independentData As Double(), _
	degree As Integer _
)
C#
public PolynomialRegressionModel (
	double[] dependentData,
	double[] independentData,
	int degree
)
C++
public:
PolynomialRegressionModel (
	array<double>^ dependentData, 
	array<double>^ independentData, 
	int degree
)

Parameters

dependentData ()
A Double array that contains the data for the dependent variable.
independentData ()
A Double array that contains the data for the independent variable.
degree (System.Int32)
The degree of the regression polynomial.