Model Term.Interaction Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Interaction(ModelTerm[]) | Creates an interaction between multiple terms. |
Interaction( | Creates an interaction between two terms. |
Interaction(ModelTerm[])
public static ModelTerm Interaction(
params ModelTerm[] terms
)
Parameters
- terms ModelTerm[]
- A param array of terms.
Return Value
ModelTermA 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)
public static ModelTerm Interaction(
ModelTerm left,
ModelTerm right
)
Parameters
Return Value
ModelTermA 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.