Click or drag to resize

TwoWayAnovaGetRegressionInteractionParameter Method

Returns the regression parameter associated with the specified interaction.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public AnovaRegressionInteractionParam GetRegressionInteractionParameter(
	string factorAName,
	Object factorALevel,
	string factorBName,
	Object factorBLevel
)

Parameters

factorAName  String
The name of the first factor.
factorALevel  Object
The level for the first factor.
factorBName  String
The name of the second factor.
factorBLevel  Object
The level for the second factor.

Return Value

AnovaRegressionInteractionParam
Regression parameter information for the specified interaction, if the specified interaction has a regression parameter associated with it; otherwise, null.
Remarks
To construct the linear regression used to compute the two way ANOVA, the effects encoding method is used for the dummy regression variables. This means that if there are n different levels for the first factor and m different levels for the second factor, there are (n-1) * (m-1) dummy variables corresponding to the interactions. Hence, some interactions do have a dummy variable associated with them in the linear regression, and a null reference may be returned even though valid interactions are specified.
See Also