| TwoWayAnovaGetRegressionInteractionParameter Method |
Returns the regression parameter associated with the specified interaction.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public AnovaRegressionInteractionParam GetRegressionInteractionParameter(
string factorAName,
Object factorALevel,
string factorBName,
Object factorBLevel
)
Public Function GetRegressionInteractionParameter (
factorAName As String,
factorALevel As Object,
factorBName As String,
factorBLevel As Object
) As AnovaRegressionInteractionParam
public:
AnovaRegressionInteractionParam^ GetRegressionInteractionParameter(
String^ factorAName,
Object^ factorALevel,
String^ factorBName,
Object^ factorBLevel
)
member GetRegressionInteractionParameter :
factorAName : string *
factorALevel : Object *
factorBName : string *
factorBLevel : Object -> AnovaRegressionInteractionParam
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
AnovaRegressionInteractionParamRegression 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