Click or drag to resize
Accord.NET (logo)

SignTest Constructor (Double, Double, OneSampleHypothesis)

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

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public SignTest(
	double[] sample,
	double hypothesizedMedian = 0,
	OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example View Source

Parameters

sample
Type: SystemDouble
The data samples from which the test will be performed.
hypothesizedMedian (Optional)
Type: SystemDouble
The constant to be compared with the samples.
alternate (Optional)
Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also