Constructs a new SimpleRegressionModel.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ data As VariableCollection, _ dependentVariable As String, _ independentVariable As String _ ) |
| C# |
|---|
public SimpleRegressionModel ( VariableCollection data, string dependentVariable, string independentVariable ) |
| C++ |
|---|
public: SimpleRegressionModel ( VariableCollection^ data, String^ dependentVariable, String^ independentVariable ) |
Parameters
- data (Extreme.Statistics.VariableCollection)
- A VariableCollection containing the data for the regression.
- dependentVariable (System.String)
- A String containing the name of the dependent variable.
- independentVariable (System.String)
- A String containing the name of the independent variable.