Constructs a new LinearRegressionModel.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	data As VariableCollection, _
	dependentVariable As String, _
	independentVariables As String() _
)
C#
public LinearRegressionModel (
	VariableCollection data,
	string dependentVariable,
	string[] independentVariables
)
C++
public:
LinearRegressionModel (
	VariableCollection^ data, 
	String^ dependentVariable, 
	array<String^>^ independentVariables
)

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.
independentVariables ()
A String array containing the names of the independent variable.