Kruskal Wallis Test Constructor
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Kruskal | Constructs a new KruskalWallisTest. |
Kruskal | Constructs a new KruskalWallisTest for the samples in a data frame. |
Kruskal | Constructs a new KruskalWallisTest for the specified Vector<T> array. |
Kruskal | Constructs a new KruskalWallisTest for observations grouped by the specified grouping variable. |
KruskalWallisTest
Constructs a new KruskalWallisTest.
public KruskalWallisTest()
KruskalWallisTest(IDataFrame)
Constructs a new KruskalWallisTest for
the samples in a data frame.
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
Argument | 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.
public KruskalWallisTest(
params Vector<double>[] samples
)
Parameters
Exceptions
Argument | samples is null. |
KruskalWallisTest(Vector<Double>, ICategoricalVector)
Constructs a new KruskalWallisTest for
observations grouped by the specified grouping variable.
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
Argument | values is null. -or- groups is null. |