If x is a binomial random variable compute px for each of th
If x is a binomial random variable, compute p(x) for each of the following cases:
(a) n=5,x=5,p=0.7
p(x)=
(b) n=5,x=2,p=0.9
p(x)=
(c) n=3,x=0,p=0.1
p(x)=
(d) n=3,x=1,p=0.1
p(x)=
Solution
For binomial formula, we know, p(X=r) = nCr ( p)^ r (1-p)^ (n-r)
Thus, we have
a) p(x=5) = 5C5 (0.7)^5 (0.3)^0 = 0.16807
b) p(x=2) = 5C2 (0.9)^2 (0.1)^ 3 = 0.0081
c) p(x=0) = 3C0 (0.1)^0 (0.9)^3 = 0.729
d) p(x=1) = 3C1 (0.1)^1 (0.9)^ 2 = 0.243
