Lesson 1 Exploring Random Variables
Lesson 1 Exploring Random Variables
E(x) xp(x).
4.3: Expected Values of
Discrete Random Variables
The variance of a discrete random
variable x is
P( x ) ≥0 .68
P( 2 x 2 ≥ .75 .95
)
≥ .89 1.00
P( 3 x 3
)
4.3: Expected Values of
Discrete Random Variables
In a roulette wheel in a U.S. casino, a $1 bet on
“even” wins $1 if the ball falls on an even number
(same for “odd,” or “red,” or “black”).
The odds of winning this bet are 47.37%
P(win $1) .4737
P(lose $1) .5263
$1.4737 $1.5263 .0526
.9986
On average, bettors lose about a nickel for each dollar they put down on a bet like this.
(These are the best bets for patrons.)
Binomial Distribution
Tree Diagram
4 Properties of Binomial Distribution
Throwing a die
Tree Diagram
X ~ B(n,p)
X – number of
successes in a trial
X ~ B(3, 1/6)
Is there a formula for calculating
Binomial Probabilities rather than draw
a tree diagram?
There are five things you need to do to
work a binomial story problem.
I 1 }+(! x.1.x.1.)
I P(6)
' P(G) -; l /6 b 6 6
6 b
b
6
6 b
t P ( 6) = S/
1st throw =5/6
2n dthrow : 3rd throw
G
l '
The General Binomial
Probability Formula
Where: q = 1 - p
W: y. w..
I I I ,f
I
I
I
I . • -- 'IJ.
I -n:it.,f\-
I ' t I . x.,.....t: ,
) l5: c.3
=-
1 I
I -i ''"1
(tJ( ,_
P(6) I I
6
I I
I
I I
I
= 10(±1-
\,..;
I
I I I s(t)
.
- -:!.{s
I I
1'N (.& , \
I I I I(.)
P ( <i') =
5
I
II I
'?('><. )-:: c.{ (t)\
(i
Q)\
- I
I I
I I
I
I
I I
I
I I
The General Binomial
Probability Formula
In the old days, there was a probability of 0.8 of success
in any attempt to make a telephone call. Calculate the
probability of having 7 successes in 10 attempts.
Mean and Variance
r \
A
Y-.- ( " . f )
=- 24 times
normal 6 sided fair die is thrown ...,o..:.,
" ( '· and the number of 6's
scored Is recorded. Flnd the mean and variance.
;e
u.E- '!- w . . f.V N• .f. 1
" .," I
( ' A : ; ; 2.4.,, (.
(t) }>
\ k . r '+" t
:. '+ :
"' f
4.5: The Poisson Distribution
The Poisson distribution is a discrete probability
distribution for the counts of events that occur randomly
in a given interval of time (or space).
where
• e is the base of natural logarithms (2.7183)
• μ is the mean number of "successes"
• x is the number of "successes" in question
4.5: The Poisson Distribution
EXAMPLE
The average number of homes sold by the Acme Realty company is 2
homes per day. What is the probability that exactly 3 homes will be
sold tomorrow?
Solution: This is a Poisson experiment in which we know the
following:
μ = 2;
x = 3;
e = 2.71828; since e is a constant equal to approximately 2.71828.
We plug these values into the Poisson formula as follows:
P(x; μ) = (e-μ) (μx) / x!
P(3; 2) = (2.71828-2) (23) / 3!
P(3; 2) = (0.13534) (8) / 6
P(3; 2) = 0.180
Thus, the probability of selling 3 homes tomorrow is 0.180 .
4.5: The Poisson Distribution
EXAMPLE
Suppose you knew that the mean number of calls to a fire station
on a weekday is 8. What is the probability that on a given weekday
there would be 11 calls?
μ = 8;
x = 11;
e = 2.71828; since e is a constant equal to approximately
2.71828.
4.5: The Poisson Distribution
Changing the size of the interval
Suppose we know that births in a hospital occur randomly at an average rate of
1.8 births per hour.
What is the probability that we observe 5 births in a given 2 hour interval?
Well, if births occur randomly at a rate of 1.8 births per 1 hour interval
Then births occur randomly at a rate of 3.6 births per 2 hour interval
P (X + Y = 7) = (e-5.4)(5.47) / (7!)
= 0.11999
4.5: The Poisson Distribution
N 2 (N 1)
4.6: The Hypergeometric
Distribution
Suppose a customer at a pet store wants to buy two hamsters
for his daughter, but he wants two males or two females (i.e.,
he wants only two hamsters in a few months)
If there are ten hamsters, five male and five female, what is the
probability of drawing two of the same sex? (With hamsters,
it’s virtually a random selection.)
10
5
2 2 (10)
.2
P(M 2) P(F 2) 5 2
(1)45
10 2
2
P(M 2or F 2) P(M 2) P(F 2) 2.22
.44
Continuous Random Variable
• Normal Distribution
The normal distribution refers to a family
of continuous probability
distributions described by the normal
equation.
Continuous Random Variable
• Normal Distribution
z = (X - μ) / σ
(A) 0.10
(B) 0.18
(C) 0.50
(D) 0.82
(E) 0.90
Continuous Random Variable
• Then, using the standard normal distribution table, we find the cumulative
probability associated with the z-score. In this case, we find P(Z < 0.90) =
0.8159.
•Therefore, the P(Z > 0.90) = 1 - P(Z < 0.90) = 1 - 0.8159 = 0.1841.
Thus, we estimate that 18.41 percent of the students tested had a higher
score than Molly.