:Template:Negative binomial distribution
{{Probability distribution
| intro = Different texts (and even different parts of this article) adopt slightly different definitions for the negative binomial distribution. They can be distinguished by whether the support starts at k = 0 or at k = r, whether p denotes the probability of a success or of a failure, and whether r represents success or failure,{{cite book|last = DeGroot| first = Morris H.| author-link = Morris H. DeGroot| title = Probability and Statistics| edition = Second| year = 1986| publisher = Addison-Wesley| isbn = 0-201-11366-X| oclc = 10605205| lccn = 84006269 |pages = 258–259}} so identifying the specific parametrization used is crucial in any given text.
| type = mass
| pdf_image = File:Negbinomial.gif
The orange line represents the mean, which is equal to 10 in each of these plots; the green line shows the standard deviation.
| notation =
| parameters = r > 0 — number of successes until the experiment is stopped (integer, but the definition can also be extended to reals)
p ∈ [0,1] — success probability in each experiment (real)
| support = k ∈ { 0, 1, 2, 3, … } — number of failures
| pdf = involving a binomial coefficient
| cdf = the regularized incomplete beta function
| mean =
| median =
| mode =
0 & \text{if } r\leq 1\end{cases}
| variance =
| skewness =
| kurtosis =
| entropy =
| mgf =
| char =
| pgf =
| fisher =
| moments =
}}
{{documentation|content=This template provides the infobox for the Negative binomial distribution article. It serves as a mean of protection against edits from anonymous IPs. Please go to the article's talk page before editing this template.}}
NOTE: This list only appears on this page, and will not be included in the template.
{{Reflist}}