Professional Documents
Culture Documents
P (X = x | p) = pq x−1 , x = 1, 2, . . . .
Cont.
STAT6201 Lecture Note 3 Page 3 of 4
• Memoryless Property:
Fun Fact: The geometric distribution is the only discrete distribution with the memoryless property.
• Moments:
r r(1 − p)
E(X) = , Var(X) = .
p p2
• Alternative definition: Let Y = # failures before the rth successes, i.e. Y = X − r.
r+y−1 r y r+y−1 r y
P (Y = y | r, p) = p q = p q , y = 0, 1, . . . .
r−1 y
We can obtain
r(1 − p) r(1 − p)
E(Y ) = , Var(Y ) = .
p p2
• Why called negative binomial?: Newton’s Generalized Binomial Theorem: For any a ∈ R,
∞
X a
(x + z)a = xy z a−y ,
y=0
y
Thus
r+y−1 r y −r r
P (Y = y | r, p) = p q = p (−q)y .
y y
Also
∞ ∞ ∞
X X −r X −r
P (Y = y | r, p) = pr (−q)y = pr (−q)y 1−r−y = pr (1 − q)−r = 1.
y=0 y=0
y y=0
y
Cont.
STAT6201 Lecture Note 3 Page 4 of 4
• MGF.
∞
X −r r
M (t) = E(etY ) = ety p (−q)y = pr (1 − qet )−r
y=0
y
Y = X1 + · · · + Xr ∼ nb(r, p).
Acknowledgement
The lecture notes of this course are based on the textbook and Prof. Huixia Judy Wang’s lecture slides. The
instructor thanks Prof. Wang for kindly sharing them.
The End.