Regression Model<T>.Contains Method
Returns whether another RegressionModel<T> is nested
within this instance.
Definition
Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if nestedModel is nested within this model; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public bool Contains(
RegressionModel<T> nestedModel
)
Parameters
- nestedModel RegressionModel<T>
- A RegressionModel<T> object.
Return Value
Booleantrue if nestedModel is nested within this model; otherwise false.
Remarks
A model is nested within another model if all independent variables used in the nested model are also used in the parent model. If the parent model has an intercept, then the nested model must also have an intercept.