Click or drag to resize

TwoWayAnovaGetRegressionFactorParameter Method

Returns the regression parameter associated with the specified factor level.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public AnovaRegressionFactorParam GetRegressionFactorParameter(
	string factorName,
	Object factorLevel
)

Parameters

factorName  String
The name of a factor.
factorLevel  Object
The level of the factor.

Return Value

AnovaRegressionFactorParam
Regression parameter information for the given factor level, if the specified factor level 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 a factor has n different levels there are n-1 dummy variables corresponding to that factor. Hence, one level does not have a dummy variable associated with it in the linear regression, and a null reference may be returned even though a valid factor level is specified.
See Also