| WilcoxonSignedRankTestUpdate(IDFColumn, IDFColumn, Boolean) Method |
Updates the test statistic with new sample data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void Update(
IDFColumn data1,
IDFColumn data2,
bool exactPValue
)
Public Sub Update (
data1 As IDFColumn,
data2 As IDFColumn,
exactPValue As Boolean
)
public:
void Update(
IDFColumn^ data1,
IDFColumn^ data2,
bool exactPValue
)
member Update :
data1 : IDFColumn *
data2 : IDFColumn *
exactPValue : bool -> unit
Parameters
- data1 IDFColumn
- A column of observed values.
- data2 IDFColumn
- A column of observed values.
- exactPValue Boolean
-
A boolean value indicating whether to calculate an exact p-value by enumerating all possible combinations of the test
statistic given n. If false, a normal approximation is used.
Exceptions Exception | Condition |
---|
InvalidArgumentException |
Thrown if the given data contains zero valid pairs (valid pairs are non-NaN and unequal), or if
exactPvalue equals true for n > 30;
|
Remarks
Paired observations where either value is missing, or where the difference between values
is zero, are ignored.
Example
Thrown if the given data is not numeric.
See Also