Skip to Content

Step 4: Completing the Probabilistic Structural Equation Model

Based on the “final” network, we can proceed to the next step in our network-building process. We now introduce Purchase Intent\mathit{Purchase\ Intent}, which has been excluded up to this point. In Modeling Mode, right-click Purchase Intent\mathit{Purchase\ Intent} and clear Exclude to make it available for learning. Then choose Set as Target Node from its contextual menu. The target symbol appears on the node.

Looking for an SEM-type network structure stipulates that Manifest variables be connected exclusively to the Factors and that all the connections with Purchase Intent\mathit{Purchase\ Intent} must go through the factors. We have already imposed this constraint by setting the option Forbid new Relationships with Manifest Variables in the Multiple Clustering dialog box. This created so-called Forbidden Arcs, which prevent learning algorithms from creating new arcs between the specified nodes. BayesiaLab indicates the presence of Forbidden Arcs with an icon in the lower right-hand corner of the Graph Panel window. Clicking on the icon brings up the Forbidden Arc Editor, which allows us to review the currently set constraints. We see that the nodes belonging to the Class Manifest\mathrm{Manifest} must not have any links to any other nodes, i.e., both directions are “forbidden.”

Forbidden Arc Editor: Manifest class and All Nodes are forbidden in both directions

Upon confirming these constraints, we start Unsupervised Learning to generate a network that includes the Factors and the Target Node. In this particular situation, we need to utilize Taboo Learning. It is the only algorithm in BayesiaLab that can learn a new structure on top of an existing network structure and simultaneously guarantee to keep Fixed Arcs unchanged (EQ can also be used for structural learning on top of an existing network, but as it searches in the space of Essential Graphs, there is no guarantee that the Fixed Arcs remain unchanged). This is important as the arcs linking the Factors and their Manifest variables are such Fixed Arcs. To distinguish them visually, Fixed Arcs appear as dotted lines in the network instead of the solid lines of “regular” arcs.

We start Taboo Learning from the main menu by selecting Menus > Learning > Unsupervised Structural Learning > Taboo and check the option Keep Structure in the Taboo dialog box. Keep Taboo List Size at 207 and leave both maximum-parent and maximum-child limits disabled.

Learning menu showing Taboo under Unsupervised Structural LearningTaboo settings: list size 207, Keep Structure, parent and child limits disabled

Upon completing the learning process, we obtain the network shown below.

Loading SVG...
Click to Zoom

As in Step 1, we also try to improve the quality of this network by using the Data Perturbation algorithm. Use 100 tests with Taboo, list size 207, and Keep Structure. Set Final Standard Deviation to 0.01, the minimum and maximum Structural Coefficient to 1, and Fixed Seed to 31. Leave the parent and child limits disabled.

Data Perturbation: 100 Taboo tests, list size 207, Keep Structure, final deviation 0.01, structural coefficient fixed at 1, seed 31

In this run, Data Perturbation found no improvement over the Taboo result: the MDL Score remained 103,383.526. The resulting structure and displayed probability tables were unchanged. After applying Automatic Layout, adjust node spacing and label positions to keep the connections clear. Enable Show Long Name in Node Rendering Properties for the Factors to show their representative Manifest names.

Loading SVG...
Click to Zoom

Now we see how the manifest variables are “laddering up” to the Factors and how the Factors are related to each other. Most importantly, we can observe where the Purchase Intent\mathit{Purchase\ Intent} node was attached to the network during the learning process. The structure conveys that Purchase Intent\mathit{Purchase\ Intent} is only connected to [Factor_2]\mathit{[Factor\_2]}, which is labeled with the Long Name Pleasure_(4)\mathit{Pleasure\_(4)}.