Mann Whitney Test<T> Constructor
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Mann | Constructs a new Mann-Whitney test. |
Mann | Constructs a new Mann-Whitney test for the specified samples. |
Mann | Constructs a new Mann-Whitney test for the specified samples. |
MannWhitneyTest<T>
public MannWhitneyTest()
Remarks
This constructor constructs a 'blank' Mann-Whitney test. The test is two-tailed and has a significance level of 0.95. The default settings can be modified by setting the HypothesisType and SignificanceLevel properties.
The samples have to be set using the Sample1 and Sample1 properties before any of the test results are accessed.
MannWhitneyTest<T>(Vector<T>, ICategoricalVector)
public MannWhitneyTest(
Vector<T> values,
ICategoricalVector groups
)
Parameters
- values Vector<T>
- A variable that contains the observations that are to be compared.
- groups ICategoricalVector
- A categorical variable with two possible values that specifies the group each observation belongs to.
Remarks
This constructor constructs a 'blank' Mann-Whitney test. The test is two-tailed and has a significance level of 0.95.
The default settings can be modified by setting the HypothesisType and SignificanceLevel properties.
Exceptions
Argument | values is null. -or- groups is null. |
Invalid | groups does not have e two-level scale. |
MannWhitneyTest<T>(Vector<T>, Vector<T>)
public MannWhitneyTest(
Vector<T> sample1,
Vector<T> sample2
)
Parameters
Remarks
This constructor constructs a 'blank' Mann-Whitney test. The test is two-tailed and has a significance level of 0.95.
The default settings can be modified by setting the HypothesisType and SignificanceLevel properties.
Exceptions
Argument | sample1 is null. -or- sample2 is null. |