Lably
Skip to content

Conditional independence

Probability theory concept

  • 7 min read
  • 5 chapters

Related on Lably

Through Conditional probability, Event (probability theory) and Independence (probability theory)

P(A∣B,C)=P(A∣C)

where P(A∣B,C) is the probability of A given both B and C. Since the probability of A given C is the same as the probability of A given both B and C, this equality expresses that B contributes nothing to the certainty of A. In this case, A and B are said to be conditionally independent given C, written symbolically as: (A⊥⊥B∣C).

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 A, B, and C be events. A and B are said to be conditionally independent given C if and only if P(C)>0 andP(A∣B,C)=P(A∣C). This property is symmetric (more on this below) and often written as (A⊥⊥B∣C), which should be read as ((A⊥⊥B)|C).

Equivalently, conditional independence may be stated as P(A,B|C)=P(A|C)P(B|C) where P(A,B|C) is the joint probability of A and B given C. This alternate formulation states that A and B are independent events, given C.

It demonstrates that (A⊥⊥B∣C) is equivalent to (B⊥⊥A∣C).

Proof of the equivalent definition

P(A,B∣C)=P(A∣C)P(B∣C)⟺P(A,B,C)P(C)=(P(A,C)P(C))(P(B,C)P(C))definition of conditional probability⟺P(A,B,C)=P(A,C)P(B,C)P(C)multiply both sides by P(C)⟺P(A,B,C)P(B,C)=P(A,C)P(C)divide both sides by P(B, C)⟺P(A∣B,C)=P(A∣C)definition of conditional probability

Examples

Coloured boxes

Each cell represents a possible outcome. The events R, B and Y are represented by the areas shaded red, blue and yellow respectively. The overlap between the events R and B is shaded purple.

The probabilities of these events are shaded areas with respect to the total area. In both examples R and B are conditionally independent given Y because:

Pr(R,B∣Y)=Pr(R∣Y)Pr(B∣Y)

but not conditionally independent given [not Y] because:

Pr(R,B∣not Y)≠Pr(R∣not Y)Pr(B∣not Y)

Proximity and delays

Let events A and B be defined as the probability that person A and person B will be home in time for dinner where both people are randomly sampled from the entire world. Events A and B can be assumed to be independent i.e. knowledge that A is late has minimal to no change on the probability that B will be late. However, if a third event is introduced, person A and person B live in the same neighborhood, the two events are now considered not conditionally independent. Traffic conditions and weather-related events that might delay person A, might delay person B as well. Given the third event and knowledge that person A was late, the probability that person B will be late does meaningfully change.

Dice rolling

Conditional independence depends on the nature of the third event. If you roll two dice, one may assume that the two dice behave independently of each other. Looking at the results of one die will not tell you about the result of the second die. (That is, the two dice are independent.) If, however, the 1st die's result is a 3, and someone tells you about a third event - that the sum of the two results is even - then this extra unit of information restricts the options for the 2nd result to an odd number. In other words, two events can be independent, but not conditionally independent.

Height and vocabulary

Height and vocabulary are dependent since very small people tend to be children, known for their more basic vocabularies. But knowing that two people are 19 years old (i.e., conditional on age) there is no reason to think that one person's vocabulary is larger if we are told that they are taller.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Statistics