# 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:

1. Let X \(\rightarrow\) Y be a link in a Bayesian network, where X has parents {XP1,…,XPn} and Y has parents {X,YP2,…,YPm}.

2. Reversing the link X \(\rightarrow\) Y, makes {XP1,…,XPn} \(\cup\) {Y,YP2,…,YPm} be the new parents of X and {YP2,…,YPm} \(\cup\) {XP1,…,XPn} 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.

Figure 1: A sample network, with link X \(\rightarrow\) Y selected.

Figure 2: The resulting network after reversal of link X \(\rightarrow\) Y.

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