menu_book Course Curriculum (Statistics) expand_more
Descriptive Statistics
Probability
Distributions
Sampling & Estimation
Hypothesis Testing
binomial distribution
Learn binomial distribution in Statistics with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Intermediate
statistics-018.py
python
from math import comb
n=10; p=.3; k=4
prob=comb(n,k)*(p**k)*((1-p)**(n-k))
print(prob)
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content