Calculating binomial probabilities
Just as in the last exercise, assume that Amir wins 30% of deals. He wants to get an idea of how likely he is to close a certain number of deals each week. In this exercise, you'll calculate what the chances are of him closing different numbers of deals using the binomial distribution.
binom
is imported from scipy.stats
.
This exercise is part of the course
Introduction to Statistics in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Probability of closing 3 out of 3 deals
prob_3 = ____
print(prob_3)