Open oldoc63 opened 1 year ago
You've familiarized yourself a little bit about how the Poisson distribution works in theory by calculating different probabilities. But let's look at what this might look like in practice.
Create a variable called year_defects that has 365 random values from the Poisson distribution.
You are in charge of monitoring the number of defective products from a specific factory. You've been told that the number of defects on a given day follows the Poisson distribution with the rate parameter (lambda) equal to 7. You remember that the Poisson distribution is special because the rate parameter represents the expected value of the distribution, so in this case, the expected value of the distribution Poisson(7) is 7 defects per day.
You will investigate certain attributes of the Poisson(7) distribution to get an intuition for how many defective objects you should expect to see in a given amount of time.