Binomial Test

For a sample from Bernoulli Distribution with unknown parameter pp. Test if parameter pp is greater, less or equal to some prescribed parameter.

Test Statistic is

Tn:=i=1nXiT_n:=\sum_{i=1}^n X_i

which is the number of successes in a data sequence (0s, 1s). The statistic has Binomial Distribution B(n,p)B(n,p).

Probability of small values in the test statistic decreases with pp (Power Function).

Right-Sided Binomial Test #todo Two-Sided Binomial Test #todo