Click or drag to resize

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected double IncrementalSumOfSquares(
	DoubleMatrix regressionMatrix,
	int numParameters,
	DoubleVector observations,
	double ybar,
	Factor factor,
	out AnovaRegressionFactorParam[] factorParameters
)

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

Double
See Also