Summary
One or two-sample Wilcoxon signed rank test.
Unit
Statistics
Declaration
Function WilcoxonSign(Data: TVec; Median: TSample; out hRes: THypothesisResult; out Signif: TSample; out ConfInt: TTwoElmReal; hType: THypothesisType = htTwoTailed; Alpha: TSample = 0.05): TSample;
Description
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.
Categories
Hypothesis testing
Declaration
Function WilcoxonSign(Data1, Data2: TVec; out hRes: THypothesisResult; out Signif: TSample; out ConfInt: TTwoElmReal; hType: THypothesisType = htTwoTailed; Alpha: TSample = 0.05): TSample;
| Parameter | Description |
|---|
| hRes | Returns the result of the null hypothesis (default assumption is that the means are equal). |
| hType | Defines the type of the null hypothesis (left, right and two - tailed). |
| 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. |
| Alpha | Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. |
Result
The Wilcoxon W statistics.
Description
Performs two-sample Wilcoxon Signed-Rank test by comparing Data1 and Data2 medians. The routine tests the null hypothesis that Data1 and Data2 have equal median value.
Categories
Hypothesis testing| Copyright 2008 Dew Research |
http://www.dewresearch.com