Simulating sales deals
Assume that Amir usually works on 3 deals per week, and overall, he wins 30% of deals he works on. Each deal has a binary outcome: it's either lost, or won, so you can model his sales deals with a binomial distribution. In this exercise, you'll help Amir simulate a year's worth of his deals so he can better understand his performance.
numpy is imported as np.
Cet exercice fait partie du cours
Introduction to Statistics in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Import binom from scipy.stats
____
# Set random seed to 10
____