Professional Documents
Culture Documents
3.08 Binomial Distribution - Examples Moments PDF
3.08 Binomial Distribution - Examples Moments PDF
4. In a precision bombing attack, there is a 50% chance that any one bomb will strike the
target. Two direct hits are required to destroy the target completely. How many bombs
must be dropped to give atleast 99% chance of destroying the target?
Solution: Let X be the random variable denoting the number of strikes on the target
X ~ B(n, p 0.5)
P( X 2) 0.99 Then
1 P( X 2) 0.99
1 P( X 0) P( X 1) 0.99
0 n0 1 n1
1 1 1 1 0.99......(1)
1 nC nC
02 2 1 2 2
Solving for n using equality in (1) (using trial and error), we get n 11
d n
q pet
dt t 0
n1 t
n q pet
pe
t 0
Mean np
d2
E( X 2 ) ' M (t )
2 dt 2 X t 0
d2
i.e '
2 dt 2 q pet n
t 0
d n1
dt
n q pet
pet
t 0
n2 n1
n(n 1) q pet
pet pet n q pet
pet
t 0
i.e ' n(n 1) p 2 np
2
Therefore,
2
Variance ' '
2 2 1
2
n(n 1) p 2 np np
Variance np(1 p)
i.e. Variance npq
Hence for a Binomial distribution with parameters n and p
Mean np
Variance npq
Solved Example:
1. Suppose that observation over a long period of time has disclosed that, on an average,
two out of 100 items produced by a process is defective. If 8 items are randomly
selected and tested from the production line, find the expectation and variance of the
number of defectives. Using the m.g.f of the distribution of the number of defectives,
find the mean and variance and verify your answer.
(8 items are randomly selected from the production line. Hence it is possible that all 8
items can be defective, since the production line could have millions of these items. So
the random variable X can take the values 0,1,2,3,4,5,6,7,8.)
X 0 1 2 3 4 5 6 7 8
P(X=x) 0.8508 0.1389 0.0092 0.0004 0 0 0 0 0
X 0 1 2 3 4 5 6 7 8
P(X=x) 0.8508 0.1389 0.0092 0.0004 0 0 0 0 0
𝑥𝑃𝑥 0 0.1389 0.0184 0.0012 0 0 0 0 0
𝑥 2 𝑃𝑥 0 0.1389 00.0368 0.0036 0 0 0 0 0
For Mgf
X 0 1 2 3 4 5 6 7 8
P(X=x) 0.8508 0.1389 0.0092 0.0004 0 0 0 0 0
𝑡
𝑒 𝑡𝑋 1 𝑒 𝑒 2𝑡 𝑒 3𝑡 𝑒 4𝑡 𝑒 5𝑡 𝑒 6𝑡 𝑒 7𝑡 𝑒 8𝑡
𝑒 𝑡𝑋 𝑃𝑥 0.8508 0. 1389𝑒 𝑡 0.0092𝑒 2𝑡 0.0004𝑒 3𝑡 0 0 0 0 0
𝑀𝑋 (𝑡) = ∑ 𝑒 𝑡𝑋 𝑃𝑥
𝑑
[𝑀 (𝑡)] = 0.1389𝑒 𝑡 + 0.0184𝑒 2𝑡 + 0.0012𝑒 3𝑡
𝑑𝑥 𝑋
𝜇1′ = 0.1585
𝑑2
𝐸(𝑋 2 ) = 𝜇2′ = 2 [𝑀𝑋 (𝑡)] 𝑎𝑡 𝑡 = 0
𝑑𝑥
𝑑2
[𝑀 (𝑡)] = 0.1389𝑒 𝑡 + 0. 0368𝑒 2𝑡 + 0. 0036𝑒 3𝑡
𝑑𝑥 2 𝑋
𝜇2′ = 0.1793
Exercise
The probability of a man hitting a target is 1/3. How many times must he fire so that the
probability of his hitting the target atleast once is more than 90%?