In
probability theory
Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set o ...
, conditional independence describes situations wherein an observation is irrelevant or redundant when evaluating the certainty of a hypothesis. Conditional independence is usually formulated in terms of
conditional probability
In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion or evidence) has already occurred. This particular method relies on event B occu ...
, as a special case where the probability of the hypothesis given the uninformative observation is equal to the probability without. If
is the hypothesis, and
and
are observations, conditional independence can be stated as an equality:
:
where
is the probability of
given both
and
. Since the probability of
given
is the same as the probability of
given both
and
, this equality expresses that
contributes nothing to the certainty of
. In this case,
and
are said to be conditionally independent given
, written symbolically as:
.
The concept of conditional independence is essential to graph-based theories of statistical inference, as it establishes a mathematical relation between a collection of conditional statements and a
graphoid.
Conditional independence of events
Let
,
, and
be
events.
and
are said to be conditionally independent given
if and only if
and:
:
This property is often written:
, which should be read
.
Equivalently, conditional independence may be stated as:
:
where
is the
joint probability of
and
given
. This alternate formulation states that
and
are
independent events, given
.
It demonstrates that
is equivalent to
.
Proof of the equivalent definition
:
:iff
(definition of
conditional probability
In probability theory, conditional probability is a measure of the probability of an event occurring, given that another event (by assumption, presumption, assertion or evidence) has already occurred. This particular method relies on event B occu ...
)
:iff
(multiply both sides by
)
:iff
(divide both sides by
)
:iff
(definition of conditional probability)
Examples
StackExchange provides here some useful examples.
Coloured boxes
Each cell represents a possible outcome. The events
,
and
are represented by the areas shaded , and respectively. The overlap between the events
and
is shaded .
The probabilities of these events are shaded areas with respect to the total area. In both examples
and
are conditionally independent given
because:
:
but not conditionally independent given