Wilcoxon Signed Rank Test Constructor
Definition
Namespace: Numerics.NET.Statistics.Tests
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 | Constructs a new Wilcoxon signed-rank test for paired samples. |
| Wilcoxon | Constructs a new Wilcoxon signed-rank test for a single sample against a median. |
WilcoxonSignedRankTest(Vector<Double>, Vector<Double>, HypothesisType)
Constructs a new Wilcoxon signed-rank test for paired samples.
public WilcoxonSignedRankTest(
Vector<double> sample1,
Vector<double> sample2,
HypothesisType type = HypothesisType.TwoTailed
)Parameters
- sample1 Vector<Double>
- The first sample.
- sample2 Vector<Double>
- The second sample.
- type HypothesisType (Optional)
- The hypothesis type.
Exceptions
| Argument | sample1 is null. -or- sample2 is null. |
| Dimension | sample1 and sample2 do not have the same length. |
WilcoxonSignedRankTest(Vector<Double>, Double, HypothesisType)
Constructs a new Wilcoxon signed-rank test for a single sample against a median.
public WilcoxonSignedRankTest(
Vector<double> sample,
double median = 0,
HypothesisType type = HypothesisType.TwoTailed
)Parameters
- sample Vector<Double>
- The sample values.
- median Double (Optional)
- The median to test against.
- type HypothesisType (Optional)
- The hypothesis type.
Exceptions
| Argument | sample is null. |