Returns statistics relating to the sums of squares for the effects in the model. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double[,] GetTestEffects()
Visual Basic (Declaration)
Public Function GetTestEffects As Double(,)
Visual C++
public:
array<double,2>^ GetTestEffects()

Return Value

A double matrix containing statistics relating to the sums of squares for the effects in the model.

Remarks

Here,

{\rm NEF} = {n \choose 1} + {n \choose 2} +
            \cdots + {n \choose \min(n,|{\rm model\_order}|)}

where n is given by nSubscripts if ANOVAFactorial.ErrorCalculation.Pooled is specified; otherwise, nSubscripts-1. Suppose the factors are A, B, C, and error. With ModelOrder = 3, rows 0 through NEF-1 would correspond to A, B, C, AB, AC, BC, and ABC, respectively.

The columns of the output matrix are as follows:

ColumnDescription
0Degrees of freedom
1Sum of squares
2F-statistic
3p-value

See Also