Statistics.WilcoxonSign Method

Overload List

#SignatureDescription
1function WilcoxonSign(const Data1: TVec; const Data2: TVec; out hRes: THypothesisResult; out Signif: Double; var ConfInt: TDoubleArray; const hType: THypothesisType; const Alpha: Double): Double;Performs two-sample Wilcoxon Signed-Rank test by comparing Data1 and Data2 medians.
2function WilcoxonSign(const Data: TVec; const Median: Double; out hRes: THypothesisResult; out Signif: Double; var ConfInt: TDoubleArray; const hType: THypothesisType; const Alpha: Double): Double;One or two-sample Wilcoxon signed rank test.

Overload 1: function WilcoxonSign(const Data1: TVec; const Data2: TVec; out hRes: THypothesisResult; out Signif: Double; var ConfInt: TDoubleArray; const hType: THypothesisType; const Alpha: Double): Double;

Performs two-sample Wilcoxon Signed-Rank test by comparing Data1 and Data2 medians.

#NameDescription
1Data1First set of data from which to compute the median.
2Data2Second set of data from which to compute the median.
3hResReturns the result of the null hypothesis (default assumption is that the means are equal).
4hTypeDefines the type of the null hypothesis (left, right and two - tailed).
5Signif(Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true.
6ConfIntReturns the 100*(1-Alpha) percent confidence interval for the mean.
7AlphaDefines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected.

Returns: Double - The Wilcoxon W statistics.

Remarks:

The routine tests the null hypothesis that Data1 and Data2 have equal median value.

See Also: Statistics.SignTest

Overload 2: function WilcoxonSign(const Data: TVec; const Median: Double; out hRes: THypothesisResult; out Signif: Double; var ConfInt: TDoubleArray; const hType: THypothesisType; const Alpha: Double): Double;

One or two-sample Wilcoxon signed rank test.

#NameTypeDescription
1DataTVec
2MedianDouble
3hResTHypothesisResult
4SignifDouble
5ConfIntTDoubleArray
6hTypeTHypothesisType
7AlphaDouble

Returns: Double

Remarks:

Performs one-sample Wilcoxon Signed-Rank test by comparing Data median value with given Median. The null hypothesis is that Data median is equal to Median.