IMSL C# Numerical Library

WilcoxonRankSum.GetStatistics Method 

Returns the statistics. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.

public double[] GetStatistics();

Return Value

A double array of length 10 containing statistics.

Remarks

The statistics are as follows:

RowStatistics
0 Wilcoxon W statistic (the sum of the ranks of the x observations) adjusted for ties in such a manner that Wis as small as possible
1 2 x E(W) - W, where E(W) is the expected value of W
2 probability of obtaining a statistic less than or equal to min{W, 2 x E(W) - W}
3 W statistic adjusted for ties in such a manner that Wis as large as possible
4 2 x E(W) - W, where E(W) is the expected value of W, adjusted for ties in such a manner that W is as large as possible
5 probability of obtaining a statistic less than or equal to min{W, 2 x E(W) - W}, adjusted for ties in such a manner that W is as large as possible
6 Wstatistic with average ranks used in case of ties
7 estimated standard error of Row 6 under the null hypothesis of no difference
8 standard normal score associated with Row 6
9two-sided p-value associated with Row 8

See Also

WilcoxonRankSum Class | Imsl.Stat Namespace