Patients enter emergency department following a Poisson process with intensity 6 patients per hour.
- Calculate the probability that during 90 minute interval there will have entered exactly 7 patients.
- The last patient arrived at 13:00. What is the probability that the next patient will arrive before 13:15?
So, my solution:
$$\lambda = 1.5 * 6 = 9 \\ P(X = 7) = \frac{e^{-9} 9^7}{7!} \approx 0.117$$
$$\ \ \lambda = \frac{6}{60} \cdot 15 = \frac{3}{2} \\ P(X = 1) = \frac{e^{-3/2}\cdot \frac{3}{2}}{1!} \approx 0.552$$
I am not sure about the second one.
dpois
is a Poisson PDF, codedpois(7,9)
returns $0.1171161.$ $\endgroup$