IMSL C# Numerical Library

ANOVAFactorial.GetTestEffects Method 

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.

public double[,] 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:

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

See Also

ANOVAFactorial Class | Imsl.Stat Namespace