RegressionModel<T>.Contains Method

Returns whether another RegressionModel<T> is nested within this instance.

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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