Constructor for ANOVAFactorial.

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

Syntax

C#
public ANOVAFactorial(
	int nSubscripts,
	int[] nLevels,
	double[] y
)
Visual Basic (Declaration)
Public Sub New ( _
	nSubscripts As Integer, _
	nLevels As Integer(), _
	y As Double() _
)
Visual C++
public:
ANOVAFactorial(
	int nSubscripts, 
	array<int>^ nLevels, 
	array<double>^ y
)

Parameters

nSubscripts
Type: System..::.Int32
An int scalar containing the number of subscripts. Number of factors in the model + 1 (for the error term).
nLevels
Type: array< System..::.Int32 >[]()[]
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
Type: array< System..::.Double >[]()[]
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

ExceptionCondition
System..::.ArgumentException is thrown if nLevels.length, and y.length are not consistent

See Also