Let count the number of customers that visit a bakery on a random day, and assume .
Let count the number of customers that make a purchase. Each customer entering the bakery smells the cakes, and this produces a probability of buying a cake for that customer. The customers are independent.
Find . Are and positively or negatively correlated?
Hint: Compute , and use this to compute in terms of . Now deduce using Iterated Expectation. Finally, compute using the Expectation Multiplication Rule from the previous exercise. Now put everything together to find .
Solution
10
(1) Find .
Note that this follows a binomial distribution with parameters .
Thus,
(2) Find using iterated expectation.
(3) Find
(4) Find covariance
(5) State final conclusions.
Since the covariance is positive, and are positively correlated.