In the Bayesian network with edges A→C, B→C, C→D, E→D and D→F, what is the Markov blanket of C? Prove from the factorisation that C is independent of all other variables given its blanket. Why is the co-parent E included?

Probabilistic models, Bayesian networks
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you can define the Markov blanket and prove its sufficiency directly from the joint factorisation.

Key idea

The Markov blanket of a node is its parents, its children and its children's other parents. Only factors that mention C can matter in p(C∣rest), and those are p(C∣pa(C)) and the child factors.

Steps

  1. Joint factorisation: p(A,B,C,D,E,F)=p(A)p(B)p(C∣A,B)p(E)p(D∣C,E)p(F∣D).
  2. Conditional of C given all others: p(C∣rest)=p(joint)∑cp(joint with C=c). Any factor not containing C appears in both numerator and denominator, so it cancels.
  3. Factors containing C are p(C∣A,B) and p(D∣C,E). So p(C∣rest)∝p(C∣A,B) p(D∣C,E).
  4. The right side involves only A,B,D,E. Hence C⊥F∣{A,B,D,E}, and F drops out. The Markov blanket is {A,B} (parents), {D} (child) and {E} (co-parent).
  5. Why E: observing the child D links C and E through the collider C→D←E. Knowing D opens the path, so E carries information about C (explaining away). The factor p(D∣C,E) shows E appears in the conditional.
  6. In d-separation terms, conditioning on the blanket blocks every path from C to any outside node. Paths leaving through a parent are blocked by that observed parent. The path C→D→F is blocked by the observed child D. The collider path C→D←E is opened by observing D, but it then continues through E, which is observed and so blocks it.

Common mistakes

How long your answer should be

Half a page; 4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probabilistic models: The data are x1,…,xn∼N(μ,σ2) with known σ2=1, and the prior is μ∼N(0, 4). For n=4 and sample mean xˉ=2, what is the posterior of μ and what is the predictive distribution of a new observation? How do you show that the posterior mean is a precision-weighted average?
Next in Probabilistic models: You want Ep[X] for p=N(0,1) but you sample from q=N(1,1) and get x=0.5, 1.0, 2.0, −0.5. What are the importance weights, the self-normalised estimate and the effective sample size, and what does a small effective sample size tell you?