Represents a nonlinear regression model.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class NonlinearRegressionModel _ Inherits GeneralLinearModel |
| C# |
|---|
public class NonlinearRegressionModel : GeneralLinearModel |
| C++ |
|---|
public ref class NonlinearRegressionModel : public GeneralLinearModel |
Methods
| Icon | Type | Description |
|---|---|---|
| Compute() |
Computes the model.
| |
| ComputeModel() |
Fits the model to the data.
| |
| Contains(GeneralLinearModel) |
Returns a value that indicates whether another GeneralLinearModel is nested
within this instance.
| |
| Equals(Object) | ||
| Finalize() | ||
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetType() | Gets the Type of the current instance. | |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| Predict(Double[]()) |
Predicts the value of the dependent variable based on the specified values of the independent
variables.
| |
| Predict(Vector) |
Predicts the value of the dependent variable based on the specified values of the independent
variables.
| |
| Predict(Matrix) |
Predicts the values of the dependent variable for multiple collectionso of values
for the independent variables.
| |
| ResetComputation() |
Clears all computed model parameters.
| |
| SetAnovaModelRow(Int32, String, Double, Double) |
Sets the data of a row in the model's AnovaTable.
| |
| SetAnovaRow(AnovaRowType, String, Double, Double) |
Sets the data of a row in the model's AnovaTable.
| |
| ToString() |
Constructors
| Icon | Type | Description |
|---|---|---|
| NonlinearRegressionModelNew() |
Constructs a new NonlinearRegressionModel.
| |
| NonlinearRegressionModelNew(VariableCollection, String, String) |
Constructs a new NonlinearRegressionModel.
| |
| NonlinearRegressionModelNew(DataTable, String, String) |
Constructs a new NonlinearRegressionModel.
| |
| NonlinearRegressionModelNew(Vector, Vector) |
Constructs a new SimpleRegressionModel.
| |
| NonlinearRegressionModelNew(NumericalVariable, NumericalVariable, NonlinearCurve) |
Constructs a new NonlinearRegressionModel.
|
Properties
| Icon | Type | Description |
|---|---|---|
| AdjustedRSquared |
Gets the adjusted R Squared value for the regression.
| |
| AnovaTable |
Gets the AnovaTable that summarizes the results of this model.
| |
| BestFitParameters |
Gets a vector containing the values of the regression parameters.
| |
| Computed |
Gets a value that indicates whether the regression model has been computed.
| |
| Curve |
Gets or sets the NonlinearCurve that defines the nonlinear model.
| |
| DegreesOfFreedom |
Gets the total degrees of freedom of the data.
| |
| DependentVariable |
Gets the dependent variable for the regression model.
| |
| DependentVariables |
Gets the collection of dependent variables associated with this model.
| |
| FStatistic |
Gets the F statistic for the regression.
| |
| IndependentVariables |
Gets the collection of independent variables associated with this model.
| |
| Parameters |
Gets the collection of parameters associated with this model.
| |
| PredictedValues |
Gets a vector containing the model's predicted values for the dependent variable.
| |
| PValue |
Gets the probability corresponding to the F statistic for the regression.
| |
| Residuals |
Gets a vector containing the residuals of the model.
| |
| ResidualSumOfSquares |
Gets the sum of squares of the residuals of the model.
| |
| RSquared |
Gets the R Squared value for the regression.
| |
| StandardError |
Gets the standard error of the regression.
| |
| WeightVector |
Gets or sets the weights of the observations in this
model.
|
Remarks
Use the NonlinearRegressionModel class to analyze a nonlinear relationship between
two or more numerical variables. A nonlinear regression model tries to express one variable, called the
dependent variable, as a function of one or more other variables called independent variables
or predictors.
The nonlinear model is specified in the form of a NonlinearCurve.