Click or drag to resize

WilcoxonSignedRankTest(Int32, Int32) Constructor

Constructs a WilcoxonSignedRankTest instance using the given paired arrays of sample data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public WilcoxonSignedRankTest(
	int[] data1,
	int[] data2
)

Parameters

data1  Int32
An array of observed values.
data2  Int32
An array of observed values.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the given data contains zero valid pairs (valid pairs are non-NaN and unequal), or if DefaultExactPvalue equals true for n > 30;
Remarks
Paired observations where either value is missing, or where the difference between values is zero, are ignored.
The alpha level is set to the current value specified by the static DefaultAlpha property. The form of the hypothesis test is set to the current DefaultType. Whether an asymptotic p-value or an exact p-value is calculated is determined by the current DefaultExactPValue.
See Also