Seyed Masoud Hosseini · Overview · Study log · Ideas · Transcript · RSS feed
Probability · Lecture 20 of 76 · 50:52
Lecture 6: Discrete Random Variables II
Study guide
What this lecture covers
This lecture continues the study of discrete random variables, reviewing expected value and the expected value rule before introducing variance, standard deviation, conditional PMFs and conditional expectation, the memorylessness property of the geometric random variable, the total expectation theorem, and joint PMFs of two random variables.
After watching, you should be able to compute and interpret variance and standard deviation, explain why expectation does not commute with nonlinear functions, compute conditional PMFs and conditional expectations, use the memorylessness property and total expectation theorem to derive the expected value of a geometric random variable without heavy algebra, and read joint, marginal, and conditional PMFs from a table.
Key ideas
- Variance and standard deviation: variance
Var(X) = E[(X - E[X])^2]measures the average squared distance from the mean; standard deviation is its square root, restoring the original units ofX. - Nonlinearity breaks averaging shortcuts:
E[g(X)]generally does not equalg(E[X])for nonlinearg, andE[XY]generally does not equalE[X]E[Y], illustrated with a speed/time example where average speed times average time does not equal average distance. - Conditional PMF and conditional expectation: conditioning on an event rescales the probabilities of the remaining outcomes to sum to 1 while preserving their relative proportions; conditional expectation is an ordinary expectation computed with these conditional probabilities.
- Memorylessness of the geometric distribution: given that the first few coin tosses were tails, the number of further tosses needed to get a head has the same distribution as starting fresh, because coin tosses are independent.
- Total expectation theorem:
E[X] = sum over scenarios of P(scenario) * E[X | scenario], letting you compute an expectation by dividing into cases. - Joint, marginal, and conditional PMFs: the joint PMF
p_{X,Y}(x,y)gives the probability of a pair of outcomes; summing over one variable gives the marginal PMF of the other; conditioning on a fixed value of one variable and rescaling gives the conditional PMF of the other.
Walkthrough
Review of PMFs and expectation (1:00)
The lecture recaps random variables, PMFs, and expected value from the previous lecture, along with the expected value rule for computing E[g(X)] directly from the PMF of X, and linearity of expectation for linear functions.
Variance and standard deviation (6:05)
Noting that the average signed distance from the mean is always zero, the lecture motivates variance as the average squared distance from the mean, derives it as an application of the expected value rule, and introduces standard deviation as its square root to restore the original units, illustrated with a two-speed travel example (1 mph vs. 200 mph, each with probability 1/2).
Why you can't reason on the average with nonlinear functions (14:12)
Continuing the travel example, the lecture computes E[T] (expected time) and shows that E[T] * E[V] does not equal E[TV] (which is exactly the fixed distance, 200), demonstrating that expectation does not commute with nonlinear functions like products or reciprocals.
Conditional PMFs and conditional expectation (17:13)
Conditional PMFs are introduced as ordinary PMFs applied to a new, conditioned model: the relative probabilities of remaining outcomes stay proportional but are rescaled to sum to 1. Conditional expectation is then just an ordinary expectation computed with these conditional probabilities, and every formula for expectations has a direct conditional counterpart.
Memorylessness of the geometric random variable (24:24)
Using a thought experiment comparing two coin-flippers, one who already flipped two tails and one starting fresh, the lecture argues intuitively and then formally (via PMF shifting) that the number of remaining flips until the first head has the same geometric distribution regardless of past failures — the memorylessness property.
Total expectation theorem and the expected value of a geometric random variable (34:44)
The total expectation theorem is stated as the PMF analogue of the law of total probability. Applying it by conditioning on whether the first toss is heads or tails, and using memorylessness to relate the conditional expectation for the "tails" case back to E[X] itself, the lecture derives E[X] = 1/p for a geometric random variable without evaluating an infinite sum directly.
Joint, marginal, and conditional PMFs (41:57)
To capture the relationship between two random variables from the same experiment (such as height and weight), the lecture introduces the joint PMF p_{X,Y}(x,y), represented as a table, and shows how to recover a marginal PMF by summing over the other variable, and a conditional PMF by fixing one variable's value and rescaling the corresponding slice of the table.
Before you watch
- Review PMFs, expected value, and the expected value rule from the previous lecture in this course, since this lecture builds directly on them.
- Be comfortable with conditional probability and the law of total probability from earlier in the course.
Check your understanding
- Why does variance use squared distance from the mean rather than signed distance?
- In the travel example, why does
E[TV]differ fromE[T] * E[V]? - How does the memorylessness property simplify the derivation of the geometric random variable's expected value?
- What does the total expectation theorem let you do that computing an expectation directly might not?
- How do you recover a marginal PMF from a joint PMF table, and how does that differ from computing a conditional PMF?
Chapters
- 0:00 Introduction
- 0:22 Random variable review
- 2:58 Expected value concepts
- 5:15 Properties of expectation
- 6:28 Variance and standard deviation
- 8:25 Expected value examples
- 14:06 Nonlinear expectation pitfalls
- 17:47 Conditional expectations
- 24:33 Geometric random variable
- 25:53 Expected value of geometric
- 27:29 Memoryless property
- 34:23 Total expectation theorem
- 37:24 Geometric expectation derivation
- 42:21 Joint probability mass functions
- 46:16 Conditional PMFs
From the YouTube description
MIT 6.041 Probabilistic Systems Analysis and Applied Probability, Fall 2010
View the complete course: http://ocw.mit.edu/6-041F10
Instructor: John Tsitsiklis
License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu
← PMF of a Function of a Random Variable · Flipping a Coin a Random Number of Times →
