KruskalWallisTest Constructor

Definition

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

KruskalWallisTest() Constructs a new KruskalWallisTest.
KruskalWallisTest(IDataFrame) Constructs a new KruskalWallisTest for the samples in a data frame.
KruskalWallisTest(Vector<Double>[]) Constructs a new KruskalWallisTest for the specified Vector<T> array.
KruskalWallisTest(Vector<Double>, ICategoricalVector) Constructs a new KruskalWallisTest for observations grouped by the specified grouping variable.

KruskalWallisTest

Constructs a new KruskalWallisTest.
C#
public KruskalWallisTest()

KruskalWallisTest(IDataFrame)

Constructs a new KruskalWallisTest for the samples in a data frame.
C#
public KruskalWallisTest(
	IDataFrame samples
)

Parameters

samples  IDataFrame
A data frame containing the samples to be compared.

Remarks

All members of samples must be numerical samples, i.e. of type Vector<T>.

Exceptions

ArgumentException One or more members of samples is not of type Vector<T>.

KruskalWallisTest(Vector<Double>[])

Constructs a new KruskalWallisTest for the specified Vector<T> array.
C#
public KruskalWallisTest(
	params Vector<double>[] samples
)

Parameters

samples  Vector<Double>[]
Array of Vector<T> containing the samples to be compared.

Exceptions

ArgumentNullException

samples is null.

KruskalWallisTest(Vector<Double>, ICategoricalVector)

Constructs a new KruskalWallisTest for observations grouped by the specified grouping variable.
C#
public KruskalWallisTest(
	Vector<double> values,
	ICategoricalVector groups
)

Parameters

values  Vector<Double>
A variable that contains the observations that are to be compared.
groups  ICategoricalVector
A categorical variable that specifies the group each observation belongs to.

Exceptions

ArgumentNullException

values is null.

-or-

groups is null.

See Also