Click or drag to resize
Accord.NET (logo)

BinomialTest Constructor (Boolean, 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(
	bool[] trials,
	double hypothesizedProbability = 0.5,
	OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example View Source

Parameters

trials
Type: SystemBoolean
The 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