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.
Latihan ini adalah bagian dari kursus
Introduction to Statistics in Python
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Probability of closing 3 out of 3 deals
prob_3 = ____
print(prob_3)