# Conditional probability

This article defines some terms which characterize probability distributions of two or more variables.

Conditional probability is the probability of some event A, assuming event B. Conditional probability is written P(A|B), and is read "the probability of A, given B".

Joint probability is the probability of two events in conjunction. That is, it is the probability of both events together. The joint probability of A and B is written [itex]P(A \cap B)[itex] or [itex]P(A, \ B).[itex]

Marginal probability is the probability of one event, ignoring any information about the other event. Marginal probability is obtained by summing (or integrating, more generally) the joint probability over the ignored event. The marginal probability of A is written P(A), and the marginal probability of B is written P(B).

In these definitions, note that there need not be a causal or temporal relation between A and B. A may precede B, or vice versa, or they may happen at the same time. A may cause B, or vice versa, or they may have no causal relation at all.

## Relations

If A and B are events, and P(B) > 0, then

[itex]P(A\mid B)=\frac{P(A \cap B)}{P(B)}.[itex]

Equivalently, we have

[itex]P(A \cap B)=P(A\mid B)\cdot P(B).[itex]

If [itex]P(A \cap B) = P(A)P(B)[itex], or equivalently, [itex]P(A|B) = P(A)[itex], then we say that [itex]A[itex] and [itex]B[itex] are independent.

If [itex]B[itex] is an event and [itex]P(B) > 0[itex], then the function [itex]Q[itex] defined by [itex]Q(A) = P(A|B)[itex] for all events [itex]A[itex] is a probability measure.

If [itex]P(B)=0[itex], then [itex]P(A|B)[itex] is left undefined.

Conditional probability is more easily calculated with a decision tree.

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy