# Link (or Arc) Reversal¶

A link in a Bayesian network or a LIMID can be reversed using the Reverse Link Tool.

Please note that, to respect the conditional independence and dependence statements encoded in the network, link reversal may cause new links to be added. For example, assume we wish to reverse the link B \(\rightarrow\) A in B \(\rightarrow\) A \(\leftarrow\) C, which states that B and C are dependent given A. Then, to preserve this dependence statement, a link must be introduced between B and C. More precisely, the rule for link (or arc) reversal is the following:

Let X \(\rightarrow\) Y be a link in a Bayesian network, where X has parents {XP

_{1},…,XP_{n}} and Y has parents {X,YP_{2},…,YP_{m}}.Reversing the link X \(\rightarrow\) Y, makes {XP

_{1},…,XP_{n}} \(\cup\) {Y,YP_{2},…,YP_{m}} be the new parents of X and {YP_{2},…,YPm} \(\cup\) {XP_{1},…,XP_{n}} the new parents of Y.

This rule can easily be derived from Bayes’ rule.

As an example, consider the network in Figure 1. When reversing the link between X and Y in this network, X get additional parents {C,D} (i.e., those parents of Y that are not already parents of X) and Y get additional parents {A} (i.e., those parents of X that are not already parents of Y). The resulting network is shown in Figure 2.

Please note that only links between discrete chance nodes can be reversed.