Performs two-sample Wilcoxon Signed-Rank test by comparing Data1 and Data2 medians.
function WilcoxonSign(const Data1: TVec; const Data2: TVec; out hRes: THypothesisResult; out Signif: double; var ConfInt: TTwoElmReal; const hType: THypothesisType = htTwoTailed; const Alpha: double = 0.05): double; overload;
Parameters |
Description |
Data1 |
First set of data from which to compute the median. |
Data2 |
Second set of data from which to compute the median. |
hRes |
Returns the result of the null hypothesis (default assumption is that the means are equal). |
Signif |
(Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true. |
ConfInt |
Returns the 100*(1-Alpha) percent confidence interval for the mean. |
hType |
Defines the type of the null hypothesis (left, right and two - tailed). |
Alpha |
Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. |
The Wilcoxon W statistics.
The routine tests the null hypothesis that Data1 and Data2 have equal median value.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|