ANOVAFactorial Constructor |
Constructor for ANOVAFactorial.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public ANOVAFactorial(
int nSubscripts,
int[] nLevels,
double[] y
)
Public Sub New (
nSubscripts As Integer,
nLevels As Integer(),
y As Double()
)
public:
ANOVAFactorial(
int nSubscripts,
array<int>^ nLevels,
array<double>^ y
)
new :
nSubscripts : int *
nLevels : int[] *
y : float[] -> ANOVAFactorial
Parameters
- nSubscripts
- Type: SystemInt32
An int scalar containing the number of subscripts. Number of
factors in the model + 1 (for the error term).
- nLevels
- Type: SystemInt32
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: SystemDouble
A double array of length nLevels[0] * nLevels[1] * ... *
nLevels[nSubscripts-1] containing the responses.
Exceptions Exception | Condition |
---|
ArgumentException |
is thrown if nLevels.length, and y.length are not
consistent
|
Remarks y must not contain NaN for any of its elements; i.e.,
missing values are not allowed.
See Also