Unit II
Unit II
Rolling a die
s=(1,2,3,4,5,6)
Workout- Game
N N!
CnN
n n !(N n )!
Ex: In a group of five parts how many combinations of two parts can be selected 10 outcomes are
possible. If five parts are A,B,C,D,E then 10 combinations of outcomes are
Ex:1 A quality control procedure in which an inspector randomly selects two of five
parts to test for defects. In a group of five parts, how many combinations of two
parts can be selected? N = 5 and n = 2, we have
Thus, 10 outcomes are possible for the experiment of randomly selecting two parts
from a group of five. If we label the five parts as A, b, C, D, and E, 10
combinations or experimental outcomes can be identified as Ab, AC, AD, AE, bC,
bD, bE, CD, CE, and DE
Ex.2
Suppose that, from a population of 50 bank accounts, we want to take a random
sample of four accounts in order to learn about the population. How many
different random samples of four accounts are possible?.
Permutations - Third counting rule - to compute the number of experimental
outcomes when n objects are to be selected from a set of n objects where the
order of selection is important. The same n objects selected in a different order are
considered as a different experimental outcome.
The number of permutations of N objects taken n at a time is given by
N N!
PnN n !
n (N n )!
Relative frequency
When data are available to estimate the proportion of the time the experimental outcome will occur
if the experiment is repeated a large number of times.
Ex.
The probability of your phone ringing during the class is is 0.1
This probability is most likely based on an educated guess. It is an example of subjective probability.
Event
A = {2,4,6}
Event A occurs if an outcome in the set A occurs
Probability of an event
Sum of the probabilities of the outcomes of which it consists
P(A) = P(2) + P(4) + P(6)
• Permutation : Permutation means arrangement of things.
The word arrangement is used, if the order of things is
considered.
• Combination: Combination means selection of things. The
word selection is used, when the order of things has no
importance.
• Example: Suppose we have to form a number of
consisting of three digits using the digits 1,2,3,4, To form
this number the digits have to be arranged. Different
numbers will get formed depending upon the order in which
we arrange the digits. This is an example of Permutation.
• Now suppose that we have to make a team of 11 players out
of 20 players, This is an example of combination, because
the order of players in the team will not result in a change in
the team. No matter in which order we list out the players
the team will remain the same!
Exercise
1. Tossing a coin three times
a. develop a tree diagram
b. list the experimental outcomes
c. What is the probability for each experimental outcome. What method you
use.
2. An experiment with three outcomes has been repeated 50 times and it was
learned that E1 occurred 20 times E2 occurred 13 times and E3 occurred 17
times. Assign probabilities to the outcomes. What method did you use?.
3. A decision maker subjectively assigned the following probabilities to the four
outcomes of an experiment P(E1)=.10, P(E2)=.15, P(E3)=.40 and P(E4)=.20. Are
the probability assignment valid?
Complement of a Set
Venn
VennDiagram
Diagramillustrating
illustratingthe
theComplement
Complementof
ofan
anevent
event
Basic Definitions (Continued)
Intersection (And) A B
–
a set containing all elements in both A and B
Union (Or) A B
–
a set containing all elements in A or B or
both
Complements - Probability of not A
P( A ) 1 P( A)
Sets: A Intersecting with B
A
B
A B
2-22
Sets: A Union B
A
B
A B
Example: Page_No: 191, 192
Ex.1 Study by personal manager of a software company. The study
shows 30% of the employees who left the firm within two years did so
primarily because they were dissatisfied with their salary, 20% left for
work assignment and 12% indicated dissatisfaction with both their
salary and work assignment.
What is the prob. that an employee who leaves within two years does
so because of dissatisfaction with salary, work assignment or both?
2-25
B
A
Ex. We have a sample space with five equally likely experimental outcomes. E1, E2,
E3,E4,E5 and let A=(E1, E2) B=(E3, E4) C=(E2, E3,E5)
a. Find P(A), P(B), P(C) b. Find P(A or B). Are A and B mutually exclusive
b. Find Ac, Cc, P(Ac) and P(Cc) d.P(A or Bc)
Ex.2 A survey of magazine subscribers showed that 45.8% rented a car during the
past 12 months for business reasons, 54% rented a car during the past 12
months for personal reasons, and 30% rented a car during the past 12 months
for both business and personal reasons.
1. What is the probability that a subscriber rented a car during the past 12
months for business or personal reasons?
2. What is the probability that a subscriber did not rent a car during the past 12
months for either business or personal reasons?
Conditional probability:
2.A conditional probability is the probability of one event, given that another event has occurred
P(A and B) The conditional probability of A given that B has occurred. A given B
P(A | B)
P(B)
The conditional probability of B given that A has occurred. B given A
P(A and B)
P(B | A) Where P(A and B) = joint probability of A and B
P(A)
The police force consists of 1200 officers, 960 men and 240 women. over the past two years, 324 officers on the police force
received promotions. 288 male officers had received promotions, but only 36 female officers had received promotions.
Rules of Probability:
1. General Addition Rule
P(A or B) = P(A) + P(B) - P(A and B)
P( A B) P( A B) P( B)
P( A B) P( A B) so
P( B) P( B A) P( A)
• We now know that 63% of the households subscribe to both the Sunday and
daily editions.
Some more definitions
Set - a collection of elements or objects of interest
Empty set (denoted by )
a set containing no elements
There are 11 marbles in a bag. Two are yellow, five are pink and four are green. Suppose you
pull out one marble, record its color, put it back in the bag and then pull out another marble.
What is the probability of P(yellow and pink)
Consider the same box of marbles as in the previous example. However in this case, we are
going to pull out the first marble, leave it out, and then pull out another marble. What is
the probability of pulling out a red marble followed by a blue marble?
We can still use the multiplication rule which says we need to find P(red) P(blue). But be
aware that in this case when we go to pull out the second marble, there will only be 8 marbles
left in the bag.
P(red) = 2/9
P(blue) = 3/8
The events in this example were dependent. When the first marble was pulled out and kept
out, it effected the probability of the second event. This is what is meant by dependent
events.
Rule of Subtraction
The probability of an event ranges from 0 to 1.
The sum of probabilities of all possible events equals 1.
The rule of subtraction follows directly from these
properties.
Rule of Subtraction The probability that event A will occur is
equal to 1 minus the probability that event A
will not occur.
P(A) = 1 - P(A')
Suppose, for example, the probability that Bill will graduate
from college is 0.80. What is the probability that Bill will
not graduate from college? Based on the rule of
subtraction, the probability that Bill will not graduate is
1.00 - 0.80 or 0.20.
Summary
Two events are mutually exclusive or disjoint if they cannot
occur at the same time.
The probability that Event A occurs, given that Event B has
occurred, is called a conditional probability. The conditional
probability of Event A, given Event B, is denoted by the symbol
P(A|B).
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
E(x) = 1.20expected number of TVs sold
in a day
Variance
- The binomial
- The Poisson
Binomial Probability Distributions
• A coin-tossing experiment is a simple example of an
important discrete random variable called the
binomial random variable.
n! ( nx )
f (x) p (1 p)
x
x !(n x )!
Mean: m = np
Variance: s 2 = npq
Standard deviation:
npq
Binomial Formula. Suppose a binomial experiment consists
of n trials and results in x successes. If the probability of
success on an individual trial is P, then the binomial
probability is: b(x; n, P) = nCx * Px * (1 - P)n – x
EXAMPLE 2
10!
f (3) (.30) 3 (1 .30)10 3
3!(10 3)!
10(9)(8)
f (3) (.30) 3 (1 .30) 7 .2668
3(2)(1)
10!
f (0) (.30) 0 (1 .30)10 .0282
0!(10)!
10!
f (1) (.30)1 (1 .30) 9 .1211
1!(9)!
10!
f (2) (.30) 2 (1 .30)8 .2335
2!(8)!
b. f (4) = .2182
d. = n p = 20 (.20) = 4
Ex.5
Nine percent of undergraduate students carry credit
card balances greater that 7000. Suppose 10
undergraduate students are selected randomly to be
interviewed about credit card usage.
a. Is the selection of 10 students a binomial
experiment? Explain?
b. What is the probability that two of the students will
have a credit balance greater than 7000.
c. What is the probability that none will have a credit
card balance greater than 7000.
d. What is the probability that at least three will have
a credit card balance greater than 7000.
Binomial n = 10 and p = .09
10! 10 x
f ( x) x
(.09) (.91)
x !(10 x)!
a. Yes. Since they are selected randomly, p is the same from trial to trial and the trials are independent.
b. f (2) = .1714
c. f (0) = .3894
1.250 e1.25
b. f (0) .2865
0!
1.251 e1.25
c. f (1) .3581
1!
101 e 10
f (1) .00045
1!
2.50 e2.5
f (0) .0821
0!
2π
Where e = the mathematical constant approximated by 2.71828
π = the mathematical constant approximated by 3.14159
μ = the population mean
σ = the population standard deviation
X = any value of the continuous variable
Changing σ increases
or decreases the
σ spread.
μ X
X μ
Z
σ
The Z distribution always has mean = 0 and
standard deviation = 1
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 86
The Standardized Normal Probability Density
Function
1 (1/2)Z 2
f(Z) e
2π
0 Z
X μ $200 $100
Z 2.0
σ $50
This says that X = $200 is two standard deviations (2
increments of $50 units) above the mean of $100.
a b X
The total area under the curve is 1.0, and the curve is
symmetric, so half is above the mean, half is below
f(X) P( X μ) 0.5
P(μ X ) 0.5
0.5 0.5
μ X
P( X ) 1.0
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 96
The Standardized Normal Table
0.9772
Example:
P(Z < 2.00) = 0.9772
0 2.00 Z
0.0
The row shows
the value of Z 0.1
. The value within the
to the first .
decimal point . table gives the
2.0 .9772 probability from Z =
up to the desired Z
2.0 value
P(Z < 2.00) = 0.9772
X
18.0
18.6
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 100
Finding Normal Probabilities
Let X represent the time it takes, in seconds to download an image file
from the internet.
Suppose X is normal with a mean of 18.0 seconds and a standard
deviation of 5.0 seconds. Find P(X < 18.6)
X μ 18.6 18.0
Z 0.12
σ 5.0
μ = 18 μ=0
σ=5 σ=1
18 18.6 X 0 0.12 Z
X
18.0
18.6
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 103
Finding Normal
Upper Tail Probabilities
(continued)
Now Find P(X > 18.6)…
P(X > 18.6) = P(Z > 0.12) = 1.0 - P(Z ≤ 0.12)
= 1.0 - 0.5478 = 0.4522
0.5478
1.000 1.0 - 0.5478
= 0.4522
Z Z
0 0
0.12 0.12
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 104
Finding a Normal Probability Between Two
Values
X μ 18 18
Z 0
σ 5
18 18.6 X
X μ 18.6 18 0 0.12 Z
Z 0.12
σ 5 P(18 < X < 18.6)
= P(0 < Z < 0.12)
X
18.0
17.4
f(X)
μ ± 1σ encloses about
68.26% of X’s
σ σ
μ-1σ μ μ+1σ X
68.26%
Copyright © 2016 Pearson Education, Ltd. Chapter 6, Slide 109
The Empirical Rule
(continued)
2σ 2σ 3σ 3σ
μ x μ x
95.44% 99.73%
X μ Zσ
Example:
Let X represent the time it takes (in seconds) to
download an image file from the internet.
Suppose X is normal with mean 18.0 and standard
deviation 5.0
Find X such that 20% of download times are less than
X.
0.2000
? 18.0 X
? 0 Z
X μ Zσ
18.0 (0.84)5.0
13.8