Random Variables and Probability Distributions
Random Variables and Probability Distributions
Variables and
Probability
Distributions
Random Variable
• A random variable x takes on a defined set of
values with different probabilities.
• For example, if you roll a die, the outcome is random
(not fixed) and there are 6 possible outcomes, each of
which occur with probability one-sixth.
TTTT 0
TTTH 1
TTHT 1
TTHH 2
THTT 1
THTH 2
THHT 2
THHH 3
HTTT 1
HTTH 2
HTHT 2
HTHH 3
HHTT 2
HHTH 3
HHHT 3
HHHH 4
CONSTRUCTING
PROBABILITY DISTRIBUTION
Find the probability of the following events.
1.Getting an even number in a single roll of a
die.
2.Getting a sum of 6 when two dice are rolled.
deck
4.The probability that all children are boys if a
Exercises:
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.
Sample space:
{TTT, TTH, THT, HTT, HHT, HTH, THH, HHH}
Possible Value of the Random Variable Y
Outcomes (number of tails)
TTT 3
TTH 2
THT 2
HTT 2
HHT 1
HTH 1
THH 1
HHH 0
Number of Probability
Tails P(Y)
0 1/8
1 3/8
2 3/8
3 1/8
Constructing Probability Distributions
Exercises:
Two balls are drawn in succession
without replacement from an urn
containing 5 red balls and 6 blue
balls. Let z be the random variable
representing the number of blue
balls. Construct the probability
distribution of the random variable
Z.
Sample space:
{RR, RB, BR, BB}
Possible Value of the Random Variable Z
Outcomes (number of blue balls)
RR 0
RB 1
BR 1
BB 2
Number of Probability
Blue Balls Z P(Z)
0 ¼
1 ½
2 1/4
TOTAL 1
Constructing Probability Distributions
Exercises:
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.
Sample space:
{TTT, TTH, THT, HTT, HHT, HTH, THH, HHH}
Possible Value of the Random Variable Y
Outcomes (number of tails)
TTT 3
TTH 2
THT 2
HTT 2
HHT 1
HTH 1
THH 1
HHH 0
Number of Probability
Tails P(Y)
0 1/8
1 3/8
2 3/8
3 1/8
Properties of a Probability
Distribution
1. The probability of each value of the
random variable must be between
or equal to 0 and 1. in symbols, we
write it as 0< P(x) < 1.
2. The sum of the probabilities of all
values of the random variable must
be equal to 1. in symbol, we write it
as P(X) = 1.
Computing the Mean of a
Discrete Probability Distribution
The probabilities that the number
of tails that occur in tossing three
coins are 1/8, 3/8, 3/8, and 1/8
respectively. What is the average
that a tail will occur?
Number Probabili
of Tails ty Y P(Y)
Y P(Y)
0 1/8 0
1 3/8 3/8
2 3/8 6/8
3 1/8 3/8
YP(Y)= 12/8=1.5
Computing the Mean of a
Discrete Probability Distribution
The probabilities that a costumer
will buy 1, 2 , 3, 4, or 5 items in a
grocery store are 3/10, 1/10, 1/10,
2/10, and 3/10, respectively. What
is the average number of items
that a costumer will buy?
Number of Probabilit
Items y X P(X)
X P(X)
1 3/10
2 1/10
3 1/10
4 2/10
5 3/10
XP(X)=
Computing the Variance of a
Discrete Probability Distribution
When three coins are tossed, the
probability distribution for the
random variable Y representing the
number of tails that occur is given
below. Compute the variance and
standard deviation of the
probability distribution.
Number Probabili
of Tails ty Y P(Y)
Y P(Y)
0 1/8 0
1 3/8 3/8
2 3/8 6/8
3 1/8 3/8
YP(Y)= 12/8=1.5
Numb Proba
Y2
er of bility Y
Y2 P(Y)
Tails P(Y) P(Y)
Y
0 1/8 0 02 =0 0
1 3/8 3/8 1 = 1 3/8
2