Conditional Probability
แนะนำใหม่
8:39
ความน่าจะเป็น ตัวแปรสุ่ม และการแจกแจงความน่าจะเป็น
นักบาสเกตบอลคนหนึ่งยิงลงห้าครั้งติดต่อกัน ผู้ชมมั่นใจว่าคืนนี้เธอกำลังมือขึ้น แต่ลองดูว่าสิ่งใดเกิดขึ้นได้จากโอกาสเพียงอย่างเดียว โยนเหรียญเที่ยงตรงยี่สิบครั้ง จะมี…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| Probability/ˌprɒbəˈbɪlɪti/ | A numerical measure of how likely an event is, ranging from zero to one. |
| conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/ | ความน่าจะเป็นแบบมีเงื่อนไข |
| outcomes/ˈaʊtkʌmz/ | |
| fraction/ˈfrækʃn/ | |
| formula/ˈfɔːmjʊlə/ | A symbolic rule or equation expressing a relationship between quantities. |
| numerator/ˈnjuːməreɪtə/ | The upper part of a fraction, showing how many of the denominator's equal parts are represented. |
| denominator/dɪˈnɒmɪneɪtə/ | The lower part of a fraction, indicating the divisor or the number of equal parts in a whole. |
| tree diagram/triː ˈdaɪəɡræm/ | A branching diagram showing possible stages, outcomes or classifications and their relationships. |
| branches/ˈbræntʃɪz/ | |
| Two-way tables/tuː weɪ ˈteɪblz/ | Tables of counts for two categorical variables. |
| cell/sel/ | เซลล์ |
| conditional relative frequency/kənˈdɪʃənl ˈrelətɪv ˈfriːkwənsi/ | |
| margin/ˈmɑːdʒɪn/ | |
| grand total | |
| multiplication rule/ˌmʌltɪplɪˈkeɪʃn ruːl/ | กฎการคูณ |
| events/ɪˈvents/ | An occurrence or happening. |
ความน่าจะเป็น, ภายใต้เงื่อนไข
- ความน่าจะเป็นตามเงื่อนไข คือChance of $A$ เมื่อทราบ ว่า $B$ เกิดขึ้นแล้ว
- เขียน $P(A \mid B)$ — "ความน่าจะเป็นของ $A$ เมื่อรู้ $B$"
- การรู้ ότι $B$ เกิดขึ้นจะลดขอบเขตโลกลงเหลือเฉพาะ $B$ ผลลัพธ์
- จากนั้นคุณถามว่าสัดส่วนของ กลุ่มนั้น ที่ยัง $A$ ด้วยคือเท่าไหร่
สูตร
-
$$P(A \mid B) = \frac{P(A \cap B)}{P(B)}$$
- ตัวเศษคือ "เกิดทั้งคู่"; ตัวส่วนคือ "เงื่อนไข"
- คุณกำลังปรับสเกลใหม่: จากโลกของ $B$ แล้ว $A$ คือเท่าไหร่?
- เงื่อนไข $B$ จะกลายเป็น "ผลรวม" ใหม่

บนแผนภาพต้นไม้ ให้คูณความน่าจะเป็นตามกิ่งก้าน

จากตารางสองมิติ
- ตารางสองมิติทำให้การหาความน่าจะเป็นแบบมีเงื่อนไขง่าย: ตัดเฉพาะ แถวหรือคอลัมน์ ของเงื่อนไขออก
- $P(A \mid B)$ = (เซลล์สำหรับทั้งสอง) ÷ (ผลรวมของ $B$ ในแถว/คอลัมน์)
- นี่คือค่าความถี่สัมพัทธ์แบบมีเงื่อนไขจากหน่วยที่ 2 พอดี
- ตัวส่วนคือ ค่าขอบ ไม่ใช่ผลรวมทั้งหมด
กฎการคูณทั่วไป
- จัดรูปสมการใหม่จะได้ กฎการคูณ:
-
$$P(A \cap B) = P(B)\,P(A \mid B)$$
- "Both happen" = (first happens) × (second happens given the first).
- เป็นวิธีที่คุณต่อความน่าจะเป็นของเหตุการณ์ที่พึ่งพาซึ่งกันและกัน
$P(A \mid B)$ and $P(B \mid A)$ are usually different — don't swap them. "Probability of a cough given the flu" is high; "probability of the flu given a cough" is low (most coughs aren't flu). The condition — what's given — sits after the bar and becomes the denominator. Read carefully which event is the condition.
ในชั้นเรียน มี $P(\text{plays sport}) = 0.5$ และ $P(\text{sport and music}) = 0.2$
- $P(\text{music} \mid \text{sport}) = \dfrac{0.2}{0.5} = 0.4$.
- ในครึ่งที่รักกีฬา มี $40\%$ ที่เล่นดนตรีด้วย
- ตรวจสอบด้วยการคูณ: $P(\text{sport and music}) = 0.5 \times 0.4 = 0.2$ ✓
ความน่าจะเป็นแบบมีเงื่อนไข $P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}$ คือโอกาสที่จะเกิด $A$ เมื่อทราบ $B$ — ตัดเฉพาะ $B$'s แถว/คอลัมน์ในตารางสองมิติ จัดรูปใหม่ได้ กฎการคูณ $P(A \cap B) = P(B)\,P(A \mid B)$ จำ $P(A\mid B) \ne P(B \mid A)$ ไว้เสมอ
เขียนจากความน่าจะเป็นแบบมีเงื่อนไขของ 0.3
- 50 นักเรียนอยู่ในชมรม
- 15 ของพวกเขาสองมือเปียก การคำนวณความน่าจะเป็นแบบมีเงื่อนไขในบทเรียน 0.4 เป็นอีกกลุ่มหนึ่ง
A club contains 50 students, of whom 15 play piano. If a club member is selected uniformly at random, what is the probability that they play piano? Show the conditional denominator.
Conditional probability divides by the size of the given group.
Of 50 club members, 15 play piano. For a member selected uniformly from the club, what is the probability of playing piano?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
15 divided by 50 is 0.3. Other options — 0.4 (the other group); 15 (the piano count).
Conditional probabilities
How the chance of B changes depending on whether A happened.
P(A and B) = 0.2 and P(B) = 0.5. Find P(A | B).
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
P(A|B) = P(A∩B)/P(B) = 0.2/0.5 = 0.4.
In general, P(A | B) equals P(B | A).
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
They are usually different — the condition matters.
The general multiplication rule for P(A and B) is...
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
P(A∩B) = P(B)·P(A|B), chaining the two events.
To read P(A | B) off a two-way table, you divide by the...
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The condition B becomes the denominator — its margin total.
P(A | B) is read 'the probability of A ___ B' (one word).
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The bar means 'given' the condition.
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้