Discrete random variables
Connect probability laws, moments and independent observations.
about 35 minutes · 37 practice questions
By the end, you can
- Define a discrete variable and validate its probability mass function
- Calculate expectation, variance and the expectation of a function
- Transform means and variances and use independence only when justified
The central idea
A random variable assigns a numerical value to each outcome. A discrete distribution has nonnegative probabilities summing to 1. Its expectation is and variance is . A linear transformation gives E(aX+b)=aE(X)+b and Var(aX+b)=a²Var(X).
Worked example
For taking and with probabilities and , and . Thus .
The expectation of X² is not generally the square of E(X).
Check your understanding
A variable takes values with probabilities . Validate the law and find its expectation and variance. Find the expectation and variance of . If are independent copies, compare with and explain the difference.
The probabilities are nonnegative and sum to 1. Here and , so .
Thus and . Adding 1 changes the mean but not the spread.
Independence gives , whereas . Two occurrences of the same observation are not independent repetitions.
Practice questions
37 examples and practice questions, in 7 sections.
Checklist and practice map
Ready to try this on your own?
For “Discrete random variables”, try a question without the working and explain your method. This records your confidence, saved in this browser only.