|
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
)
Public Sub New (
trials As Boolean(),
Optional hypothesizedProbability As Double = 0.5,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example
View SourceParameters
- 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