Lecture Note L1
Lecture Note L1
Fall 2023
Ch 01: 2
Fall 2023
Course Objectives: Ch 01: 3
Fall 2023
Contents: Ch 01: 4
Fall 2023
Weighting of assessments Ch 01: 5
Quizzes 15 %
Assignments 15 %
Mid-term exam 20 %
Project 10 %
Final exam 40 %
Total 100 %
Fall 2023
Probability and Statistics Ch 01: 6
Introduction
• Since the 1980s, a strong focus on improving quality in
American industry.
• Japanese "industrial miracle" of the mid-20th century cited as
a successful example.
• Success attributed to the adoption of statistical methods and
thinking in management.
Fall 2023
Probability and Statistics Ch 01: 7
Introduction
Fall 2023
Probability and Statistics Ch 01: 8
90
80
70
60
50 A
40 B
C
30
20
10
0
Quality control:
1 2 3 4
• What is my rate of
Prediction: Analysis of sales: defective products?
• How can I best manage
• probability models to • How much do we sell, my production?
predict defects and and when? • What is the best way to
optimize production. • Should we change or sample?
sales strategy?
Fall 2023
Statistics in Engineering Ch 01: 9
Fall 2023
Probability and Statistics Ch 01: 10
Fall 2023
Probability and Statistics Ch 01: 11
Fall 2023
Probability Intro Ch 01: 12
Fall 2023
Probability: Basic Ideas Ch 01: 13
Terminology:
• Trial: each time you repeat an experiment
Fall 2023
For Example… Ch 01: 14
Example:
You work in a cell phone factory and are asked to
remove cell phones at random off of the
assembly line and turn it on and off.
• Each time you remove a cell phone and turn it on and
off, you are conducting a random experiment.
• Each time you pick up a phone is a trial and the result is
called an outcome.
• If you check 200 phones, and you find 5 bad phones,
then
• relative frequency of failure = 5/200 = 0.025
Fall 2023
Probability Intro Ch 01: 15
Fall 2023
Probability Intro Ch 01: 16
Fall 2023
Probability Intro Ch 01: 17
Example:
Suppose that three items are selected at random from a manufacturing
process. Each item is inspected and classified defective, D, or non-
defective, N.
Fall 2023
Ch 01: 18
Example:
An experiment consists of flipping a coin and then
flipping it a second time if a head occurs. If a tail occurs
on the first flip, then a die is tossed once. List S.
Exp#1 Exp#2 Sample point
H
HH
H HT
T
1 T1
2 T2
3 T3
T
4 T4
5 T5
6 T6
Fall 2023
Probability Intro Ch 01: 19
Fall 2023
Events Ch 01: 20
Fall 2023
Event/Set Operations Ch 01: 21
Fall 2023
Sample space and events Ch 01: 22
Consider an experiment
Sample space S: S
Example:
VENN DIAGRAM
S={1,2,…,6} rolling a dice
S={H,T} flipping a coin
Event A: S
A Example:
A={1,6} when rolling a dice
Complementary
event A´: S
A A´ Example:
A´={2,3,4,5} rolling a dice
Fall 2023
Venn Diagrams Ch 01: 23
Fall 2023
Events Ch 01: 24
Example: S
A 5
Rolling a dice B Intersection:
4 6 2 1 3 AB={2}
S={1,2,3,4,5,6}
A={2,4,6}
B={1,2,3} Union:
AB={1,2,3,4,6}
S
C D
Disjoint events: CD = Ø
C={1,3,5} and D={2,4,6} are disjoint
“mutually exclusive”
Fall 2023
Ch 01: 25
Fall 2023
Intuitive Sample Point Counting Ch 01: 26
Fall 2023
Ch 01: 27
Example:
How many four-digit numbers can be formed from the
digits 3, 1, 2, 5, 6, and 9 if each digit can be used only
once?
Solution:
Fall 2023
Ch 01: 28
Example:
How many even four-digit numbers can be formed from
the digits 4, 1, 2, 5, 6, and 9 if each digit can be used only
once?
Solution:
Even four-digit number must have the first
digit an even number (2,4,6)
Hence;
Fall 2023
Intuitive Sample Point Counting Ch 01: 29
Example:
How many sample points are there in the sample space
when a pair of dice is thrown once?
Solution :
The first die can land face-up in any one of n1 = 6 ways. For each
of these 6 ways,
the second die can also land face-up in n2 = 6 ways. Therefore,
the pair of dice
can land in n1n2 = (6)(6) = 36 possible ways.
Fall 2023
Ch 01: 30
Example:
Sam is going to assemble a computer by himself. He has
the choice of chips from two brands, a hard drive from
four, memory from three, and an accessory bundle from
five local stores. How many different ways can Sam order
the parts?
Solution :
Fall 2023
Permutation Orderings Ch 01: 31
Fall 2023
Ch 01: 32
Example:
• Consider the three letters a, b, and c. The possible permutations
are abc, acb, bac, bca, cab, and cba. Total are 6 arrangement.
• Using permutations rule, there are n1 = 3 choices for the first
position. No matter which letter is chosen, there are always n2 =
2 choices for the second position. No matter which two letters
are chosen for the first two positions, there is only n3 = 1 choice
for the last position, giving a total of
• n1n2n3 = (3)(2)(1) = 6 permutations
• Can be counted by permutation ordering rule n!= 3!=3*2*1=6
Fall 2023
Permutations of Partial Orderings Ch 01: 33
Example:
Suppose that we will give 3 different awards to three
students out of a class of 60 students. How many ways
can the awards be given.
• Without replacement, 60 students could get the first award,
then 59 students are eligible for the 2nd and 58 for the third.
The number is 60*59*58 = 205,320.
Fall 2023
Permutations of Partial Orderings Ch 01: 34
Example:
In one year, three awards (research, teaching, and service)
will be given to a class of 25 graduate students in a
statistics department. If each student can receive at most
one award, how many possible selections are there?
Solution :
Since the awards are distinguishable, it is a permutation
problem. The total number of sample points is
Fall 2023
Other Permutations Ch 01: 35
Fall 2023
Permutations with Identical Objects Ch 01: 36
Example:
In a college football training session, the defensive coordinator
needs to have 10 players standing in a row. Among these 10
players, there are 1 freshman, 2 sophomores, 4 juniors, and 3
seniors. How many different ways can they be arranged in
a row if only their class level will be distinguished?
Solution :
Fall 2023
Arranging n Objects Into r Cells Ch 01: 37
Example:
divide 5 items into two cells, one of size 3 and one of size 2.
• {(1,2,3), (4,5)}, {(1,2,4), (3,5)}, {(1,2,5), (3,4)}, {(1,3,4), (2,5)}, {(1,3,5),
(2,4)}, {(1,4,5), (2,3)}, {(2,3,4), (1,5)}, {(2,3,5), (1,4)}, {(2,4,5), (1,3)},
{(3,4,5), (1,2)}
There are n! total possible orderings, but n1! In the 1st
cell, and n2! in the 2nd cell, etc., are identical.
Fall 2023
Ch 01: 38
Example:
In how many ways can 7 graduate students be
assigned to 1 triple and 2 double hotel rooms during a
conference?
Solution :
The total number of possible partitions would be
Fall 2023
Combinations of n Items Taken r at a Time Ch 01: 39
Fall 2023
Ch 01: 40
Example:
How many combinations of any 3 persons from 7 for a certain job.
Fall 2023
Probability of an Event Ch 01: 41
Fall 2023
Relative Frequency for Probability Ch 01: 42
Fall 2023
Ch 01: 43
Example:
A die is loaded in such a way that an even number is twice as
likely to occur as an odd number. If E is the event that a
number less than 4 occurs on a single toss of the die, find
P(E).
Solution:
The sample space is S = {1,2,3,4,5,6}. We assign a probability of
w to each odd number and a. probability of 2w to each even
number. Since the sum of the probabilities must be 1, we have 9w
= 1 or w = 1/9. Hence probabilities of 1/9 and 2/9 are assigned to
each odd and even number, respectively. Therefore,
E = {1,2,3} and P(E) =1/9+2/9+1/9=4/9
Fall 2023
Ch 01: 44
Example:
In the previous Example, let A be the event that an even
number turns up and let B be the event, that, a number
divisible by 3 occurs. Find P(A U B) and P(A ∩ B)
For the events A = {2, 4, 6} and B = {3, 6}, we have
A ∪ B = {2, 3, 4, 6} and A ∩ B = {6}.
By assigning a probability of 1/9 to each odd number
and 2/9 to each even number,
we have
2 1 2 2 7 2
P(A ∪ B)= + + + = A∩B=
9 9 9 9 9 9
Fall 2023
Additive Probability Rules Ch 01: 45
Fall 2023
Ch 01: 46
Example:
John is going to graduate from an industrial engineering department
in a university by the end of the semester. After being interviewed at
two companies he likes, he assesses that his probability of getting an
offer from company A is 0.8, and the probability that he gets an offer
from company B is 0.6. If. on the other hand, he believes that the
probability that he will get offers from both companies is 0.5, what
is the probability that he will get at least one offer from these two
companies?
Fall 2023
Ch 01: 47
Example:
What is the probability of getting a total of 7 or 11 when a pair of fair
dice are tossed?
Let A be the event that 7 occurs and B the event that 11 comes up.
Total No. samples is 6x6=36 sample points
To get Number 7
Since all sample points are equally likely, out of the two
dice
we have P(A) = 6/36 and P(B) = 2/36. Dice 1 Dice 2
To get Number 1 6
since P(A ∩ B)=0. Therefore, 11 out of the two
2 5
dice
6 2 8 2 Dice 1 Dice 2 3 4
P(A ∪ B) = P(A) + P(B) = + = =
36 36 36 9 5 6 4 3
6 5 5 2
6 1
Fall 2023
Ch 01: 48
Example:
If the probabilities that an automobile mechanic will
service 3, 4, 5, 6, 7, or 8 or more cars on any given
workday are, respectively, 0.12, 0.19, 0.28, 0.24, 0.10, and
0.07, what is the probability that he will service at least 5
cars on his next day at work?
Let E be the event that at least 5 cars are serviced.
Now, P(E) = 1 − P(E’),
where E’ is the event that fewer than 5 cars are serviced. Since
P(E’) = 0.12 + 0.19 = 0.31,
Then,
P(E) = 1 − 0.31 = 0.69.
Fall 2023