From 359cae0fbd61a4536b984b894e08f3b765df417f Mon Sep 17 00:00:00 2001 From: Helios De Rosario Date: Mon, 5 Jun 2023 17:50:57 +0200 Subject: [PATCH] Update docstring of NegativeBinomial Remove note about different notation in Wikipedia (no longer true). --- src/univariate/discrete/negativebinomial.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/univariate/discrete/negativebinomial.jl b/src/univariate/discrete/negativebinomial.jl index a6667b44c8..0ca8f3c9bd 100644 --- a/src/univariate/discrete/negativebinomial.jl +++ b/src/univariate/discrete/negativebinomial.jl @@ -25,8 +25,6 @@ failprob(d) # Get the failure rate, i.e. 1 - p External links: * [Negative binomial distribution on Wolfram](https://reference.wolfram.com/language/ref/NegativeBinomialDistribution.html) -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. - """ struct NegativeBinomial{T<:Real} <: DiscreteUnivariateDistribution r::T