Constructs a new PolynomialRegressionModel.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ data As VariableCollection, _ dependentVariableName As String, _ independentVariableName As String, _ degree As Integer _ ) |
| C# |
|---|
public PolynomialRegressionModel ( VariableCollection data, string dependentVariableName, string independentVariableName, int degree ) |
| C++ |
|---|
public: PolynomialRegressionModel ( VariableCollection^ data, String^ dependentVariableName, String^ independentVariableName, int degree ) |
Parameters
- data (Extreme.Statistics.VariableCollection)
- A VariableCollection containing the data for the regression.
- dependentVariableName (System.String)
- A String containing the name of the dependent variable.
- independentVariableName (System.String)
- A String array containing the names of the independent variable.
- degree (System.Int32)
- The degree of the regression polynomial.