Wilcoxon signed-rank test for the median.
Inheritance Hierarchy Namespace: Accord.Statistics.TestingAccord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax[SerializableAttribute] public class WilcoxonSignedRankTest : WilcoxonTest
<SerializableAttribute> Public Class WilcoxonSignedRankTest Inherits WilcoxonTestRequest Example View Source
The WilcoxonSignedRankTest type exposes the following members.
Constructors Name Description WilcoxonSignedRankTestTests the null hypothesis that the sample median is equal to a hypothesized value.
Top Properties Methods Extension Methods Name Description HasMethodChecks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) IsEqualCompares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.) To(Type) Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) ToT Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) Top RemarksThe Wilcoxon signed-rank test is a non-parametric statistical hypothesis test used when comparing two related samples, matched samples, or repeated measurements on a single sample to assess whether their population mean ranks differ (i.e. it is a paired difference test). It can be used as an alternative to the paired Student's t-test, t-test for matched pairs, or the t-test for dependent samples when the population cannot be assumed to be normally distributed.
The Wilcoxon signed-rank test is not the same as the Wilcoxon rank-sum test, although both are nonparametric and involve summation of ranks.
This test uses the positive W statistic, as explained in https://onlinecourses.science.psu.edu/stat414/node/319
References:
double[] sample = { 106, 115, 96, 88, 91, 88, 81, 104, 99, 68, 104, 100, 77, 98, 96, 104, 82, 94, 72, 96 }; double hypothesizedMedian = 100; WilcoxonSignedRankTest test = new WilcoxonSignedRankTest(sample, hypothesizedMedian, OneSampleHypothesis.ValueIsSmallerThanHypothesis); bool significant = test.Significant; double statistic = test.Statistic; double pvalue = test.PValue;See Also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4