Interpreting the network¶
This section describes each part of the report, what it shows and what its limitations are. Read it before you describe an analysis in a publication.
Bayesian networks¶
A Bayesian network is a joint probability distribution over a set of variables, represented as a graph. Each variable has a table with the probabilities of its states given the states of its parents. layerbn learns the graph and the tables from the data, with one restriction: no arc can point to an earlier layer.
An arc from A to B means that¶
- B depends on A, given the other variables in the model.
- It was assumed that B cannot influence A.
- The dependence is supported by the data.
An arc from A to B does not mean that¶
- A causes B. A causal interpretation also requires a correct order, no unmeasured common causes, valid measurements and a sufficient sample size.
- A is important. The width and stability of the arc indicate its strength and certainty.
Order and arcs¶
- Between layers, the direction of an arc is determined by the order. The data only determine whether the arc is present.
- Within a layer, the data determine whether an arc is present, but often not its direction. Do not interpret the direction unless there is external evidence for it.
- A variable in a later layer cannot be a cause of a variable in an earlier layer. If the order is incorrect for a pair of variables, the result for that pair is also incorrect, and the data cannot reveal this.
Parts of the report¶
-
Layers, arcs, arc widths and percentages.
-
The proportion of resamples that contain an arc, and why it is not a p-value.
-
Mutual information, and how a variable is connected to the target.
-
Probabilities for groups, and the meaning of conditioning.
-
All results depend on the bins. Review them first.
-
How to interpret differences between networks.