Hypothesis Tests.Wilcoxon Signed Rank Test Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Overload List
| Wilcoxon | Returns a Wilcoxon signed-rank test for paired samples. |
| Wilcoxon | Returns a Wilcoxon signed-rank test for a sample median. |
WilcoxonSignedRankTest(Vector<Double>, Vector<Double>, HypothesisType)
Returns a Wilcoxon signed-rank test for paired samples.
public static WilcoxonSignedRankTest WilcoxonSignedRankTest(
Vector<double> sample1,
Vector<double> sample2,
HypothesisType type = HypothesisType.TwoTailed
)Parameters
- sample1 Vector<Double>
- A vector that contains the first sample.
- sample2 Vector<Double>
- A vector that contains the second sample.
- type HypothesisType (Optional)
- A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.
Return Value
WilcoxonSignedRankTestA Wilcoxon signed-rank test.
WilcoxonSignedRankTest(Vector<Double>, Double, HypothesisType)
Returns a Wilcoxon signed-rank test for a sample median.
public static WilcoxonSignedRankTest WilcoxonSignedRankTest(
Vector<double> sample,
double median = 0,
HypothesisType type = HypothesisType.TwoTailed
)Parameters
- sample Vector<Double>
- A vector that contains a sample from the population.
- median Double (Optional)
- The median to test against.
- type HypothesisType (Optional)
- A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.
Return Value
WilcoxonSignedRankTestA Wilcoxon signed-rank test.