Difference between revisions of "Conditional probability"
(→Formula) |
(→Formula) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
==Formula== | ==Formula== | ||
− | The formula for conditional probability is <cmath>P(A \cap B) = P(A) \cdot P(B|A)</cmath> where <math>P(B|A)</math> represents the conditional probability. <math>P(B|A)</math> is also said as the probability of event B occurring given event A occurs. <math>P(A \cap B)</math> is the probability <math>P(A) \cdot P(B)</math>.We can also represent <math>P(A|B)</math> as < | + | The formula for conditional probability is <cmath>P(A \cap B) = P(A) \cdot P(B|A)</cmath> where <math>P(B|A)</math> represents the conditional probability. <math>P(B|A)</math> is also said as the probability of event B occurring given event A occurs. <math>P(A \cap B)</math> is the probability <math>P(A) \cdot P(B)</math>. We can also represent <math>P(A|B)</math> as (the actual formula) <cmath>P(A|B) = \frac {P(A \cap B)} {P(A)}</cmath> |
==Different cases== | ==Different cases== | ||
− | + | What if <math>P(A) = 0</math>? We can easily fix this with a little bit of limits and integrals. We simply just want a random variable conditioned on a random |
Revision as of 19:51, 29 June 2024
Conditional probability is the probability of an event occurring, assuming that another event has already occurred. is said as the probability of event B given A
Contents
Example
Let us say that 2 fair 6 sided dice are rolled and their face up values sum is 6. What is the probability that the face up value of the one dice is 2?
Solution
Let call the first dice and the second one
. There are 5 ways for
and 2 of those ways (distinct) includes a 2. Therefore, our answer is
.
Formula
The formula for conditional probability is where
represents the conditional probability.
is also said as the probability of event B occurring given event A occurs.
is the probability
. We can also represent
as (the actual formula)
Different cases
What if ? We can easily fix this with a little bit of limits and integrals. We simply just want a random variable conditioned on a random