Random Variables and Constructing Probability Distributions
Random Variables and Constructing Probability Distributions
OBJECTIVES:
RANDOM VARIABLE
element in the sample space. It is a variable whose values are determined by chance.
outcomes is countable. Mostly, discrete random variables represent count data, such
Suppose three cell phones are tested at random. We want to find out the number of
defective cell phones that occur. Thus, to each outcome in the sample space we shall
assign a value these are 0, 1, 2 or 3. If there is no defective cell phone, we assign the
number 0; if there is one defective cell phone, we assign the number 1; if there are two
defective cell phones, we assign the number 2; and 3 if there are three defective cell
phones. The number of defective cell phones is a random variable. The possible values
of this random variable are 0, 1, 2 and 3.
SOLUTION:
Steps Solution
1. Determine the sample space. Let D The sample space for this experiment is:
represent defective cell phone and N S = {NNN, NND, NDN, DNN, NDD, DND,
represent the non-defective cell DDN,DDD }
phone.
NNN 0
NND 1
NDN 1
DNN 1
NDD 2
DND 2
DDN 2
DDD 3
Suppose three coins are tossed. Let Y be the random variable representing the number
of tails that occur. Find the values of the random variable Y.
SOLUTION:
Steps Solution
1. Determine the sample space. Let H The sample space for this experiment is:
represent head and T represent tail. S = {TTT, TTH, THT, HTT, HHT, HTH, THH,
HHH}
TTT 3
TTH 2
THT 2
HTT 2
HHT 1
HTH 1
THH 1
HHH 0
The random variables in the preceding examples are called DISCRETE RANDOM
VARIABLE.
CONSTRUCTING PROBABILITY DISTRIBUTIONS
EXAMPLE 1
Suppose three coins are tossed. Let Y be the random variable representing the
number of tails that occur. Find the probability of each of the values of the random
variable Y.
SOLUTION:
STEPS SOLUTION
1. Determine the sample space. Let H The sample space for this experiment is:
represent head and T represent tail. S = {TTT, TTH, THT, HTT, HHT, HTH, THH, HHH}
Number of Tails Y 0 1 2 3
Probability P(Y)
EXAMPLE 2
Suppose three cell phones are tested at random. Let D represent the defective cell
phone and let N represent the non-defective cell phone. If we let X be the random
variable for the number of defective cell phones, construct the probability
distribution of the random variable X.
SOLUTION:
STEPS SOLUTION
1. Determine the sample space. Let D represent The sample space for this experiment is
the defective cell phone and N represent the S = {NNN, NND, NDN, DNN, NDD,DND, DDN,
non-defective cell phone. DDD}
Value of the Random
Variable X
Possible Outcomes (number of defective cell
phones)
NNN 0
2. Count the number of defective cell phones in NND 1
each outcome in the sample space and assign NDN 1
this number to this outcome. DNN 1
NDD 2
DND 2
DDN 2
DDD 3
3. There are four possible values of the random variable
X representing the number of defective cell phones.
These are 0, 1, 2, and 3. Assign probability values P(X),
to each value of the random variable. Number of Defective
Probability P(X)
There are 8 possible outcomes and no defective Cell Phones X
cell phone occurs once, so the probability that
we shall assign to the random variable 0 is . 0
There are 8 possible outcomes and 1 defective
cell phone occurs three times, so the probability
that we shall assign to the random variable 1 is 1
.
There are 8 possible outcomes and 2 defective 2
cell phones occur three times, so the probability
that we shall assign to the random variable 2 is
. 3
There are 8 possible outcomes and 3 defective
cell phones occur once, so the probability that
we shall assign to the random variable 3 is .
Table 1.2. The Probability Distribution or the Probability Mass Function
of Discrete Random Variable X
Number of
Defective Cell 0 1 2 3
phones X
Probability P(X)