| KruskalWallisTest(DataFrame, Int32, Int32, Boolean) Constructor |
Construct a KruskalWallisTest instance from data in the given data frame.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public KruskalWallisTest(
DataFrame data,
int groupColumn,
int dataColumn,
bool correct_for_ties
)
Public Sub New (
data As DataFrame,
groupColumn As Integer,
dataColumn As Integer,
correct_for_ties As Boolean
)
public:
KruskalWallisTest(
DataFrame^ data,
int groupColumn,
int dataColumn,
bool correct_for_ties
)
new :
data : DataFrame *
groupColumn : int *
dataColumn : int *
correct_for_ties : bool -> KruskalWallisTest
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 numeric.
- 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
A Factor is constructed from the group column using the DataFrame method
GetFactor(), which creates a sorted array of the unique values.
See Also