Understand d-separation

D-separation is a critical idea in Bayesian Networks. The problem it intends to tackle is: given a causal graph G, is a set X of variables…