Click or drag to resize

BivariateWilcoxonSignedRankTest Method

Performs a Wilcoxon signed rank test.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
public static TestResult WilcoxonSignedRankTest(
	IReadOnlyList<double> x,
	IReadOnlyList<double> y


Type: System.Collections.GenericIReadOnlyListDouble
The values of the first variable.
Type: System.Collections.GenericIReadOnlyListDouble
The values of the second variable.

Return Value

Type: TestResult
The result of the test.
ArgumentNullExceptionx or y is .
DimensionMismatchExceptionx and y do not contain the same number of entries.
InsufficientDataExceptionThere 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.

See Also