Click or drag to resize
Accord.NET (logo)

BinomialTest Constructor (Int32, Int32, Double, OneSampleHypothesis)

Tests the probability of two outcomes in a series of experiments.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public BinomialTest(
	int successes,
	int trials,
	double hypothesizedProbability = 0.5,
	OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example View Source

Parameters

successes
Type: SystemInt32
The number of successes in the trials.
trials
Type: SystemInt32
The total number of experimental trials.
hypothesizedProbability (Optional)
Type: SystemDouble
The hypothesized occurrence probability.
alternate (Optional)
Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also