| TwoWayAnovaUnbalancedMakeFactorParameters(Factor, DoubleVector, LinearRegression, Int32, Int32) Method |
Create the array of AnovaRegressionFactorParam objects, one for each
regression dummy variable. The sums of squares for each of these
parameters is assumed to have been computed are are stored in the
DoubleVector instance variable parameterSumsOfSquares with
the parameters for factor A first, followed by the parameters for
factor B and starting at the given index.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected AnovaRegressionFactorParam[] MakeFactorParameters(
Factor factor,
DoubleVector sumOfSquares,
LinearRegression lr,
int factorStartIndex,
int numFactorParameters
)
Protected Function MakeFactorParameters (
factor As Factor,
sumOfSquares As DoubleVector,
lr As LinearRegression,
factorStartIndex As Integer,
numFactorParameters As Integer
) As AnovaRegressionFactorParam()
protected:
array<AnovaRegressionFactorParam^>^ MakeFactorParameters(
Factor^ factor,
DoubleVector^ sumOfSquares,
LinearRegression^ lr,
int factorStartIndex,
int numFactorParameters
)
member MakeFactorParameters :
factor : Factor *
sumOfSquares : DoubleVector *
lr : LinearRegression *
factorStartIndex : int *
numFactorParameters : int -> AnovaRegressionFactorParam[]
Parameters
- factor Factor
- Creating params for this factor.
- sumOfSquares DoubleVector
- Array of sums of sqares for all parameters.
- lr LinearRegression
- Linear regression.
- factorStartIndex Int32
- Index into sum of squares array where the factor.
- numFactorParameters Int32
- The number of factors.
Return Value
AnovaRegressionFactorParamThe array of AnovaRegressionFactorParam's
See Also