IBM SPSS Amos 21 Laptop User Manual


 
577
Example
37
Using Amos Graphics without
Drawing a Path Diagram
Introduction
People usually specify models in Amos Graphics by drawing path diagrams;
however, Amos Graphics also provides a non-graphical method for model
specification. If you don't want to draw a path diagram, you can specify a model by
entering text in the form of a Visual Basic or C# program. In such a program, each
object in a path diagram (for example, each rectangle, ellipse, single-headed arrow,
double-headed arrow, and figure caption) corresponds to a single program statement.
Usually, a program statement is one line of text.
Here are some reasons why you might choose to specify a model by entering text
rather than by drawing a path diagram.
Your model is so big that drawing its path diagram would be difficult.
You prefer using a keyboard to using a mouse, or prefer working with text to
working with graphics.
You need to generate a lot of similar models that differ only in some detail such
as the number of variables or the variable names. If you need to generate such
models frequently, it can be efficient to automate the chore by creating a super
program whose text output is a tailor-made Visual Basic or C# program that
specifies the particular model that you want Amos to fit.
The present example shows how to specify a model in Amos Graphics by entering text
rather than by drawing a path diagram.