Sub topic 2
Discrete versus Continuous Random Variables
Prerequisites and the basic idea
Assume you can work with fractions, decimals, percents, basic probability, and simple graphs. You should also know how to find a mean and read a number line.
A random variable is a numerical outcome of a chance process. For example, let \(X\) be the number of heads in three coin flips. The value of \(X\) changes from trial to trial, but its possible values and probabilities follow a pattern.
Random variables are usually classified as discrete or continuous.
Discrete random variables
A discrete random variable has separate, countable possible values. You can list its values, even if the list is long or infinite.
Examples include:
- The number of defective items in a sample
- The number of students absent from a class
- The number of goals scored in a game
- The number of calls received in one hour
- The number of correct answers on a test
If \(X\) is the number of heads in three coin flips, then
\[ X \in \{0,1,2,3\}. \]
There is no possible outcome such as 1.7 heads. The values are separated.
A discrete random variable can assign positive probability to an individual value. For example,
\[ P(X=2) \]
might equal \(3/8\). The probabilities of all possible values must add to 1.
Continuous random variables
A continuous random variable can take any value in an interval. Its possible values cannot be completely listed because there are infinitely many values between any two different values.
Examples include:
- A person’s height
- The time needed to finish a task
- The temperature at noon
- The weight of a package
- The distance traveled by a car
If \(T\) is a delivery time, then \(T\) might be 24 minutes, 24.1 minutes, or 24.137 minutes. The measurement may be rounded in practice, but the underlying variable is continuous.
For a continuous random variable, probability describes an interval or region:
\[ P(20<T<30). \]
For an ideal continuous model, the probability of one exact value is zero:
\[ P(T=25)=0. \]
This does not mean that a delivery time of exactly 25 minutes is impossible in a practical rounded record. It means that, in the continuous mathematical model, one point has no width and therefore no area.
| Feature | Discrete variable | Continuous variable |
|---|---|---|
| Possible values | Countable, separate values | Any value in an interval |
| Typical question | \(P(X=4)\) | \(P(4<X<5)\) |
| Common examples | Number of students, goals, errors | Height, time, temperature |
A useful decision test
Ask whether the quantity is being counted or measured.
- Counts are usually discrete.
- Measurements are usually continuous.
The wording can matter. “The number of minutes a student studies, rounded to the nearest minute” produces a discrete recorded variable. “The exact time a student studies” is continuous.
A normal random variable, which appears often on the GRE, is continuous. Its graph is a smooth curve. Probabilities correspond to areas under that curve, so the probability of an interval matters rather than the probability at one isolated point.
Exercise
The number of seconds required to solve a problem is recorded to the nearest second. Is the recorded variable discrete or continuous, and what is the underlying exact time?
Show answer
The recorded variable is discrete because its recorded values are separate whole numbers. The underlying exact time is continuous because it could have any value in an interval.