The number of people $N$ entering an elevator is approximately distributed as a Poisson of mean $\lambda = 2.3$. On the other hand, the weight $W$ of a person is modeled by a Gamma distribution with shape and scale parameters, $\alpha = 53$ and $\beta = 1.25$, respectively. Determine the mean value and standard deviation with which the elevator operates per load.
I'm not sure if the function is defined like $$f(n,w)=\frac{\lambda^ne^{-\lambda n}}{n!}\frac{w^{\alpha -1}e^{\frac{-w}{\beta}}}{\beta^\alpha \Gamma(\alpha)}I_{\{0,1,...\}}(n)I_{\{0<w<\infty\}}(w)$$
Any suggestions would be great!
This is sometimes called 'a random sum of random variables'. A conditioning argument similar to that of @paulinho's Answer gives $$E(T) = E(N)E(W) = \lambda\alpha\beta = 152.38$$ and $$Var(T) = E(N)V(T) + [E(W)]^2V(N) = \lambda\alpha\beta^2 + \lambda\alpha^2\beta^2 = \lambda\alpha\beta^2(1+\alpha).$$ Thus, $SD(T) = \beta\sqrt{\lambda\alpha(1+\alpha)} =101.42.$
A simulation in R (where
rgammauses the rate, rather than the scale parameter) approximates the numerical values above and illustrates that the distribution of $T$ inherits 'lumpiness' from the discreteness of $N.$ With a million simulated elevator trips, one can expect about three significant digits of accuracy from the simulation, in good agreement with the exact values above. In addition, simulation provides $P(T \le 350) = 0.9609\pm 0.0004.$