Binomial test.
Inheritance Hierarchy Namespace: Accord.Statistics.TestingAccord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax[SerializableAttribute] public class BinomialTest : HypothesisTest<BinomialDistribution>
<SerializableAttribute> Public Class BinomialTest Inherits HypothesisTest(Of BinomialDistribution)Request Example View Source
The BinomialTest type exposes the following members.
Constructors Properties Methods Extension Methods Name Description HasMethodChecks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) IsEqualCompares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.) To(Type) Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) ToT Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) Top RemarksIn statistics, the binomial test is an exact test of the statistical significance of deviations from a theoretically expected distribution of observations into two categories. The most common use of the binomial test is in the case where the null hypothesis is that two categories are equally likely to occur (such as a coin toss).
When there are more than two categories, and an exact test is required, the multinomial test, based on the multinomial distribution, must be used instead of the binomial test.
References:
ExamplesThis is the second example from Wikipedia's page on hypothesis testing. In this example, a person is tested for clairvoyance (ability of gaining information about something through extra sensory perception; detecting something without using the known human senses.
BinomialTest test = new BinomialTest( successes: 13, trials: 25, hypothesizedProbability: 1.0 / 4.0, alternate: OneSampleHypothesis.ValueIsGreaterThanHypothesis); Console.WriteLine("Test p-Value: " + test.PValue); Console.WriteLine("Significant? " + test.Significant);See Also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4