Skip to content

Commit 2cd6c67

Browse files
authored
Update docstring of NegativeBinomial (#1734)
Remove note about different notation in Wikipedia (no longer true).
1 parent d04db64 commit 2cd6c67

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/univariate/discrete/negativebinomial.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ failprob(d) # Get the failure rate, i.e. 1 - p
2525
External links:
2626
2727
* [Negative binomial distribution on Wolfram](https://reference.wolfram.com/language/ref/NegativeBinomialDistribution.html)
28-
Note: The definition of the negative binomial distribution in Wolfram is different from the [Wikipedia definition](http://en.wikipedia.org/wiki/Negative_binomial_distribution). In Wikipedia, `r` is the number of failures and `k` is the number of successes.
29-
3028
"""
3129
struct NegativeBinomial{T<:Real} <: DiscreteUnivariateDistribution
3230
r::T

0 commit comments

Comments
 (0)