ch02_new
ch02_new
2-2.1 Introduction
Probability
Example 2-15
2-2 Interpretations of Probability
Definition
2-2 Interpretations of Probability
Example 2-16
2-2 Interpretations of Probability
Probability of a Union
Example
The class has 28 students. Of these, 12
students prefer to study Japanese, 15
students prefer to study English and 8
students prefer to learn both these subjects.
A student selected at random,
find the probability to select the students
prefer to learn Japanese or English.
Phép thử: Selecte a student in 28 students.
S ={prefer to study English, prefer to study
Japanese}
Event:
Let denote A is students prefer to study
English
Let denote B is students prefer to study
Japanese
We have: P(A) = 15/28 ; P(B)= 12/28
P(A.B)= 8/28
Question:
P(AUB) = P(A) +P(B) –P(A.B)
= 15/28 + 12/28 -8/28 = 0.678
2-3 Addition Rules
Example 2-21
2-4 Conditional Probability
To introduce conditional probability, consider an example involving
manufactured parts.
Let D denote the event that a part is defective and let F denote the
event that a part has a surface flaw.
Then, we denote the probability of D given, or assuming, that a part has
a surface flaw as P(D|F). This notation is read as the conditional
probability of D given F, and it is interpreted as the probability that a
part is defective, given that the part has a surface flaw.
Note:
P(D|F) the probability that a part is defective, given that the part has a
surface flaw.
P(D|F) the probability of D given a part has a surface flaw
Ex:
D denote the student pass this exam
F denote the male student
P(D|F) is the probability that the student pass this exam, given the male
student
2-4 Conditional Probability
49
P ( B | A)
849
2-4 Conditional Probability
2-5. Multiplication and Total Probability Rules
Example 2-26
2-5 Multiplication and Total Probability Rules
Example 2-27
2-5 Multiplication and Total Probability Rules
Definition
2-7 Bayes’ Theorem
Bayes’ Theorem
Example 2-38
Bayesian networks are used on the Web sites of hight –
technology manufactures to allow customers to quickly
diagnose problems with products. An oversimplified example
is presented here. A printer manufacturer obtained the
following probabilities from a database of test results. Printer
failures are associated with three types of problems:
hardware, software and other (such as connectors), with
probabilities 0.1, 0.6, and 0.3, respectively. The probability of
a printer failure given a hardware problem is 0.9, given
software problem is 0.2 and given any other type of problem
is 0.5. If a customer enters the manufacturer’s Web site to
diagnose, what is the most likely cause of the problem?
Let the events H, S and O denote a hardware, software and other
problem, respectively and let F denote a printer failure. The most likely
cause of the problem is the one that corresponds to the largest of P(H/F),
P(S|F) and P(O|F). In Bayes’Theorem the denominatior is
Then
P F | H P H 0.9 0.1
P H | F 0.25
P F 0.36
P S | H P S 0.2 0.6
P S | F 0.333
P F 0.36
P F | O P O 0.5 0.3
P O | F 0.417
P F 0.36
Q1: Suppose that P(A|B) = 0.6, P(A) = 0.5 and P(B) = 0.1. Find the value of
P(B|A). Select one:
0.06
0.30
0.20
0.12
Solution:
Definition
2-8. Random Variables