Skip to Content

Structure Comparison

Context

Ames Housing.xbl
XBL

Usage

At the bottom of the Confidence Analysis Report, click Structure Comparison.

Complete Structural Coefficient Analysis window showing Learning Context at the upper left, followed by arc frequencies, with the Structure Comparison button along the bottom

Structure Comparison window

BayesiaLab opens the Synthesis Structure first. Use Next to see the Reference Structure, then each distinct Comparison Structure. Other learning procedures that generate multiple networks also offer this window.

Structure Comparison toolbar controls

IconFunction
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

The selected toolbar button and the label below the graph identify the Synthesis Structure. This view overlays the relationships from the reference network and all 20 learned networks.

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

Read color and thickness together. Color compares a relationship with the reference network. Thickness shows how often the relationship appeared during the sweep.

  • Black marks a reference relationship also found during the sweep.
  • 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.

An arrow shows a directed arc. A line without an arrowhead shows an undirected edge. A curved line joining two incoming arcs marks a V-structure. Hold I while hovering over an arc or edge to read its frequencies.

The arc from No. of Full Baths\mathit{No.\ of\ Full\ Baths} to Garage Space\mathit{Garage\ Space} appeared in 11 of the 20 comparisons (55%). Added and the minus sign indicate that the reference structure lacked this arc.

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

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

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

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

No. of Full Baths → 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

The Reference Structure is the Bayesian network that was open when the analysis began.

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

The footer reads Comparison Structure: 8. Use Next to step through structures 7 to 0, or Previous to go back. The numbers identify structures in display order.

For Structure 8, Count is 2 and Frequency is 10% because two of the 20 runs produced that structure. Max SC is the largest Structural Coefficient that produced it, here 2. The Validation Measure is 11.3970. Lower values indicate better performance on this measure.

Use Save Network to save the displayed comparison as an XBL file or Open Network to inspect it in a new Graph Window. Select a thumbnail below to view the complete comparison window.

Ames Synthesis Structure
Synthesis Structure
Ames Reference Structure
Reference Structure
Ames Comparison Structure 8
Comparison Structure 8
Ames Comparison Structure 7
Comparison Structure 7
Ames Comparison Structure 6
Comparison Structure 6
Ames Comparison Structure 5
Comparison Structure 5
Ames Comparison Structure 4
Comparison Structure 4
Ames Comparison Structure 3
Comparison Structure 3
Ames Comparison Structure 2
Comparison Structure 2
Ames Comparison Structure 1
Comparison Structure 1
Ames Comparison Structure 0
Comparison Structure 0
Structures 6 through 0 contain all the arcs of the reference structure and appear in red.
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.116.8931