NonlinearRegressionModel Constructor

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

NonlinearRegressionModel(Vector<Double>, Vector<Double>)

Constructs a new SimpleRegressionModel.
C#
public NonlinearRegressionModel(
	Vector<double> dependentData,
	Vector<double> independentData
)

Parameters

dependentData  Vector<Double>
A vector that contains the data for the dependent variable.
independentData  Vector<Double>
A vector that contains the data for the independent variable.

Remarks

The columns

Exceptions

ArgumentNullException

dependentData is null.

-or-

independentData is null.

NonlinearRegressionModel(IDataFrame, String, String)

Constructs a new NonlinearRegressionModel.
C#
public NonlinearRegressionModel(
	IDataFrame data,
	string dependentVariable,
	string independentVariable
)

Parameters

data  IDataFrame
A data frame containing the data for the regression.
dependentVariable  String
The name of the dependent variable.
independentVariable  String
A String containing the name of the independent variable.

NonlinearRegressionModel(Vector<Double>, Vector<Double>, NonlinearCurve)

Constructs a new NonlinearRegressionModel.
C#
public NonlinearRegressionModel(
	Vector<double> dependentVariable,
	Vector<double> independentVariable,
	NonlinearCurve curve
)

Parameters

dependentVariable  Vector<Double>
A vector that specifies the dependent variable.
independentVariable  Vector<Double>
A vector that specifies the independent variables.
curve  NonlinearCurve
A NonlinearCurve object that represents the nonlinear model that is to be fitted.

Exceptions

ArgumentNullException

dependentVariable is null.

-or-

independentVariable is null.

-or-

curve is null.

See Also