Summarise a random variable with one number and measure its spread. Start with what an expected value means and how to compute it, then use linearity of expectation and find the expected value of a function, and finish with variance, standard deviation and indicator random variables.
No account needed to read a lesson · 30-day money-back guarantee
See the full learning path7
lessons
64
practice questions
64
prerequisite lessons
1 of the 7 lessons here is free to preview - the whole explanation and worked example, with no account and no email.
Live, not a screenshot
Lesson 04 · The variance of a random variable
The diagram from the lesson itself, running live.
The 7 lessons in this unit. Expand any one to see what it covers. Each unlocks when its own prerequisites are passed.
01
Expected value
8 questions
Learn what the expected value of a random variable means and how to compute it from its probability mass function.
Covers
What an expected value means
The expected value formula
02
Linearity of expectation
12 questions
Learn how to use linearity of expectation to find the mean of a combination of random variables.
Covers
Scaling and shifting
The expected value of
Linearity of expectation
03
Expected value of a function of a random variable
8 questions
Learn how to find the mean of a function of a random variable from its PMF, and how to rewrite the mean of an expression as simpler means using linearity of expectation.
Covers
The expected value of
Rewriting using linearity
04
The variance of a random variable
8 questions
Learn what the variance of a random variable measures and the key properties it has.
Covers
Spread about the mean
Properties of variance
05
Computing variance
8 questions
Learn how to compute the variance of a random variable from its probability mass function.
Covers
Variance from the definition
Variance from and
06
The standard deviation of a random variable
8 questions
Learn what the standard deviation of a random variable measures and how scaling and shifting change it.
Covers
Standard deviation as spread in the units of
Rescaling
07
Indicator random variables
12 questions
Learn how indicator random variables link probabilities to expected values, and use them to find the expected value of a count by adding probabilities.
Covers
The indicator random variable of an event
The expected value of a count
Finding an expected count with indicator random variables
This unit is part of our Essential Probability & Statistics for ML learning path, which contains 109 lessons. Every one of them is drawn below.
The diagnostic test lets you skip any lesson you already know, including the ones in this unit.
Hover any dot to name its lesson.
7 lessons in this unit
64 prerequisite lessons across the unit, counting every step back to the start
38 other lessons in the learning path - after this unit, or alongside it
One subscription covers every learning path, and you can test out of anything you already know.
One subscription covers every learning path · 30-day money-back guarantee
More in Probability and Statistics: Sample spaces and events, Counting, Probability fundamentals, Conditional probability and independence, Bayes' theorem and evidence, Discrete random variables