A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://accord-framework.net/docs/html/T_Accord_Statistics_Testing_WilcoxonSignedRankTest.htm below:

WilcoxonSignedRankTest Class

Wilcoxon signed-rank test for the median.

Inheritance Hierarchy Namespace:  Accord.Statistics.Testing
Assembly:

Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0

Syntax
[SerializableAttribute]
public class WilcoxonSignedRankTest : WilcoxonTest
<SerializableAttribute>
Public Class WilcoxonSignedRankTest
	Inherits WilcoxonTest
Request Example View Source

The WilcoxonSignedRankTest type exposes the following members.

Constructors   Name Description WilcoxonSignedRankTest

Tests the null hypothesis that the sample median is equal to a hypothesized value.

Top Properties Methods Extension Methods   Name Description HasMethod

Checks whether an object implements a method with the given name.

(Defined by ExtensionMethods.) IsEqual

Compares 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 Remarks

The 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:

Examples


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