Perform a test that the probability of success is p.
This is an exact, two-sided test of the null hypothesis that the probability of success in a Bernoulli experiment is p.
Parameters : | x : integer or array_like
n : integer
p : float, optional
|
---|---|
Returns : | p-value : float
|
References
[R169] | http://en.wikipedia.org/wiki/Binomial_test |