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