IMSL C# Numerical Library

ANOVAFactorial Constructor 

Constructor for ANOVAFactorial.

public ANOVAFactorial(
   int nSubscripts,
   int[] nLevels,
   double[] y
);

Parameters

nSubscripts
An int scalar containing the number of subscripts. Number of factors in the model + 1 (for the error term).
nLevels
An int array of length nSubscripts containing the number of levels for each of the factors for the first nSubscripts-1 elements. nLevels[nSubscripts-1] is the number of observations per cell.
y
A double array of length nLevels[0] * nLevels[1] * ... * nLevels[nSubscripts-1] containing the responses.

Remarks

y must not contain NaN for any of its elements; i.e., missing values are not allowed.

Exceptions

Exception Type Condition
ArgumentException is thrown if nLevels.length, and y.length are not consistent

See Also

ANOVAFactorial Class | Imsl.Stat Namespace