Click or drag to resize

TwoWayAnovaBaseMakeCellData Method

Fills in the cell data for a two way ANOVA from the given data frame and column information.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected bool MakeCellData(
	DataFrame data,
	int factorAColIndex,
	int factorBColIndex,
	int dataColIndex,
	bool requireBalancedData = true
)

Parameters

data  DataFrame
The ANOVA data.
factorAColIndex  Int32
Index into the data for the column containing factor A data.
factorBColIndex  Int32
Index into the data for the column containing factor B data.
dataColIndex  Int32
Index into the data for the column containing observed dependent data.
requireBalancedData  Boolean  (Optional)
If true an exception is thrown if unbalanced data is detected (balanced == all cell have the same number of observations).

Return Value

Boolean
true if the data is unbalanced.
Exceptions
ExceptionCondition
NMathExceptionThrown if requireBalancedData is true and unbalanced data is detected.
See Also