| KruskalWallisTestSetData(DataFrame, Int32, Int32, Boolean) Method |
Performs a Kruskal-Wallis test on data in the given data frame.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void SetData(
DataFrame data,
int groupColumn,
int dataColumn,
bool correct_for_ties
)
Public Sub SetData (
data As DataFrame,
groupColumn As Integer,
dataColumn As Integer,
correct_for_ties As Boolean
)
public:
void SetData(
DataFrame^ data,
int groupColumn,
int dataColumn,
bool correct_for_ties
)
member SetData :
data : DataFrame *
groupColumn : int *
dataColumn : int *
correct_for_ties : bool -> unit
Parameters
- data DataFrame
- A DataFrame containing the data.
- groupColumn Int32
- The index of the DataFrame column containing
the group values.
- dataColumn Int32
-
The index of the DataFrame column containing the numeric data. The
specified column must be of type DFNumericColumn.
- correct_for_ties Boolean
- If true, a standard correction for ties is applied. This
correction usually makes little difference in the value of the test statistic unless
there are a large number of ties.
Remarks
The DataFrame method GetGroupings() is applied to the specified
group column, producing a sorted list of unique group values.
See Also