BivariateWilcoxonSignedRankTest Method |
Namespace: Meta.Numerics.Statistics
public static TestResult WilcoxonSignedRankTest( IReadOnlyList<double> x, IReadOnlyList<double> y )
Exception | Condition |
---|---|
ArgumentNullException | x or y is . |
DimensionMismatchException | x and y do not contain the same number of entries. |
InsufficientDataException | There are fewer than two data points. |
The Wilcoxon signed rank test is a non-parametric alternative to the paired t-test (PairedStudentTTest(IReadOnlyListDouble, IReadOnlyListDouble)). Given two measurements on the same subjects, this method tests for changes in the distribution between the two measurements. It is sensitive primarily to shifts in the median. Note that the distributions of the individual measurements may be far from normal, and may be different for each subject.