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.
Este exercício faz parte do curso
Introduction to Statistics in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Probability of closing 3 out of 3 deals
prob_3 = ____
print(prob_3)