Returns the regression parameter associated with the specified factor level.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public AnovaRegressionFactorParam GetRegressionFactorParameter( string factorName, Object factorLevel ) |
| Visual Basic (Declaration) |
|---|
Public Function GetRegressionFactorParameter ( _ factorName As String, _ factorLevel As Object _ ) As AnovaRegressionFactorParam |
| Visual C++ |
|---|
public: AnovaRegressionFactorParam^ GetRegressionFactorParameter( String^ factorName, Object^ factorLevel ) |
Parameters
- factorName
- Type: System..::.String
The name of a factor.
- factorLevel
- Type: System..::.Object
The level of the factor.
Return Value
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.