| TwoWayAnovaGetRegressionFactorParameter Method |
Returns the regression parameter associated with the specified factor level.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public AnovaRegressionFactorParam GetRegressionFactorParameter(
string factorName,
Object factorLevel
)
Public Function GetRegressionFactorParameter (
factorName As String,
factorLevel As Object
) As AnovaRegressionFactorParam
public:
AnovaRegressionFactorParam^ GetRegressionFactorParameter(
String^ factorName,
Object^ factorLevel
)
member GetRegressionFactorParameter :
factorName : string *
factorLevel : Object -> AnovaRegressionFactorParam
Parameters
- factorName String
- The name of a factor.
- factorLevel Object
- The level of the factor.
Return Value
AnovaRegressionFactorParamRegression 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