Session Ready
Exercise

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.

Instructions 1/3
undefined XP
  • 1
    • Set the random seed to 10 and simulate a single deal.
    • 2
      • Simulate a typical week of Amir's deals, or one week of 3 deals.
    • 3
      • Simulate a year's worth of Amir's deals, or 52 weeks of 3 deals each, and store in deals.
      • Calculate the mean number of deals he won per week.