summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-02-18 12:27:25 +0000
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2019-02-18 12:27:25 +0000
commit5015d8785fc9bee27503de6db2ec44a12e3a2dbe (patch)
treed3d78bb4f2d6a53e7cb8d88703fa8549db016b7e
parent8063fa6d1b92a755db9727b17428eb19e0ba590f (diff)
downloadnumpy-5015d8785fc9bee27503de6db2ec44a12e3a2dbe.tar.gz
DOC: Clean noncentral chi2 docstring
Remove unnecessary and unhelpful reference
-rw-r--r--numpy/random/mtrand/mtrand.pyx11
1 files changed, 1 insertions, 10 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index c83046e2e..c5e4662d4 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -2328,17 +2328,9 @@ cdef class RandomState:
where :math:`Y_{q}` is the Chi-square with q degrees of freedom.
- In Delhi (2007), it is noted that the noncentral chi-square is
- useful in bombing and coverage problems, the probability of
- killing the point target given by the noncentral chi-squared
- distribution.
-
References
----------
- .. [1] Delhi, M.S. Holla, "On a noncentral chi-square distribution in
- the analysis of weapon systems effectiveness", Metrika,
- Volume 15, Number 1 / December, 1970.
- .. [2] Wikipedia, "Noncentral chi-squared distribution"
+ .. [1] Wikipedia, "Noncentral chi-squared distribution"
https://en.wikipedia.org/wiki/Noncentral_chi-squared_distribution
Examples
@@ -2368,7 +2360,6 @@ cdef class RandomState:
>>> values = plt.hist(np.random.noncentral_chisquare(3, 20, 100000),
... bins=200, density=True)
>>> plt.show()
-
"""
cdef ndarray odf, ononc
cdef double fdf, fnonc