Understanding Expectation in Introductory Statistics- Key Concepts

What Is Expectation in Statistics?

Expectation (also written as E(X) or μ) is one of the most fundamental concepts in statistics. It represents the long-run average value you'd expect if you repeated an experiment an infinite number of times.

That's the textbook definition. Here's what it actually means: expectation is your best guess for a random variable's typical value before you observe it. Nothing more, nothing less.

The Mathematical Definition

For a discrete random variable, expectation is calculated as:

E(X) = Σ x · P(X = x)

For a continuous random variable:

E(X) = ∫ x · f(x) dx

Where f(x) is the probability density function.

Translation: you multiply each possible outcome by its probability, then add everything up. That's it.

Key Properties of Expectation

Linearity: The Most Important Property

Expectation is linear. This means:

This property makes expectation incredibly useful. You don't need to know the joint distribution of X and Y to add their expectations.

Expectation Is Not Multiplicative

Unlike linearity, multiplication doesn't work simply:

E(XY) ≠ E(X) · E(Y) (unless X and Y are independent)

Many students get burned by assuming otherwise. Remember: independence is required for products of expectations.

Expectation vs. Average: Are They the Same?

Short answer: sometimes.

The sample mean (what you calculate from actual data) is an estimate of the population expectation. When we talk about expectation, we're usually referring to the theoretical, population-level value. The average you calculate from data is just an approximation.

Think of expectation as the truth you're trying to estimate. The sample mean is your best tool for getting there.

Common Distributions and Their Expectations

DistributionParametersExpectation E(X)
Bernoullipp
Binomialn, pnp
Poissonλλ
Normalμ, σ²μ
Exponentialλ1/λ
Uniforma, b(a+b)/2

Notice that for the normal distribution, the expectation equals the first parameter μ. This is why μ represents the mean.

How to Calculate Expectation: Step by Step

Let's work through a simple example. Suppose you roll a fair die. What's the expected value?

  1. Identify all possible outcomes: {1, 2, 3, 4, 5, 6}
  2. Identify probabilities: Each outcome has probability 1/6
  3. Multiply each outcome by its probability: 1(1/6) + 2(1/6) + 3(1/6) + 4(1/6) + 5(1/6) + 6(1/6)
  4. Sum the results: 21/6 = 3.5

The expected value is 3.5 — which is not an actual outcome you can roll. This confuses people. The expectation is a theoretical average, not a guaranteed result.

Expectation of a Function of a Random Variable

What if you want E(g(X)) for some function g?

E(g(X)) ≠ g(E(X)) in general.

For example, if X has E(X) = 0, you might think E(X²) = 0. But variance shows us this is wrong — E(X²) is actually the variance plus the square of the mean.

The correct formula: E(g(X)) = Σ g(x) · P(X = x) for discrete cases.

Where You'll Actually Use This

Expectation isn't just theoretical. It shows up in:

Common Mistakes to Avoid

Getting Started Checklist

Before you move on:

Expectation is the foundation for variance, covariance, and virtually every advanced statistical concept. If you don't nail this down now, you'll be rebuilding your understanding later. 🔢