Question: in python Write a function called sample_poisson_mixture that samples from a mixture of two Poisson distributions. You will need to include as arguments the lambda
in python Write a function called sample_poisson_mixture that samples from a mixture of two Poisson distributions. You will need to include as arguments the lambda parameters of the two Poissons, and the probability of sampling from one Poisson over the other: def sample_poisson_mixture(sample_size, lam1, lam2, p=0.5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
