Performs a Kruskal-Wallis test on data in the given data frame.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void SetData( DataFrame data, int groupColumn, int dataColumn, bool correct_for_ties ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetData ( _ data As DataFrame, _ groupColumn As Integer, _ dataColumn As Integer, _ correct_for_ties As Boolean _ ) |
| Visual C++ |
|---|
public: void SetData( DataFrame^ data, int groupColumn, int dataColumn, bool correct_for_ties ) |
Parameters
- data
- Type: CenterSpace.NMath.Stats..::.DataFrame
A DataFrame containing the data.
- groupColumn
- Type: System..::.Int32
The index of the DataFrame column containing the group values.
- dataColumn
- Type: System..::.Int32
The index of the DataFrame column containing the numeric data. The specified column must be of type DFNumericColumn.
- correct_for_ties
- Type: System..::.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.