) Prove that for any discrete bivariate random variable (X, N) for which the first
moments of X and N exists,
E(X) = E [E (X|N)]
(b) The number N of customers entering the University of Ghana book-shop each day
is a random variable. Suppose that each customer has, independently of other
customers, a probability θ of buying at least one book. Let X denote the number
of customers that buy at least one book each day.
Describe without proof the distribution of X conditional on N = n. Hence use the
results in (a) to evaluate the expectation of X if N has the distribution.
i. P(N = k) = M
k θk
(1 − θ)M−k
, k = 0, 1, · · · , M
ii. P(N = k) = θ(1 − θ)k
, k = 0, 1, 2, · · · ,
iii. P(N = k) =
e−θθk
k!
, k = 0, 1, 2, · · ·
iv. P(N = k) = θ(1 − θ)k−1
, k = 1, 2, · · ·
Find the probability distribution of X if N has the distribution in (b) i-iv.
Comments