5. (10 points) John runs an outdoor restaurant. Every day, he is unable to open the restaurant due to bad weather with p
Posted: Sun Jul 10, 2022 10:41 am
5. (10 points) John runs an outdoor restaurant. Every day, he is unable to open the restaurant due to bad weather with probability p, independently of all other days. Let y be the number of consecutive days that John is able to keep the restaurant open between bad weather days. Let X be the total number of customers at the restaurant in this period of Ydays. Conditional on Y, the distribution of Xis (XY) ~ Poisson (HY). a) What is the distribution of Y and compute the E[X] and Var[X]. b) What is the average number of customers at the restaurant between bad weather days?