Introduction to Discrete Random Variables

This photo shows branch lightening coming from a dark cloud and hitting the ground.

You can use probability and discrete random variables to calculate the likelihood of lightning striking the ground five times during a half-hour thunderstorm. (Credit: Leszek Leszczynski)

A student takes a ten-question, true-false quiz. Because the student had such a busy schedule, he or she could not study and guesses randomly at each answer. What is the probability of the student passing the test with at least a 7070?

Small companies might be interested in the number of long-distance phone calls their employees make during the peak time of the day. Suppose the average is 2020 calls. What is the probability that the employees make more than 2020 long-distance phone calls during the peak time?

These two examples illustrate two different types of probability problems involving discrete random variables. Recall that discrete data are data that you can count. A random variable describes the outcomes of a statistical experiment in words. The values of a random variable can vary with each repetition of an experiment.

Random Variable Notation

Upper case letters such as XX or YY denote a random variable. Lower case letters like xx or yy denote the value of a random variable. If XX is a random variable, then XX is written in words, and xx is given as a number.

For example, let XX = the number of heads you get when you toss three fair coins. The sample space for the toss of three fair coins is TTTTTT; THH; HTH; HHT; HTT; THT; TTH; HHH[/latex]. Then, x=0,1,2,3x=0,1,2,3. XX is in words and xx is a number. Notice that for this example, the xxvalues are countable outcomes. Because you can count the possible values that XX can take on and the outcomes are random (the xx values 0,1,2,30,1,2,3), XX is a discrete random variable.

Activity

Toss a coin ten times and record the number of heads. After all members of the class have completed the experiment (tossed a coin ten times and counted the number of heads), fill in a table like the one below. Let XX = the number of heads in ten tosses of the coin.

xx Frequency of xx Relative Frequency of xx
  1. Which value(s) of xx occurred most frequently?
  2. If you tossed the coin 1,0001,000 times, what values could xxtake on? Which value(s) of xx do you think would occur most frequently?
  3. What does the relative frequency column sum to?

Glossary

Random Variable (RV)
a characteristic of interest in a population being studied; common notation for variables are upper case Latin letters XX, YY, ZZ,…; common notation for a specific value from the domain (set of all possible values of a variable) are lower case Latin letters x,y,x,y, and zz. For example, if XX is the number of children in a family, then xx represents a specific integer 0,1,2,3,....0,1,2,3,.... Variables in statistics differ from variables in intermediate algebra in the two following ways.

  • The domain of the random variable (RV) is not necessarily a numerical set; the domain may be expressed in words; for example, if XX = hair color then the domain is {black, blond, gray, green, orange}.
  • We can tell what specific value xx the random variable XX takes only after performing the experiment.