MATH 03 Lesson 3 Random Variables and Probability Distributions PDF
MATH 03 Lesson 3 Random Variables and Probability Distributions PDF
Example:
In a random experiment of tossing two coins,
what will be the possible values of X if X will be the
number of heads obtained?
Random Variable
Realizations of a Random Variable
Determine the realizations of the following random
variables:
1. W = the number of heads that may be obtained in
tossing a coin and a die
2. X = the number of dots on the upturned face of a
tossed die
3. Y = the number of king cards in getting 5 cards from
an ordinary deck of playing cards
4. T = lifetime of a newborn baby
Random Variable
Random
Experiment Realizations of x Classification
Variable x
Inspect 20 Number of
deliveries of defective cellular
cellular phones phones
Number of
Observe the cars
overspeeding
that pass by an
cars in the
intersection
intersection
Get some rice Weight of rice
from a 20 kg sack (in kg)
Time it takes to
finish reading
Read a book
the book (in
seconds)
Probability Distribution of a Discrete Random Variable
Example:
Consider the experiment of tossing a die. Let the
random variable X be defined as the number of dots shown
on the upturned face of a die. Construct a pmf.
Probability Distribution of a Discrete Random Variable
In general, the properties of a probability mass function
are as follows:
1. 𝑃 𝑋 = 𝑥 ≥ 0 – probabilities should be nonnegative.
2. 𝑘𝑖=1 𝑃 𝑋 = 𝑥𝑖 = 1 - the sum of the probabilities for
all possible values of a random variable is equal to 1.
Examples:
1. Two coins are tossed. Let X be the number of heads.
Obtain the pmf of X.
2. Suppose a pmf is given by the formula. Construct a
tabular presentation of the pmf.
𝑥
, 𝑥 = 1, 2, 3, 4
𝑃 𝑋=𝑥 = 10
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Probability Distribution of a Discrete Random Variable
Illustrative Example
Toss a fair coin three times and define x = number of heads
x
HHH
P(x = 0) = 1/8 x p(x)
1/8 3
HHT P(x = 1) = 3/8 0 1/8
1/8 2 1 3/8
HTH
P(x = 2) = 3/8
1/8 2 P(x = 3) = 1/8 2 3/8
THH 3 1/8
1/8 2
HTT 1/8 1 Probability Histogram
for x
THT 1/8 1
TTH 1/8 1
TTT 1/8 0
Probability Distribution of a Discrete Random Variable
Toss two dice and define x p(x)
x = sum of two dice.
2 1/36
3 2/36
4 3/36
5 4/36
6 5/36
7 6/36
8 5/36
9 4/36
10 3/36
11 2/36
12 1/36
Probability Distribution of a Discrete Random Variable
Illustrative Example
The baseball World Series is played by the winner of the National
League and the American League. The first team to win four games wins the
World Series. In other words, the series will consist of four to seven games,
depending on the individual victories. The data shown consist of the number
of games played in the World Series from 1965 through 2005. (There was no
World Series in 1994.) The number of games played is represented by the
variable X. Find the probability P(X) for each X, construct a probability
distribution, and draw a graph for the data.
Probability Distribution of a Discrete Random Variable
Illustrative Example
Probability Distributions and Populations
The mean, variance, and standard deviation for a
probability distribution are computed differently from the mean,
variance, and standard deviation for samples.
Examples:
1. Find the mean of the number of spots that appear when a
die is tossed.
2. In a family with two children, find the mean of the number
of children who will be girls.
Probability Distributions and Populations
Illustrative Examples
1. If three coins are tossed, find the mean of the number of heads that
occur.
2. The probability distribution shown represents the number of trips
of five nights or more that American adults take per year. (That is,
6% do not take any trips lasting five nights or more, 70% take one
trip lasting five nights or more per year, etc.) Find the mean.
Probability Distributions and Populations
The formula for the expected value is the same as the formula for
the theoretical mean. The expected value, then, is the theoretical mean of the
probability distribution. That is, E X = 𝜇
When expected value problems involve money, it is customary to
round the answer to the nearest cent.
Example:
1. One thousand tickets are sold at $1 each for a color television valued at $350.
What is the expected value of the gain if you purchase one ticket?
2. One thousand tickets are sold at $1 each for four prizes of $100, $50, $25,
and $10. After each prize drawing, the winning ticket is then returned to the
pool of tickets. What is the expected value if you purchase two tickets?
Laws of Expected Value and Variance