|
MannWhitneyDistribution Constructor (Double, Int32, Int32, NullableBoolean)
|
Constructs a Mann-Whitney's U-statistic distribution.
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public MannWhitneyDistribution(
double[] ranks,
[PositiveIntegerAttribute(1, 2147483647)] int n1,
[PositiveIntegerAttribute(1, 2147483647)] int n2,
Nullable<bool> exact = null
)
Public Sub New (
ranks As Double(),
<PositiveIntegerAttribute(1, 2147483647)> n1 As Integer,
<PositiveIntegerAttribute(1, 2147483647)> n2 As Integer,
Optional exact As Nullable(Of Boolean) = Nothing
)
Request Example
View SourceParameters
- ranks
- Type: SystemDouble
The rank statistics. - n1
- Type: SystemInt32
The number of observations in the first sample. - n2
- Type: SystemInt32
The number of observations in the second sample. - exact (Optional)
- Type: SystemNullableBoolean
True to compute the exact distribution. May require a significant
amount of processing power for large samples (n > 30). If left at null, whether to
compute the exact or approximate distribution will depend on the number of samples.
See Also