| TwoWayAnovaUnbalancedIncrementalSumOfSquares(DoubleMatrix, Int32, DoubleVector, Double, Factor, AnovaRegressionFactorParam) Method |
Computes the incremental sum of squares when adding numParameters
to the regression model. The columns corresponding these parameters are
assumed to be the last numParameter columns in the given regression
matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected double IncrementalSumOfSquares(
DoubleMatrix regressionMatrix,
int numParameters,
DoubleVector observations,
double ybar,
Factor factor,
out AnovaRegressionFactorParam[] factorParameters
)
Protected Function IncrementalSumOfSquares (
regressionMatrix As DoubleMatrix,
numParameters As Integer,
observations As DoubleVector,
ybar As Double,
factor As Factor,
<OutAttribute> ByRef factorParameters As AnovaRegressionFactorParam()
) As Double
protected:
double IncrementalSumOfSquares(
DoubleMatrix^ regressionMatrix,
int numParameters,
DoubleVector^ observations,
double ybar,
Factor^ factor,
[OutAttribute] array<AnovaRegressionFactorParam^>^% factorParameters
)
member IncrementalSumOfSquares :
regressionMatrix : DoubleMatrix *
numParameters : int *
observations : DoubleVector *
ybar : float *
factor : Factor *
factorParameters : AnovaRegressionFactorParam[] byref -> float
Parameters
- regressionMatrix DoubleMatrix
- The regression matrix used to compute the
regression.
- numParameters Int32
- The number of parameters added to the regression
matrix as the last columns.
- observations DoubleVector
- The regression observations (y-values).
- ybar Double
- The mean of the observations.
- factor Factor
- The name of the factor corresponding to the added
regression parameters
- factorParameters AnovaRegressionFactorParam
- The associated regression factor parameter objects
are output to this array.
Return Value
DoubleSee Also