This is documentation for an old release of SciPy (version 0.10.0). Read this page in the documentation of the latest stable release (version 1.15.1).
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
[R76] | http://en.wikipedia.org/wiki/Binomial_test |