Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Draws regression weights (single-headed arrows).

Syntax

weight = pd.DiagramDrawPath()

weight = pd.DiagramDrawPath(theElement1, theElement2)

weight = pd.DiagramDrawPath(variableName1, variableName2)

weight = pd.DiagramDrawPath(elementNumber1, elementNumber2)

weight = pd.DiagramDrawPath(x1, y1, x2, y2)

The DiagramDrawPath method syntax has the following parts:

Part

Description

weight

The newly drawn arrow (regression weight). (An object of type PDElement.)

theElement1, theElement2

(Of type PDElement) The new arrow points from theElement1 to theElement2.

variableName1, variableName2

(String) The names of two variables. The new arrow points from variableName1 to variableName2.

elementNumber1, elementNumber2

(Integer) Numbers that identify two variables. Objects in a path diagram are arbitrarily numbered beginning with 1. The new arrow points from the first variable to the second.

x1, y1

(Single) Coordinates of the variable that the new arrow points from. x1 is its distance in inches from the left edge of the path diagram. y1 is its distance in inches from the top edge.

x2, y2

(Single) Coordinates of the variable that the new arrow points to. x2 is its distance in inches from the left edge of the path diagram. y2 is its distance in inches from the top edge.

Calling DiagramDrawPath with no arguments is equivalent to the menu selection Diagram Draw Path.

See Use the Amos Graphics classes to draw a path diagram

© 2021 Amos Development Corporation