Esta lección aún no está traducida. Por ahora se muestra en inglés; la versión en español está en camino.
New information changes probabilities. If you know a family owns a dog, the chance it also owns a cat is a different question from the chance a random family owns a cat. Conditional probability makes that precise, and it reuses the Venn diagram picture.
🔑 Idea clave
The probability of A given B is $$P(A \mid B) = \dfrac{P(A \cap B)}{P(B)},$$ the fraction of B's outcomes that are also in A. With counts: $P(A \mid B) = \frac{\text{number in both}}{\text{number in } B}$.
💡 Por qué funciona
"Given B" means we now know we are somewhere inside B. Everything outside B is ruled out, so B becomes the new sample space. Within it, the outcomes where A also happens are exactly $A \cap B$. So the new probability is the size of $A \cap B$ compared with the size of B, not with the whole sample space.
200 households: D = owns a dog (80), C = owns a cat (50), 20 own both. "C|D" grays out everything outside D.
✏️ Ejemplo resuelto: Counts
Of 200 households, 80 own a dog, 50 own a cat, and 20 own both. A dog-owning household is chosen at random. What is the probability it also owns a cat?
Given "dog," the sample space shrinks to the 80 dog owners.
Using the same households, find $P(\text{dog} \mid \text{cat})$.
Given "cat," use only the 50 cat owners.
Of those, 20 own a dog: $\dfrac{20}{50} = \dfrac{2}{5}$.
Same overlap, different condition, different answer: $\frac{1}{4} \ne \frac{2}{5}$.
Respuesta: $\frac{2}{5}$
✏️ Ejemplo resuelto: With probabilities
$P(B) = 0.4$ and $P(A \cap B) = 0.1$. Find $P(A \mid B)$.
Divide the probability of both by the probability of the condition.
$P(A \mid B) = \dfrac{0.1}{0.4} = 0.25$.
Respuesta: $0.25$
⚠️ Error común
Confusing $P(A \mid B)$ with $P(B \mid A)$. The probability that a person who tested positive is sick is not the probability that a sick person tests positive. Check what comes after the bar: that event is the condition, and its total goes in the denominator.
The second-level branches are conditional probabilities: given the first branch. Multiplying along a path gives P(both).
Práctica
Apruebas con 3 respuestas correctas, las 2 últimas seguidas. Cada respuesta correcta da 2 XP.