Click or drag to resize

KruskalWallisTest Class

Class KruskalWallisTest performs a Kruskal-Wallis rank sum test.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreKruskalWallisTest

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class KruskalWallisTest : ICloneable

The KruskalWallisTest type exposes the following members.

Constructors
 NameDescription
Public methodKruskalWallisTest Default constructor. Constructs an empty KruskalWallisTest instance.
Public methodKruskalWallisTest(DoubleMatrix) Constructs a KruskalWallisTest instance from data in the given matrix.
Public methodKruskalWallisTest(DoubleVector) Constructs a KruskalWallisTest instance from data in the given array of vectors.
Public methodKruskalWallisTest(DoubleMatrix, Boolean) Constructs a KruskalWallisTest instance from data in the given matrix.
Public methodKruskalWallisTest(DoubleVector, Boolean) Constructs a KruskalWallisTest instance from data in the given array of vectors.
Public methodKruskalWallisTest(DataFrame, Int32, Int32) Construct a KruskalWallisTest instance from data in the given data frame.
Public methodKruskalWallisTest(DataFrame, Int32, Int32, Boolean) Construct a KruskalWallisTest instance from data in the given data frame.
Top
Properties
 NameDescription
Public propertyGrandMeanRank Gets the grand mean rank of the data.
Public propertyGroupMeanRanks Gets a vector of group mean ranks.
Public propertyGroupNames Gets an array of group names.
Public propertyGroupSizes Gets an array of group sizes.
Public propertyIsTieCorrected Returns true if the standard correction for ties was applied in the computation of the test statistic.
Public propertyN Gets the total sample size.
Public propertyPValue Gets the p-value for the test statistic.
Public propertyRanks Gets an array of vectors containing the ranks of the data.
Public propertyStatistic Gets the test statistic.
Public propertyTable Gets a table summarizing the result of the last-performed Kruskal-Wallis test.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this KruskalWallisTest.
Public methodGetGroupMeanRank(Int32) Returns the mean rank for the specified group.
Public methodGetGroupMeanRank(Object) Returns the mean rank for the specified group.
Public methodGetGroupRanks(Int32) Returns the ranks for the specified group.
Public methodGetGroupRanks(Object) Returns the ranks for the specified group.
Public methodGetGroupSize(Int32) Returns the size of the specified group.
Public methodGetGroupSize(Object) Returns the size of the specified group.
Public methodSetData(DoubleMatrix) Performs a Kruskal-Wallis test on data in the given matrix.
Public methodSetData(DoubleVector) Performs a Kruskal-Wallis test on data in the given array of vectors.
Public methodSetData(DoubleMatrix, Boolean) Performs a Kruskal-Wallis test on data in the given matrix.
Public methodSetData(DoubleVector, Boolean) Performs a Kruskal-Wallis test on data in the given array of vectors.
Public methodSetData(DataFrame, Int32, Int32) Performs a Kruskal-Wallis test on data in the given data frame.
Public methodSetData(DataFrame, Int32, Int32, Boolean) Performs a Kruskal-Wallis test on data in the given data frame.
Public methodStatisticCriticalValue Computes the critical value for the test statistic at the given significance level.
Public methodToString String representation of a Kruskal-Wallis test.
(Overrides ObjectToString)
Top
Remarks
The Kruskal-Wallis test is a non-parametric test for equality of population medians among groups. It is a non-parametric version of the classical one-way ANOVA.
See Also