| WilcoxonSignedRankTest(IDFColumn, IDFColumn) Constructor |
Constructs a WilcoxonSignedRankTest instance using the given paired columns of sample data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public WilcoxonSignedRankTest(
IDFColumn data1,
IDFColumn data2
)
Public Sub New (
data1 As IDFColumn,
data2 As IDFColumn
)
public:
WilcoxonSignedRankTest(
IDFColumn^ data1,
IDFColumn^ data2
)
new :
data1 : IDFColumn *
data2 : IDFColumn -> WilcoxonSignedRankTest
Parameters
- data1 IDFColumn
- A column of observed values.
- data2 IDFColumn
- A column of observed values.
Exceptions Exception | Condition |
---|
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.
Example
Thrown if the given data is not numeric.
See Also