TanroMath

Học tập / Thi tốt nghiệp THPT

Conditional probability, the law of total probability and Bayes’ theoremConditional probability, the law of total probability and Bayes’ theorem

Bài họcThử thách8 câu hỏi

🎯 Sau bài này bạn sẽ

Tính xác suất có điều kiện, dùng quy tắc nhân Áp dụng công thức xác suất toàn phần và Bayes cho bài toán thực tế

Compute conditional probabilities and use the multiplication rule Apply the law of total probability and Bayes’ theorem to real problems

  • $P(A \mid B) = \dfrac{P(AB)}{P(B)}$; quy tắc nhân $P(AB) = P(B)\,P(A \mid B)$.
  • $A$, $B$ độc lập ⇔ $P(AB) = P(A)P(B)$.
  • Xác suất toàn phần: $P(A) = P(B)P(A \mid B) + P(\bar B)P(A \mid \bar B)$.
  • Bayes: $P(B \mid A) = \dfrac{P(B)P(A \mid B)}{P(A)}$.

Ví dụ đáng nhớ — xét nghiệm y tế

Tỉ lệ mắc bệnh 1%. Xét nghiệm dương tính với 90% người bệnh và dương tính nhầm với 5% người khỏe. Người có kết quả dương tính thực sự mắc bệnh với xác suất $\dfrac{0{,}01 \cdot 0{,}9}{0{,}01 \cdot 0{,}9 + 0{,}99 \cdot 0{,}05} \approx 0{,}154$ — chỉ khoảng 15%! Vẽ sơ đồ cây giúp không nhầm.

  • $P(A \mid B) = \dfrac{P(AB)}{P(B)}$; multiplication rule $P(AB) = P(B)\,P(A \mid B)$.
  • $A$ and $B$ are independent ⇔ $P(AB) = P(A)P(B)$.
  • Law of total probability: $P(A) = P(B)P(A \mid B) + P(\bar B)P(A \mid \bar B)$.
  • Bayes’ theorem: $P(B \mid A) = \dfrac{P(B)P(A \mid B)}{P(A)}$.

A famous example — medical testing

1% of people have a disease. A test is positive for 90% of people with the disease and falsely positive for 5% of healthy people. Someone who tests positive actually has the disease with probability $\dfrac{0.01 \cdot 0.9}{0.01 \cdot 0.9 + 0.99 \cdot 0.05} \approx 0.154$ — only about 15%! Drawing a tree diagram keeps you from getting confused.

✍️ Luyện tập

Cho $P(A) = 0{,}5$, $P(B) = 0{,}4$, $P(AB) = 0{,}2$. Khi đó $P(A \mid B)$ bằng:Given $P(A) = 0.5$, $P(B) = 0.4$ and $P(AB) = 0.2$, $P(A \mid B)$ equals:

$A$, $B$ độc lập, $P(A) = 0{,}3$, $P(B) = 0{,}6$. Khi đó $P(AB)$ bằng:$A$ and $B$ are independent with $P(A) = 0.3$ and $P(B) = 0.6$. Then $P(AB)$ equals:

Hộp có 5 bi đỏ, 3 bi xanh. Lấy lần lượt 2 bi không hoàn lại. Biết bi thứ nhất màu đỏ, xác suất bi thứ hai màu đỏ là:A box has 5 red and 3 blue marbles. Two are drawn one after the other without replacement. Given the first is red, the probability that the second is red is:

Máy I làm 60% sản phẩm, tỉ lệ lỗi 2%; máy II làm 40%, tỉ lệ lỗi 5%. Xác suất một sản phẩm bị lỗi là:Machine I makes 60% of the products with a 2% defect rate; machine II makes 40% with a 5% defect rate. The probability that a product is defective is:

(Tiếp câu trên) Biết sản phẩm bị lỗi, xác suất nó do máy II làm ra là:(Continued) Given that a product is defective, the probability that it came from machine II is:

Tỉ lệ mắc bệnh 1%; xét nghiệm dương tính với 90% người bệnh và 5% người khỏe. Người dương tính thực sự mắc bệnh với xác suất xấp xỉ:1% of people have a disease; a test is positive for 90% of sick people and 5% of healthy people. The probability that a person who tests positive is actually sick is approximately:

Gieo hai xúc xắc. Biết tổng số chấm bằng 8, xác suất có ít nhất một mặt 6 chấm là:Two dice are rolled. Given that the total is 8, the probability that at least one die shows 6 is:

Chọn ngẫu nhiên 2 người từ nhóm 6 nam, 4 nữ. Xác suất chọn được 2 nữ là:Two people are chosen at random from a group of 6 boys and 4 girls. The probability of choosing 2 girls is:
0 / 0 câu đã làm

Bình luận (0)

Chưa có bình luận nào. Hãy là người đầu tiên!