Probability, trees and conditional reasoning · Higher
Introduzido| English | Significado |
|---|---|
| conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/ | probabilidade condicional |
| independent events/ˌɪndɪˈpendənt ɪˈvents/ | Events for which the occurrence of one does not change the probability of the other. |
The Monty Hall problem
- In 1990 the columnist Marilyn vos Savant answered a game-show puzzle: a prize is behind one of three doors; you pick one, the host opens another empty one, and offers a switch. She said switching wins $\dfrac{2}{3}$ of the time. Thousands of readers, including mathematicians, wrote to say she was wrong. She was right.
- Conditional probability 条件概率 — the chance of A given that B happened — is where intuition fails most.
Trees with changing branches
- Bag of 3 red, 2 blue, two draws without replacement: $P(\text{RR}) = \dfrac{3}{5} \times \dfrac{2}{4} = \dfrac{3}{10}$.
- One of each: $\dfrac{3}{5} \times \dfrac{2}{4} + \dfrac{2}{5} \times \dfrac{3}{4} = \dfrac{3}{5}$.
P(late on Monday) = 0.2. If late on Monday, P(late Tuesday) = 0.5; otherwise 0.1. Find P(late on Tuesday).
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
0.2 × 0.5 + 0.8 × 0.1.
The formula
- $P(A \text{ given } B) = \dfrac{P(A \text{ and } B)}{P(B)}$.
- If $P(A \text{ and } B) = 0.12$ and $P(B) = 0.3$, then $P(A \text{ given } B) = 0.4$.
$P(A \text{ and } B) = 0.18$ e $P(B) = 0.45$. Find $P(A \text{ given } B)$.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
0.18 ÷ 0.45.
Worked example: reversing the condition
Two counters are drawn without replacement from 3 red and 2 blue. Given that the second is red, what is the probability the first was red?
- P(second red): RR + BR $= \dfrac{3}{10} + \dfrac{2}{5} \times \dfrac{3}{4} = \dfrac{3}{10} + \dfrac{3}{10} = \dfrac{3}{5}$.
- P(first red and second red) $= \dfrac{3}{10}$.
- Divide: $\dfrac{3/10}{3/5} = \dfrac{1}{2}$. Knowing the second result changes the chance for the first.
Probability, trees and conditional reasoning
Multiply along a tree branch and add disjoint branches
Compare the model with the worked case and explain one change.
Using the last question, given late on Tuesday, find P(late on Monday) to 2 d.p.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
0.1 ÷ 0.18.
Independent events
- A and B are independent if one does not change the other: $P(A \text{ and } B) = P(A) \times P(B)$.
- With replacement, the two draws are independent; without replacement, they are not.
$P(A) = 0.5$, $P(B) = 0.4$ e $P(A \text{ and } B) = 0.2$. A and B are independent.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
0.5 × 0.4 = 0.2.
Why switching works
- Your first pick is right with probability $\dfrac{1}{3}$ and wrong with $\dfrac{2}{3}$.
- If it was wrong, the host must open the other empty door, so switching wins. Switching wins whenever your first pick was wrong: $\dfrac{2}{3}$.
In the Monty Hall game, what is the probability of winning if you always switch?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
You win whenever your first pick was wrong.
$P(A \text{ given } B)$ is not $P(B \text{ given } A)$. The probability that a pet is a cat given it has whiskers is not the probability it has whiskers given it is a cat. Divide by the probability of the given event.
$P(A \text{ given } B)$ always equals $P(B \text{ given } A)$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
The denominators differ.
On trees, later branches show conditional probabilities. $P(A \text{ given } B) = \dfrac{P(A \text{ and } B)}{P(B)}$, and A, B are independent when $P(A \text{ and } B) = P(A)P(B)$. Find the given event's total probability by adding every path to it.
A box has 4 red and 6 blue balls. Two are drawn without replacement. Find P(the second is blue), and P(the first was red given the second is blue).
Reverse conditional.