summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-04-08 15:53:19 +0300
committerGitHub <noreply@github.com>2019-04-08 15:53:19 +0300
commit497a00e914bfb98c0093354390f14d3843a33daa (patch)
tree9a5c41c3f167e26ee2aa75d2d7fb28c111b6edc9
parent4a3396322d7f73d77d4d229c78410e7b808738a5 (diff)
parentc62ee1bbe70c113e2b019bb298ff8ec90d0d6cf6 (diff)
downloadnumpy-497a00e914bfb98c0093354390f14d3843a33daa.tar.gz
Merge pull request #13259 from spacescientist/master
DOC: Small readability improvement in random.binomial
-rw-r--r--numpy/random/mtrand/mtrand.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index 24826d52d..c97c166aa 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -3779,8 +3779,8 @@ cdef class RandomState:
product p*n <=5, where p = population proportion estimate, and n =
number of samples, in which case the binomial distribution is used
instead. For example, a sample of 15 people shows 4 who are left
- handed, and 11 who are right handed. Then p = 4/15 = 27%. 0.27*15 = 4,
- so the binomial distribution should be used in this case.
+ handed, and 11 who are right handed. Then p = 4/15 = 27%. Since
+ 0.27*15 = 4, the binomial distribution should be used in this case.
References
----------