RegressionModel<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#
public bool Contains(
	RegressionModel<T> nestedModel
)

Parameters

nestedModel  RegressionModel<T>
A RegressionModel<T> object.

Return Value

Boolean
true 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.

See Also