On this page
What this lesson covers
A random variable assigns a number to each uncertain outcome; discrete variables have countable values, while continuous variables can take any value within a range.
Distinguish the probability mass function, density function and cumulative distribution function. Use a PMF sum for discrete outcomes or the difference between CDF values to find probability over a continuous interval.
Key points
- Random variable: A random variable is a rule that attaches a number to each possible outcome of an uncertain event.
- Probability mass function: The probability mass function, or PMF, gives the probability that the variable equals each exact value.
- Cumulative distribution function: The cumulative distribution function, or CDF, gives the probability that the variable is less than or equal to a chosen value x.
- Probability density function: For a continuous variable, the probabilities are spread across the range by a curve called the probability density function, or PDF.
Common mistakes
- Trying to recover a discrete variable’s point probabilities from a density uses the wrong representation because its PMF lists those probabilities directly.
Try a practice question
Choose an answer, then check it to read the explanation for every option.
Continue studying in Quizara
In Quizara the lesson comes with more practice questions on the topic, explanations for every option and an AI tutor for your follow-up questions.
Written by the Quizara Editorial Team under our editorial standards.