ModelTerm.Interaction Method

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Interaction(ModelTerm[]) Creates an interaction between multiple terms.
Interaction(ModelTerm, ModelTerm) Creates an interaction between two terms.

Interaction(ModelTerm[])

Creates an interaction between multiple terms.
C#
public static ModelTerm Interaction(
	params ModelTerm[] terms
)

Parameters

terms  ModelTerm[]
A param array of terms.

Return Value

ModelTerm
A model term that represents the interaction.

Remarks

The type of model term that is returned depends on the number of terms in the actual interaction. Constant terms are never included in the interaction. If the same categorical term occurs multiple times, it is only included once in the interaction.

Interaction(ModelTerm, ModelTerm)

Creates an interaction between two terms.
C#
public static ModelTerm Interaction(
	ModelTerm left,
	ModelTerm right
)

Parameters

left  ModelTerm
The first term.
right  ModelTerm
The second term.

Return Value

ModelTerm
A model term that represents the interaction between left and right.

Remarks

The type of model term that is returned depends on the number of terms in the actual interaction. Constant terms are never included in the interaction. If the same categorical term occurs multiple times, it is only included once in the interaction.

See Also