P (A) + P (A: Nguyên tắc của probility (CỰC KÌ QUAN TRỌNG)
P (A) + P (A: Nguyên tắc của probility (CỰC KÌ QUAN TRỌNG)
I) KEY CONCEPT
- Random experiment (phép thử ngẫu nhiên)
- Sample space: không gian mẫu
Nguyên tắc của probility (CỰC KÌ QUAN TRỌNG): 0 <= P <= 1
+ Complement Event: phần bù- The complement of an event A is denoted A’ and consists of
everything in the sample space S except event A
P(A) + P(A’) = 1
+ Union of two event (hợp của 2 tập hợp): consists of all outcomes in the sample space S that
are contained either in event A or in event B or in both. Symbol: 𝐀 ∪ 𝐁
+ Intersection of two event (giao của 2 tập hợp): consists of all outcomes in the sample space
S that are contained in both event A and event B. Symbol: 𝐀 ∩ 𝐁
Example: Suppose that A and B are two events. Write expressions involving unions,
intersections, and complements that describe the following:
A) Both events occur 𝐀 ∩ 𝐁
B) At least one occurs (either A or B occur) 𝐀 ∪ 𝐁
C) Neither occurs 𝐀, ∩ 𝐁 ,
D) Exactly one occurs (𝐀 ∩ 𝐁 , ) ∪ (𝐁 ∩ 𝐀, )
Prepared by Trịnh Ngọc Nhân
Example: A smoke detector system uses two devices, A and B. If smoke is present, the
probability that it will be detected by device A is 0.9; by device B, 0.85; and by both devices,
0.8.
A) If smoke is present, find the probability that the smoke will be detected by either device A
or B or both devices.
B) Find the probability that the smoke will be undetected.
Solution:
P(A)= 0.9, P(B)= 0.85, P (𝐴 ∩ 𝐵)= 0.8
=> probability that the smoke will be detected by either device A or B or both devices
P (𝐴 ∪ 𝐵)= 0.9+0.85-0.8= 0.95.
probability that the smoke will be undetected by either device A or B or both devices:
1-0.95= 0.05
Example: Suppose 30 percent of video games are purchased as digital content. Of those
games purchased as digital content, 47 percent are acquired from a gaming website. What is
the joint probability that a video game was purchased as digital content through a gaming
website?
Independence of the events: A và B là 2 sự kiện độc lập với nhau khi và chỉ khi:
P(A\B) = P(A)
Nếu như A và B là 2 sự kiện độc lập thì P (𝑨 ∩ 𝑩)= P(A) * P(B)
Example: Diseases I and II are prevalent among people in a certain population. It is assumed
that 10% of the population will contract disease I sometime during their lifetime, 15% will
contract disease II eventually, and 3% will contract both diseases.
A) Find the probability that a randomly chosen person from this population will contract at
least one disease. (0.22)
B) Find the conditional probability that a randomly chosen person from this population will
contract both diseases, given that he or she has contracted at least one disease. (3/22)
Prepared by Trịnh Ngọc Nhân
Marginal probability: Xác suất của một sự kiện “lớn” xảy ra. Vd: P(S1) = 17/67= 0.254
Joint probability: Xác suất mà 2 sự kiện đồng thời xảy ra. Vd: P (S3 ∩ T1) = 1/67
Conditional probability: Xác suất xảy ra của một sự kiện khi mình đã chọn trước một sực
kiện khác. Vd: P (S1\T3) = 5/32
Tree diagram/ decision tree
(Các bạn có thể coi chi tiết hơn trong slide nhé)
Prepared by Trịnh Ngọc Nhân
BAYES THEOREM
* Dạng tổng quát (áp dụng nếu cho từ 3 sự kiện trở lên)
Prepared by Trịnh Ngọc Nhân
Counting rules:
Factorial: giai thừa. n! = n * (n-1) * (n-2) * … 1
Permutation: phép chỉnh hợp
Combination: phép tổ hợp
II) EXERCISE
Question 1: The following table gives numbers of claims at a large insurance company by
kind and by geographic region.
Question 2: Two cards are drawn from an ordinary deck of 52 cards. Find the probability of
each event, showing your reasoning carefully.
a. Two aces. (0.00452)
b. Two red cards. (0.245098)
c. Two red aces. (0.000754)
d. Two honor cards (A, K, Q, J, 10). (0.143288)
Question 3: A drug test for athletes has a 5% false positive rate and a 10% false negative rate.
Of the athletes tested, 4% have actually been using the prohibited drug. If a randomly chosen
athlete tests positive, what is the probability that the prohibited drug has been used? (0.4286)
Question 4: The following table gives the number of products in five types produced by two
factories:
Type
A B C D E
Factory X 210 342 186 425 135
Factory Y 320 287 238 266 180
Question 5: A survey showed that 8% of Internet users age 18 and older report keeping a
blog. Referring to the 18–29 age group as young adults, the survey showed that for bloggers
54% are young adults and for non-bloggers 24% are young adults (Pew Internet & American
Life Project, July 19, 2006).
a. Develop a joint probability table for these data with two rows (bloggers vs. non-bloggers)
and two columns (young adults vs. older adults).
b. What is the probability that an Internet user is a young adult? (0.264)
c. What is the probability that an Internet user keeps a blog and is a young adult? (0.0432)
d. Suppose that in a follow-up phone survey we contact someone who is 24 years old. What
is the probability that this person keeps a blog? (0.1636)