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.
This exercise is part of the course
Introduction to Statistics in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Set random seed to 10
___
# Simulate a single deal
___