When the value of a variable is determined by a chance event, that variable is called a random variable.
Note: Your browser does not support HTML5 video. If you view this web page on a different browser (e.g., a recent version of Edge, Chrome, Firefox, or Opera), you can watch a video treatment of this lesson.
Random variables can be discrete or continuous.
Some references state that continuous variables can take on an infinite number of values, but discrete variables cannot. This is incorrect.
When comparing discrete and continuous variables, it is more correct to say that continuous variables can always take on an infinite number of values; whereas some discrete variables can take on an infinite number of values, but others cannot.
Problem 1
Which of the following is a discrete random variable?
I. The average height of a randomly selected group of boys.
II. The annual number of sweepstakes winners from New York City.
III. The number of presidential elections in the 20th century.
(A) I only
(B) II only
(C) III only
(D) I and II
(E) II and III
Solution
The correct answer is B.
The annual number of sweepstakes winners results from a random process, but it can only be a whole number - not a fraction; so it is a discrete random variable. The average height of a randomly-selected group of boys could take on any value between the height of the smallest and tallest boys, so it is not a discrete variable. And the number of presidential elections in the 20th century does not result from a random process; so it is not a random variable.
If you would like to cite this web page, you can use the following text: