Professional Documents
Culture Documents
CHAPTER OUTLINE
2-1 Sample Spaces & Events
Probability
Example 2-5: The interior car color can depend on the exterior
color as shown in the tree diagrams below. There are 12
possibilities without considering color combinations.
9 10 11 12 13 14 15 16
Sec 2-1.2 Sample Spaces 17
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Example 2-8, Hospital Emergency Visits
• This table summarizes the ER visits at 4 hospitals. People may leave
without being seen by a physician( LWBS). The remaining people
are seen, and may or may not be admitted.
Hospital
1 2 3 4 Total Answers
Total 5,292 6,991 5,640 4,329 22,252 A B = 195
LWBS 195 270 246 242 953 A' = 16,960
Admitted 1,277 1,558 666 984 4,485 A B = 6,050
Not admitted 3,820 5,163 4,728 3,103 16,814
n!
P n(n 1)(n 2)...(n r 1)
n
(n r )!
r
7! 7! 7 *6*5* 4!
P3
7
7 *6*5 210
7 3! 4! 4!
In Excel: permut(7,3) = 210
Sec 2- 26
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Example 2-10: Circuit Board Designs
• A printed circuit board has eight different
locations in which a component can be
placed. If four different components are to be
placed on the board , how many designs are
possible?
• Answer: order is important, so use the
permutation formula with n = 8, r = 4.
8! 8*7*6*5*4!
P 8
8*7*6*5 1,680
4
8 4 ! 4!
– In Excel:
1,260 = FACT(9) / (FACT(4)*FACT(3)*FACT(2))
n!
C n
(2-4)
r ! n r !
r
• Excel: 56 = COMBIN(8,5)
Sec 2-1.4 Counting Techniques 32
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Example 2-14: Sampling w/o Replacement-1
• A bin of 50 parts contains 3 defectives & 47
good parts. A sample of 6 parts is selected
from the 50 without replacement.
• How many different samples of size 6 are
there that contain exactly 2 defective parts?
3!
C 3
2 3 different ways
2!1!
• In Excel: 3 = COMBIN(3,2)
Sec 2- 37
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• A developer of a new subdivision offers a
prospective home buyer a choice of 4 designs,
3 different heating systems, a garage or
carport, and a patio or screened porch. How
many different plans are available to this
buyer?
Sec 2- 38
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• A witness to a hit-and-run accident told the
police that the license number contained the
letters RLH followed by 3 digits, the first of
which was a 5. If the witness cannot recall the
last 2 digits, but is certain that all 3 digits are
different, find the maximum number of
automobile registrations that the police may
have to check.
Sec 2- 39
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• In how many ways can 6 people be lined up
to get on a bus?
• If 3 specific persons, among 6, insist on
following each other, how many ways are
possible?
• If 2 specific persons, among 6, refuse to follow
each other, how many ways are possible?
Sec 2- 40
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• How many three-digit numbers can be formed
from the digits 0, 1, 2, 3, 4, 5, and 6 if each
digit can be used only once?
• How many of these are odd numbers?
• How many are greater than 330?
Sec 2- 41
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• Four married couples have bought 8 seats in
the same row for a concert. In how many
different ways can they be seated
– with no restrictions?
– if each couple is to sit together?
– if all the men sit together to the right of all the
women?
Sec 2- 42
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
• A batch of 140 semiconductor chips is
inspected by choosing a sample of five chips.
Assume 10 of the chips do not conform to
customer requirements.
– How many different samples are possible?
– How many samples of five contain exactly one
nonconforming chip?
– How many samples of five contain at least one
nonconforming chip?
Sec 2- 43
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
What Is Probability?
• Probability is the likelihood or chance that a particular
outcome or event from a random experiment will occur.
• Here, only finite sample spaces ideas apply.
• Probability is a number in the [0,1] interval.
• May be expressed as a:
– proportion (0.15)
– percent (15%)
– fraction (3/20)
• A probability of:
– 1 means certainty
– 0 means impossibility
P( D | F ) P( D F ) P( F ) 10
400
40
400 10
40
P B P B A P B A '
P B | A P A P B | A ' P A ' (2-11)
Table 2-3 Parts Classified Table 2-4 Parts Classified (data chg'd)
Surface Flaws Surface Flaws
Defective Yes (F ) No (F' ) Total Defective Yes (F ) No (F' ) Total
Yes (D ) 10 18 28 Yes (D ) 2 18 20
No (D' ) 30 342 372 No (D' ) 38 342 380
Total 40 360 400 Total 40 360 400
Let L & R denote the events that the left and right devices
operate. The probability that the circuit operates is:
P(L R) = P(L) * P(R) = 0.8 * 0.9 = 0.72.
Let T & B denote the events that the top and bottom devices
operate. The probability that the circuit operates is:
Partition the graph into 3 columns with L & M denoting the left &
middle columns.
P(L) = 1- 0.13 , and P(M) = 1- 0.52, so the probability that the circuit
operates is: (1 – 0.13)(1-0.052)(0.99) = 0.9875 ( this is a series of
parallel circuits). In Excel: 0.98752 = (1-0.01^3)*(1-0.05^2)*0.99
Sec 2-6 Independence 90
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Sample Problem
The probability that a regularly scheduled flight departs on time
is P(D)=0.83; the probability that it arrives on time is P(A)=0 .82;
and the probability that it departs and arrives on time is
P(D∩A)=0.78. Find the probability that a plane (a) arrives on
time, given that it departed on time, and (b) departed on time,
given that it has arrived on time.
P B | A P A 0.10 0.20
PH | F 0.83
PF 0.024
P F P F | H P H P F | H ' P H '
0.1 .2 0.005 0.8 0.024
Sec 2-7 Bayes Theorem 94
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Bayes Theorem with Total Probability
• If E1, E2, … Ek are k mutually exclusive and
exhaustive events and B is any event,
P B | E1 P E1
P E1 | B
P B | E1 P E1 P B | E2 P E2 ... P B | Ek P Ek
for P(B) > 0 (2-16)
Before the test, your chance was 0.0001. After the positive
result, your chance is 0.00198. So your risk of having the
disease has increased 20 times = 0.00198/0.00010, but is still
tiny.
Sec 2-7 Bayes Theorem 97
© John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger.
Example 2-38: Bayesian Network-1
• Bayesian networks are used on Web sites of
high-tech manufacturers to allow customers
to quickly diagnose problems with products.
A printer manufacturer obtained the following
probabilities from its database. Printer
failures are of 3 types: hardware P(H) = 0.3,
software P(S)=0.6, and other P(O)=0.1. Also:
– P(F|H) = 0.9, P(F|S) = 0.2, P(F|O) = 0.5.
• Find the max of P(H|F), P(S|F), P(O|F) to
direct the diagnostic effort.
0.9 0.7
0.6