Course contentsShow
← Data Science
Lesson 128 of 2,1454. Discrete Probability DistributionsFree lesson

Binomial Parameters n and p

Explore how the number of trials n and success probability p determine the shape and spread of the distribution.

Binomial Parameters n and p

You'll learn how the two key parameters—number of trials n and success probability p—control the shape and behavior of a binomial distribution.

The Two Dials That Control Everything

The binomial distribution has exactly two parameters you can adjust, like two dials on a control panel:

  • n: The number of independent Bernoulli trials (coin flips, yes/no questions, etc.)
  • p: The probability of success on each individual trial

These two simple numbers completely determine what your distribution looks like.

How n Affects the Distribution

Think of n as the "sample size" dial. When n is small (say, 5 coin flips), you have fewer possible outcomes and the distribution looks chunky. As n increases (100 flips, 1000 flips), the distribution smooths out and starts looking more bell-shaped. The range of possible successes also grows—with 5 flips you can get 0-5 heads, but with 100 flips you can get 0-100 heads.

How p Affects the Distribution

The probability p controls where the distribution centers and whether it's symmetric:

  • p = 0.5: Perfectly symmetric (like a fair coin). The distribution peaks right in the middle.
  • p < 0.5: Skewed right—most outcomes cluster near zero successes.
  • p > 0.5: Skewed left—most outcomes cluster near n successes.

Together, n and p Determine Spread

The variance of a binomial distribution is n × p × (1 - p). Notice both parameters matter! More trials (n) generally means more spread, but the probability p modulates this—extreme values like p = 0.01 or p = 0.99 actually reduce spread because outcomes become more predictable.

Key Takeaway: The parameters n (trials) and p (success probability) completely define a binomial distribution's center, spread, and symmetry—master these and you control the entire distribution.