Structure Comparison
Context
The Structure Comparison window is a key element of the Structural Coefficient Analysis, from where it can be launched.
Usage
You can open the Structure Comparison window by clicking the Structure Comparison button at the bottom of the Structural Coefficient Analysis Report.
Structure Comparison window
The Structure Comparison window is not exclusive to the Structural Coefficient Analysis. It is also available, in similar form, in the context of other learning processes that produce multiple Bayesian networks for comparison and evaluation purposes.
The Structure Comparison window features a toolbar at the top. Some of the icons are common throughout BayesiaLab and others are specific to this particular context:
Save the currently displayed graph as an image file | |
Print the currently displayed graph | |
Show the Synthesis Structure | |
Show the Reference Structure | |
| Go to the previous structure | |
| Go to the next structure | |
| Zoom In | |
| Zoom Out | |
Return to the Default Zoom Level | |
Resize the graph to fit the window | |
Position the graph at the top-left corner of the window | |
Stretch the graph or the selected nodes | |
Shrink the graph or the selected nodes | |
| Vertical Stretch | |
| Vertical Shrink | |
| Horizontal Stretch | |
| Horizontal Shrink | |
| Rotate Left | |
| Rotate Right | |
Save the currently displayed network as an XBL file | |
Open the currently displayed network in a new Graph Window |
Synthesis Structure
Upon opening the Structure Comparison window, the Synthesis Structure appears as the default view. It is marked by the icon in the toolbar and also labeled as such at the bottom of the Structure Comparison window.
Although the Synthesis Structure may look like a Bayesian network, it is actually not one. Rather, it visualizes the commonalities and differences between the Reference Network and the Comparison Networks:
- A black edge or arc signifies that it exists both in the Reference Network and all Comparison Networks.
- A blue edge or arc indicates that it does not exist in the Reference Network but does exist in at least one of the Comparison Networks.
- A red edge or arc means that it does exist in the Reference Network but does not exist in any of the Comparison Networks.
Arcs are displayed in the form of an arrow, while edges are shown as a straight solid line. A circled line between two arcs highlights a V-structure. The thickness of a line between two nodes is proportional to the frequency of the corresponding edge or arc, i.e., a thick blue arc implies that the arc occurs frequently in the Comparison Networks. Hold I while hovering over an arc or edge to see its frequencies. The arc from to appeared in 11 of the 20 comparisons (55%). Added and the minus sign indicate that the reference structure lacked this arc.
The arc from to appears in the reference structure and all 20 comparisons. Its status is Existing.
The arc from to appeared in seven comparisons (35%). All three examples have zero inverted-arc and undirected-edge frequencies.
Reference Structure
By clicking the next button, you proceed from the Synthesis Structure to the Reference Structure. Alternatively, you can access the Reference Structure by clicking the corresponding icon.
The Reference Structure represents the original network. Thus, what is displayed is a proper Bayesian network, not merely an illustration.
Comparison Structures
By clicking the next button, you proceed from the Reference Structure to the first of potentially many Comparison Structures.
The first one is labeled as Comparison Structure: 8 at the bottom of the window. You can use the previous and next buttons to navigate through the available structures in this order:
- Synthesis Structure, i.e., the illustration of the differences between the Reference Network and the Comparison Networks.
- Reference Structure, i.e., the starting point of the analysis that produced all Comparison Networks.
- Comparison Structure 8
- Comparison Structure 7
- Comparison Structure 6
- etc.
Right underneath the graph area, BayesiaLab reports additional information regarding the displayed Comparison Structure:
- The sequence number, e.g., 8, 7, … 0.
- The Count, i.e., the number of times the displayed Comparison Structure was found. In the above screenshot, the shown Comparison Structure was found twice.
- The Frequency, which refers to the count of the displayed Comparison Structures divided by the count of all generated Comparison Structures. Here, the Frequency is 10% (=2/20 displayed in percent). Note that the total number of Comparison Structures is not displayed here.
- The Max SC, which represents the Structural Coefficient used for learning the displayed Comparison Structure.
- The Validation Measure, which serves as a quality measure for choosing an appropriate Structural Coefficient.
For Comparison Structures, the Save Network and Open Network icons are available. This allows you to extract the currently displayed Comparison Structure. Select a thumbnail to inspect its structure.
| Structure | Count | Frequency | Max SC | Validation measure |
|---|---|---|---|---|
| 8 | 2 | 10% | 2 | 11.3970 |
| 7 | 1 | 5% | 1.8 | 11.3418 |
| 6 | 6 | 30% | 1.7 | 11.4095 |
| 5 | 2 | 10% | 1.1 | 10.2104 |
| 4 | 2 | 10% | 0.9 | 11.0722 |
| 3 | 3 | 15% | 0.7 | 11.9210 |
| 2 | 2 | 10% | 0.4 | 13.7649 |
| 1 | 1 | 5% | 0.2 | 14.1750 |
| 0 | 1 | 5% | 0.1 | 15.7553 |