Skip to content

The network figure

The network figure

The figure is read from top to bottom. The first layer is the top row and the outcome is the bottom row. No arc points upward.

Element Meaning
Row A layer. The layer name is shown in the left margin. The rows follow the assumed order.
Layer colour The position of the layer in the order, on the RdBu scale: blue for the first layer, red for the last.
Card A variable, with its name and its distribution in the fitted network. Each state has a bar and a probability.
Solid title strip A target.
Arc width The mutual information between the two variables in the fitted network, in bits, on a square-root scale. The legend shows the largest value.
Arc shade The proportion of bootstrap resamples that contain the arc. Darker arcs were learned in more resamples.
Percentage next to an arc The same proportion as a number.
Dashed arc An arc learned in fewer than half of the resamples.

Arcs that skip a layer are routed between the cards, so that they do not pass behind a card. Arcs within a layer are drawn as curves above the row. Arcs that meet the same edge of a card are distributed along that edge.

The bars show the model distribution

Each card shows the marginal distribution of the fitted network, not the observed frequencies. For a variable with parents, the two can differ slightly, because the probability tables are estimated with a prior. The bins figure in the report shows the observed frequencies.

Width and shade

Width and shade represent different properties of an arc.

Wide and light

The arc carries much information in the fitted network, but is not stable. A different sample could result in a different structure.

Narrow and dark

The arc is stable and is learned in almost every resample, but carries little information.

Report both properties. The percentages and the mutual information of each arc are in tables/arcs_<network>.csv.

Highlighting a variable

In Python, figures.network_figure(study, highlight=["OUTCOME"]) fades all arcs that are not connected to the outcome. See From Python.