589
Using Amos Graphics without Drawing a Path Diagram
Then you can use the program variable wordmean to refer to the model variable called
wordmean, and use the program variable verbal to refer to the model variable called
verbal. If you want to draw a single-headed arrow from the verbal variable to the
wordmean variable, you can write either
pd.Path(wordmean, verbal)
or
pd.Path(“wordmean”, "verbal")
The advantage of the unquoted version over the quoted version is that, with the
unquoted version, typing errors are likely to be detected when you compile the plugin
(by clicking Compile in the Program Editor window). With the quoted version, typing
errors cannot be detected until you use the plugin, if they are detected at all.
The file Ex37b-plugin.vb contains a plugin that has the same functionality as Ex37a-
plugin.vb. The difference is that Ex37b-plugin.vb uses Visual Basic variables to refer
to model variables. If you performed a typical installation of Amos, Ex37b-plugin.vb
is in this location: C:\Program Files\IBM\SPSS\Amos\21\Plugins.