Click or drag to resize
Accord.NET (logo)

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
public MannWhitneyDistribution(
	double[] ranks,
	[PositiveIntegerAttribute(1, 2147483647)] int n1,
	[PositiveIntegerAttribute(1, 2147483647)] int n2,
	Nullable<bool> exact = null
Request Example View Source


Type: SystemDouble
The rank statistics.
Type: SystemInt32
The number of observations in the first sample.
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