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_SignTest.htm below:

SignTest Class

Sign 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 SignTest : BinomialTest
<SerializableAttribute>
Public Class SignTest
	Inherits BinomialTest
Request Example View Source

The SignTest type exposes the following members.

Constructors 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

In statistics, the sign test can be used to test the hypothesis that the difference median is zero between the continuous distributions of two random variables X and Y, in the situation when we can draw paired samples from X and Y. It is a non-parametric test which makes very few assumptions about the nature of the distributions under test - this means that it has very general applicability but may lack the statistical power of other tests such as the paired-samples t-test or the Wilcoxon signed-rank test.

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;


SignTest test = new SignTest(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