Skip to Content

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.

Confidence Analysis Report window showing the Learning Context, the beginning of the arc frequency table, and the report controls
Click to Zoom
Confidence Analysis Report controls, including Structure Comparison, Extract Network, Hellixia – Report Analyzer, and Curve
Click to Zoom

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.

Ames synthesis structure with Sale Price at the center and arc frequencies shown by line thickness
Click to Zoom

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 5 − No. of Full Baths\mathit{5\ -\ No.\ of\ Full\ Baths} to 2 − Garage Space\mathit{2\ -\ Garage\ Space} appeared in 11 of the 20 comparisons (55%). Added and the minus sign indicate that the reference structure lacked this arc.

5 - No. of Full Baths → 2 - Garage Space Added Arc Frequency -55% Inverted Arc Frequency 0% Edge Frequency 0%

The arc from Sale Price\mathit{Sale\ Price} to 6 − No. of Fireplaces\mathit{6\ -\ No.\ of\ Fireplaces} appears in the reference structure and all 20 comparisons. Its status is Existing.

Sale Price → 6 - No. of Fireplaces Existing Arc Frequency 100% Inverted Arc Frequency 0% Edge Frequency 0%

The arc from 5 − No. of Full Baths\mathit{5\ -\ No.\ of\ Full\ Baths} to 1 − Overall Quality\mathit{1\ -\ Overall\ Quality} appeared in seven comparisons (35%). All three examples have zero inverted-arc and undirected-edge frequencies.

5 - No. of Full Baths → 1 - Overall Quality Added Arc Frequency -35% Inverted Arc Frequency 0% Edge Frequency 0%

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.

Ames reference structure before the coefficient sweep
Click to Zoom

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.

Ames comparison structure 8 with a count of two and a maximum structural coefficient of 2
Click to Zoom

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.

Ames Synthesis Structure
Click to Zoom
Synthesis Structure
Ames Reference Structure
Click to Zoom
Reference Structure
Ames Comparison Structure 8
Click to Zoom
Comparison Structure 8
Ames Comparison Structure 7
Click to Zoom
Comparison Structure 7
Ames Comparison Structure 6
Click to Zoom
Comparison Structure 6
Ames Comparison Structure 5
Click to Zoom
Comparison Structure 5
Ames Comparison Structure 4
Click to Zoom
Comparison Structure 4
Ames Comparison Structure 3
Click to Zoom
Comparison Structure 3
Ames Comparison Structure 2
Click to Zoom
Comparison Structure 2
Ames Comparison Structure 1
Click to Zoom
Comparison Structure 1
Ames Comparison Structure 0
Click to Zoom
Comparison Structure 0
StructureCountFrequencyMax SCValidation measure
8210%211.3970
715%1.811.3418
6630%1.711.4095
5210%1.110.2104
4210%0.911.0722
3315%0.711.9210
2210%0.413.7649
115%0.214.1750
015%0.115.7553