Polynomial Regression Model Constructor
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
PolynomialRegressionModel(Vector<Double>, Vector<Double>, Int32)
Constructs a new PolynomialRegressionModel.
public PolynomialRegressionModel(
Vector<double> dependentVariable,
Vector<double> independentVariable,
int degree
)
Parameters
Exceptions
ArgumentNullException | dependentVariable is null.
-or- independentVariable is null. |
PolynomialRegressionModel(IDataFrame, String, String, Int32)
Constructs a new PolynomialRegressionModel.
public PolynomialRegressionModel(
IDataFrame dataFrame,
string dependentVariableName,
string independentVariableName,
int degree
)
Parameters
- dataFrame IDataFrame
- A IDataFrame containing the data for the regression.
- dependentVariableName String
- The name of the dependent variable.
- independentVariableName String
- An array containing the names of the independent variable.
- degree Int32
- The degree of the regression polynomial.