Nonlinear Regression Model Constructor
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
NonlinearRegressionModel(Vector<Double>, Vector<Double>)
Constructs a new SimpleRegressionModel.
public NonlinearRegressionModel(
Vector<double> dependentData,
Vector<double> independentData
)
Parameters
Remarks
The columns
Exceptions
Argument | dependentData is null. -or- independentData is null. |
NonlinearRegressionModel(IDataFrame, String, String)
Constructs a new NonlinearRegressionModel.
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.
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
Argument | dependentVariable is null. -or- independentVariable is null. -or- curve is null. |