11.11 LAB: Poisson distribution
• Generate a Poisson distribution r1 of 8 numbers with a user input mean, lam.
• Generate a Poisson distribution r2 of 20 numbers with a mean of lam.
• Generate a Poisson distribution r3 of 100 numbers with a mean of lam.
• Find the cumulative probability of user defined integer x or fewer successes for a Poisson distribution with
a mean of lam
• Find the theoretical mean of the generated Poisson distributions
• Calculate the actual means of r1, r2, and r3
Ex: When the input is:
2
5
the output is:
Cumulative probability is 0.12465201948308108
Theoretical mean is 5.0
Mean of r1 is 6.0
Mean of r2 is 5.35
Mean of r3 is 5.13