Toggle menu
15
236
76
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Negative binomial distribution: Difference between revisions

Template page
Created page with "{{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,<ref name="DeGrootNB">{{cite book|last = DeGroot| first = Morris H.| auth..."
 
(No difference)

Latest revision as of 01:11, 23 February 2025

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,[1] so identifying the specific parametrization used is crucial in any given text.
Probability mass function
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 NB(r,p)
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
PMF k(k+r1k)(1p)kpr, involving a binomial coefficient
CDF kIp(r,k+1), the regularized incomplete beta function
Mean r(1p)p
Mode {(r1)(1p)pif r>10if r1
Variance r(1p)p2
Skewness 2p(1p)r
Excess kurtosis 6r+p2(1p)r
MGF (p1(1p)et)r for t<log(1p)
CF (p1(1p)eit)r with t
PGF (p1(1p)z)r for |z|<1p
Fisher information rp2(1p)
Method of moments r=E[X]2V[X]E[X]
p=E[X]V[X]

NOTE: This list only appears on this page, and will not be included in the template.