Returns the regression parameter associated with the specified interaction.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public AnovaRegressionInteractionParam GetRegressionInteractionParameter(
	string factorAName,
	Object factorALevel,
	string factorBName,
	Object factorBLevel
)
Visual Basic (Declaration)
Public Function GetRegressionInteractionParameter ( _
	factorAName As String, _
	factorALevel As Object, _
	factorBName As String, _
	factorBLevel As Object _
) As AnovaRegressionInteractionParam
Visual C++
public:
AnovaRegressionInteractionParam^ GetRegressionInteractionParameter(
	String^ factorAName, 
	Object^ factorALevel, 
	String^ factorBName, 
	Object^ factorBLevel
)

Parameters

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

Return Value

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