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

Variance and Standard Deviation of Discrete Distributions

Calculate variance and standard deviation to measure spread in discrete probability distributions and understand their interpretations.

Variance and Standard Deviation of Discrete Distributions

You'll learn how to measure how spread out the outcomes of a discrete random variable are around its expected value.

The Core Idea

While the expected value tells you the "center" of a discrete probability distribution, it doesn't tell you how much values typically deviate from that center. Variance and standard deviation quantify this spread.

Think of two games: In Game A, you win 10or10 or 12 with equal probability (expected value: 11).InGameB,youwin11). In Game B, you win 1 or 21withequalprobability(alsoexpectedvalue:21 with equal probability (also expected value: 11). Both games have the same expected value, but Game B is much riskier—its outcomes are more spread out. Variance captures this difference.

Calculating Variance

For a discrete random variable X with PMF P(X = x):

Variance = σ² = E[(X - μ)²] = Σ[(x - μ)² · P(X = x)]

Where μ is the expected value you already know how to calculate.

In plain English: For each possible outcome, find how far it is from the mean, square that distance, multiply by the probability, and sum everything up.

Standard Deviation

Standard deviation (σ) is simply the square root of variance:

σ = √(Variance)

Why take the square root? Variance is in "squared units" (like dollars²), which is hard to interpret. Standard deviation brings us back to the original units (dollars), making it easier to understand.

Interpretation

  • Higher variance/standard deviation = outcomes are more spread out, more unpredictable
  • Lower variance/standard deviation = outcomes cluster tightly around the expected value, more predictable

Key Takeaway: Variance and standard deviation measure the spread of a discrete distribution around its expected value, helping you understand risk and variability beyond just knowing the average outcome.