Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2024-03-18 14:28:53
Size: 241
Comment: Initial commit
Revision 4 as of 2025-08-06 02:13:07
Size: 1354
Comment: Simplification
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
'''Conditional probability''' relates the probability of two events. The math notation is ''P(A|B)'', as in the probability of ''A'' given ''B''. A '''conditional probability''' is the likelihood of an event happening given that another event happens. The math notation is ''P(A|B)'', as in the probability of ''A'' given ''B''.
Line 11: Line 11:
== Description ==

This is the probability of an event given that some event(s) has (have) already occurred. This is generally notated as ''P(A|B)'' or ''P(A;B)'', where ''B'' has already occurred.

It is generically decomposed as ''P(A|B) = P(A∩B) / P(B)''. Importantly though, '''Bayes theorem''' provides the following decomposition based on [[Statistics/JointProbability|joint probabilities]]:

{{attachment:bayes.svg}}



=== Independence ===

If two events are [[Statistics/JointProbability#Independence|independent]] (notated as ''A⫫B''), then probabilities of one do not change from being conditioned on the other.

Put simply, if the conditioning probability is not 0, then:
 * ''P(A|B) = P(A)''
 * ''P(B|A) = P(B)''

A conditioning probability of 0 will cause the conditional probability to be undefined.



=== Conditional Independence ===

If events ''A'' and ''B'' are '''conditionally independent''', then:
 * ''P(A|B,C) = P(A|C)''
 * ''P(A,B|C) = P(A|C) P(B|C)''

This interrelation is sometimes notated as ''(A⫫B)|C''.


Conditional Probability

A conditional probability is the likelihood of an event happening given that another event happens. The math notation is P(A|B), as in the probability of A given B.


Description

This is the probability of an event given that some event(s) has (have) already occurred. This is generally notated as P(A|B) or P(A;B), where B has already occurred.

It is generically decomposed as P(A|B) = P(A∩B) / P(B). Importantly though, Bayes theorem provides the following decomposition based on joint probabilities:

bayes.svg

Independence

If two events are independent (notated as A⫫B), then probabilities of one do not change from being conditioned on the other.

Put simply, if the conditioning probability is not 0, then:

  • P(A|B) = P(A)

  • P(B|A) = P(B)

A conditioning probability of 0 will cause the conditional probability to be undefined.

Conditional Independence

If events A and B are conditionally independent, then:

  • P(A|B,C) = P(A|C)

  • P(A,B|C) = P(A|C) P(B|C)

This interrelation is sometimes notated as (A⫫B)|C.


CategoryRicottone

Statistics/ConditionalProbability (last edited 2025-08-06 02:13:34 by DominicRicottone)