Chapter 5 Packet-Revised-1
Chapter 5 Packet-Revised-1
Variables that can assume all values in the interval between any two given values are
called continuous variables. Continuous random variables are obtained from data that
can be measure rather than counted. Examples of continuous variables are heights,
weights, temperatures, and time.
Example # 1: In the table below decide if the given example is that of a discrete random
variable or a continuous random variable.
1
A discrete probability distribution consists of the values a random variable can assume
and the corresponding probabilities of the values. The probabilities are determined
theoretically or by observation. Discrete probability distribution can be shown by using a
graph, a table, or a formula.
Example # 2: A die is rolled. Assume that a random variable X represents the outcomes
of this experiment. Construct a probability distribution table and represent this probability
distribution graphically. (Use the x-axis for values of X and the y-axis for P(X)).
Outcome X
Probability P(X)
Example # 3: A coin is tossed 3 times. Suppose that the random variable X is defined as
the number of heads. Construct a probability distribution of X and represent this
probability distribution graphically. (Use the x-axis for values of X and the y-axis for
P(X)).
X 0 1 2 3
Probability P(X) 1/8 3/8 3/8 1/8
2
Example # 4: A coin is tossed 3 times. Suppose that the random variable X is defined as
the difference between the number of heads and the number of tails. Construct a
probability distribution of X and represent this probability distribution graphically. (Use
the x-axis for values of X and the y-axis for P(X)).
X -3 -1 1 3
Probability P(X)
Example # 5: A box contains three $1 bills, two $5 bills, four $10 bills, and one $20 bill.
Construct a probability distribution for the data if X represents the value of a single bill
drawn at random and then replaced.
X
P(X)
Value # of bills
$1
$5
$10
$20
Total:
3
Requirements for a Probability Distribution.
1. The sum of the probabilities of all events in the sample space must equal 1.
P( X ) = 1
2. The probability of each event in the sample space must be between or equal to 1
or 0.
0 P( X ) 1
X 20 30 40 50
P(X) 0.05 0.35 0.4 0.2 YES!
20(0.05) + 30(0.35) + 40(0.4) + 50(0.2) = 37.5 = Mean
Example # 7: Determine whether the distribution represents a probability distribution.
X 7 14 21
NO!
P(X) 0.3 0.1 1.7
0.3+0.1+1.7=2.1 Sum P(x) > 1
Example # 8: Determine whether the distribution represents a probability distribution.
X 5 7 9
P(X) 0.6 0.8 - 0.4 NO!
20*20*0.05+30*30*0.35+40*40*0.4+50*50*0.2 = 8.291561976
20 315 640 500 8.29
8.292 4
8.2916
Rounding rule for the Mean, Variance , and Standard Deviation for a
Probability Distribution
The mean, variance, and standard deviation for a probability distribution should be
rounded to one more decimal place than the outcome X.
Example # 9: Find the mean, variance, and the standard deviation of the number of spots
that appear when a die is tossed. (Use the distribution from Example # 2).
Outcome X 1 2 3 4 5 6
Probability P(X) 1/6 1/6 1/6 1/6 1/6 1/6
Probability is the # of ways that I get what I want over the total # of way possible!
Mean = sum of the X * P(X)
1*(1/6) + 2*(1/6) + 3*(1/6) + 4*(1/6) +5 *(1/6) + 6*(1/6) = 3.5
Variance = {sum of X * X * P(X)} - 12.25
1*1*(1/6) + 2*2*(1/6)+3*3*(1/6) + 4*4*(1/6) + 5*5*(1/6) +6*6*(1/6)
(1/6) (4/6) (9/6) (16/6) 25/6 36/6 91/6 = 15.1666667
15.1666667 - 12.25 = 2.9166667 = Variance
2.92 = rounding to 2 decimal places
2.917 = rounding to 3 decimal places
2.9167 = rounding to 4 decimal places
Standard Deviation = square root of the Variance = square root of 2.91666667 = 1.707825128
Example # 10: A coin is tossed 3 times. Find the mean, variance, and the standard
deviation for the number of heads. (Use the distribution from Example # 3).
X 0 1 2 3
Probability P(X) 1/8 3/8 3/8 1/8
Mean = sum of X * P(X) = 0 + (.375) + (.75) + (.375) = 1.5
Mean * Mean
Variance = {sum of X * X * P(X)} - (Mean * Mean) 1.5 * 1.5 = 2.25
5
Example # 11: A coin is tossed 3 times. Suppose that the random variable X is defined
as the difference between the number of heads and the number of tails. Find the
mean, variance, and the standard deviation for X. (Use the distribution from Example 4).
X -3 -1 1 3
Probability P(X)
Expectation
Example # 12: One thousand lottery tickets are sold at $1 each. The prize is a television
value at $350. What is the expected value of the gain if you purchase one ticket?
Win Lose
Gain X
Probability P(X)
6
Example # 13: A lottery offers one $1000 prize, one $500 prize, and five $100 prizes.
One thousand tickets are sold at $3 each. Find the expectation if a person buys one ticket.
Example # 14: A ski resort loses $70,000 per season when it does not snow very much
and makes $250,000 profit when it does snow a lot. The probability that it will snow at
least 75” (it means a good season) is 40%. Find the expectation for the profit.
7
Section 5.3 The Binomial Distribution.
A binomial experiment is a probability experiment that satisfies the following four
requirements:
1. There must be a fixed number of trials.
2. Each trial can have only two outcomes or outcomes can be reduced to two
outcomes. These outcomes can be considered as either success or failure.
4. The probability of a success must remain the same for each trial.
Example # 15: Which of the following are binomial experiments or can be reduced to
binomial experiment?
b) Drawing 10 cards from a deck with replacement and counting the number of
diamonds
c) Drawing 10 cards from a deck without replacement and counting the number of
diamonds
e) Taking a 20- question, multiple-choice exam with 5 choices for each question.
( Assume that a student guesses all answers).
Example # 16: A coin is tossed 4 times. Suppose that the random variable X is
defined as the number of heads. Construct a probability distribution of X and draw the
probability histogram.
Outcome
X
Outcome
X
X 0 1 2 3 4
Probability P(X)
8
Binomial Probability Formula
n!
P( X ) = p X q n− X where
(n − X )! X !
Problem # 17: Complete the probability of X successes, using the binomial formula.
n = 8, X = 5, p = 0.3.
Example # 18: Form the binomial distribution of the experiment of rolling a die 3 times
and counting the number of times a 5 turns up.
n= p= q=
X P(X)
Total
9
Problem # 19: A students takes a 7 – question, true/false exam and guesses on each
question.
n= p= q=
Problem # 20: A students takes a 6 – question, multiple-choice exam with four choices
for each question and guesses on each question.
n= p= q=
10
Example # 21: It is reported that 77% of workers aged 16 and over drive to work
alone. Choose 8 workers at random. Find the probability that
a) n = 4, p = 0.60, X = 3
c) n = 16, p = 0.20 , X = 5
The mean, variance, and the standard deviation of a variable that has the binomial
distribution can be found by using the following formulas.
Example # 23: Find the mean, variance, and standard deviation for the number of heads
when ten coins are tossed.
Example # 24: If 3% of calculators are defective, find the mean, variance, and standard
deviation of a lot of 300 calculators.
11