Click or drag to resize

WilcoxonSignedRankTest(DoubleVector, DoubleVector) Constructor

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

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

Parameters

data1  DoubleVector
A vector of observed values.
data2  DoubleVector
A vector 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