Click or drag to resize

WilcoxonSignedRankTest Class

Class WilcoxonSignedRankTest tests if two paired sets of observed values differ from each other in a significant way.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreWilcoxonSignedRankTest

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class WilcoxonSignedRankTest : ICloneable

The WilcoxonSignedRankTest type exposes the following members.

Constructors
  NameDescription
Public methodWilcoxonSignedRankTest(Double, Double)
Constructs a WilcoxonSignedRankTest instance using the given paired arrays of sample data.
Public methodWilcoxonSignedRankTest(Int32, Int32)
Constructs a WilcoxonSignedRankTest instance using the given paired arrays of sample data.
Public methodWilcoxonSignedRankTest(DoubleVector, DoubleVector)
Constructs a WilcoxonSignedRankTest instance using the given paired vectors of sample data.
Public methodCode exampleWilcoxonSignedRankTest(IDFColumn, IDFColumn)
Constructs a WilcoxonSignedRankTest instance using the given paired columns of sample data.
Public methodWilcoxonSignedRankTest(Double, Double, Double, HypothesisType, Boolean)
Constructs a WilcoxonSignedRankTest instance using the given paired arrays of sample data, and the given hypothesis parameters.
Public methodWilcoxonSignedRankTest(Int32, Int32, Double, HypothesisType, Boolean)
Constructs a WilcoxonSignedRankTest instance using the given paired arrays of sample data, and the given hypothesis parameters.
Public methodWilcoxonSignedRankTest(DoubleVector, DoubleVector, Double, HypothesisType, Boolean)
Constructs a WilcoxonSignedRankTest instance using the given paired vectors of sample data, and the given hypothesis parameters.
Public methodCode exampleWilcoxonSignedRankTest(IDFColumn, IDFColumn, Double, HypothesisType, Boolean)
Constructs a WilcoxonSignedRankTest instance using the given paired columns of sample data, and the given hypothesis parameters.
Top
Properties
  NameDescription
Public propertyAlpha
Gets and sets the alpha level associated with this hypothesis test.
Public propertyStatic memberDefaultAlpha
Gets and sets the default alpha level associated with WilcoxonSignedRankTests.
Public propertyStatic memberDefaultExactPValue
Gets and sets the default setting for whether an exact p-value should be computed, or a normal approximation should be used.
Public propertyStatic memberDefaultType
Gets and sets the default form of the alternative hypothesis associated with WilcoxonSignedRankTests.
Public propertyExactPValue
Gets and sets a boolean value indicating whether an exact p-value should be computed, or a normal approximation should be used.
Public propertyLeftProbability
Gets the area under the probability distribution to the left of the test statistic.
Public propertyN
Gets the sample size.
Public propertyP
Gets the p-value associated with the test statistic.
Public propertyReject
Tests whether the null hypothesis can be rejected, using the current hypothesis type and alpha level.
Public propertyRightProbability
Gets the area under the probability distribution to the right of the test statistic.
Public propertySignedRanks
Gets the vector of signed ranks.
Public propertyStatistic
Gets the value of the test statistic associated with this hypothesis test.
Public propertyType
Gets and sets the form of the alternative hypothesis associated with this hypothesis test.
Top
Methods
Remarks
The Wilcoxon signed-rank is a non-parametric statistical hypothesis test for comparing the means between two paired samples, or repeated measurements on a single sample. It can be used as an alternative to TwoSamplePairedTTest when the population cannot be assumed to be normally distributed.
The null hypothesis is that the distribution x - y is symmetric about 0.
For n > 10, the sampling distribution of the test statistic converges to a normal distribution. For smaller sample sizes, an exact p-value can be calculated by enumerating all possible combinations of the test statistic given n.
See Also