Professional Documents
Culture Documents
px (1 p)nx
This is the probability of having x successes in a series of n independent trials when the probability of success in any one of the trials is p. If X is a random variable with this probability distribution,
n
E(X) =
x=0 n
n x
px (1 p)nx
=
x=0 n
n! x x!(nx)! px (1 p)nx
=
x=1
x n! (x1)!(nx)! p (1
p)nx
since the x = 0 term vanishes. Let y = x 1 and m = n 1. Subbing x = y +1 and n = m+1 into the last sum (and using the fact that the limits x = 1 and x = n correspond to y = 0 and y = m, respectively)
m
E(X) =
y=0
p)m p)m
= (m + 1)p
y=0 m
y m! y!(my)! p (1
= np
y=0
y m! y!(my)! p (1
p)m
(a + b) Setting a = p and b = 1 p
m y m! y!(my)! p (1 y=0 m
=
y=0
y m m! y!(my)! a b
p)
=
y=0
y m m! y!(my)! a b
= (a + b)m = (p + 1 p)m = 1
E X(X 1) =
x=0 n
x(x 1)
n x
px (1 p)nx
=
x=0 n
=
x=2
x n! (x2)!(nx)! p (1 n
p)nx p)nx
= n(n 1)p
2 x=2 m
= n(n 1)p2
y=0 2
y m! y!(my)! p (1 m
p)my