Fiveable

🎣Statistical Inference Unit 2 Review

QR code for Statistical Inference practice questions

2.3 Expectation and Variance

2.3 Expectation and Variance

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🎣Statistical Inference
Unit & Topic Study Guides

Random variables are the building blocks of statistical inference. They help us model uncertainty and variability in real-world phenomena. Understanding their expected values and variances is crucial for making predictions and drawing conclusions from data.

Expectation gives us the average outcome, while variance measures spread. These concepts are fundamental in fields like finance, insurance, and scientific research. They allow us to quantify risk, estimate probabilities, and make informed decisions based on statistical analysis.

Expectation of Random Variables

Expected value calculation

  • Expected value (E[X]) measures central tendency of random variable, represents average outcome over many trials
  • Discrete random variables: E[X]=xxP(X=x)E[X] = \sum_{x} x \cdot P(X=x), sum each value multiplied by probability (coin flips, dice rolls)
  • Continuous random variables: E[X]=xf(x)dxE[X] = \int_{-\infty}^{\infty} x \cdot f(x) dx, integral of value and probability density function (height, weight)

Long-run average interpretation

  • Theoretical mean of infinite repetitions, converges to expected value as sample size increases
  • Law of Large Numbers states sample mean approaches expected value with larger samples
  • Applied in gambling (roulette), insurance premiums, and financial modeling (stock returns)
Expected value calculation, Discrete Random Variables (3 of 5) | Concepts in Statistics

Variance and Properties

Variance and standard deviation

  • Variance (Var(X)) measures spread around expected value: Var(X)=E[(XE[X])2]Var(X) = E[(X - E[X])^2]
  • Standard deviation: SD(X)=Var(X)SD(X) = \sqrt{Var(X)}, same units as original data
  • Discrete: Var(X)=x(xE[X])2P(X=x)Var(X) = \sum_{x} (x - E[X])^2 \cdot P(X=x) (exam scores, number of customers)
  • Continuous: Var(X)=(xE[X])2f(x)dxVar(X) = \int_{-\infty}^{\infty} (x - E[X])^2 \cdot f(x) dx (temperature, rainfall)
Expected value calculation, Introduction to Continuous Random Variables | Introduction to Statistics

Properties of expectation and variance

  • Linearity of expectation: E[aX+b]=aE[X]+bE[aX + b] = aE[X] + b, E[X+Y]=E[X]+E[Y]E[X + Y] = E[X] + E[Y]
  • Variance properties: Var(aX+b)=a2Var(X)Var(aX + b) = a^2Var(X), Var(X+Y)=Var(X)+Var(Y)Var(X + Y) = Var(X) + Var(Y) for independent variables
  • Independence and covariance: Cov(X, Y) = 0 for independent variables
  • Expectation of products: E[XY]=E[X]E[Y]E[XY] = E[X]E[Y] for independent variables (investment returns, biological measurements)

Law of unconscious statistician

  • LOTUS calculates expectations of functions of random variables
  • Discrete: E[g(X)]=xg(x)P(X=x)E[g(X)] = \sum_{x} g(x) \cdot P(X=x)
  • Continuous: E[g(X)]=g(x)f(x)dxE[g(X)] = \int_{-\infty}^{\infty} g(x) \cdot f(x) dx
  • Used for moments of random variables, deriving probability distributions of transformed variables
  • Relates to change of variables technique for complex expectation calculations (squared returns, logarithmic transformations)
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →