Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Draws a rectangle to represent an observed variable.

Syntax

result = pd.Observed (name)

result = pd.Observed (name, meanOrInterceptValue, varianceValue)

result = pd.Observed (name, meanOrInterceptName, varianceValue)

result = pd.Observed (name, meanOrInterceptValue, varianceName)

result = pd.Observed (name, meanOrInterceptName, varianceName)

result = pd.Observed (name, x, y, width, height)

result = pd.Observed (name, meanOrInterceptValue, varianceValue, x, y, width, height)

result = pd.Observed (name, meanOrInterceptName, varianceValue, x, y, width, height)

result = pd.Observed (name, meanOrInterceptValue, varianceName, x, y, width, height)

result = pd.Observed (name, meanOrInterceptName, varianceName, x, y, width, height)

The Observed method syntax has the following parts:

Part

Description

result

(Object of type PDElement) A rectangle in the path diagram that represents an observed variable in the model.

name

(String) The name of the observed variable.

meanOrInterceptValue

(Double) The value of the variable's mean (if the variable is exogenous) or intercept (if the variable is endogenous). This argument should be supplied only when means and intercepts are explicit model parameters.

meanOrInterceptName

(String) The name of the variable's mean (if the variable is exogenous) or intercept (if the variable is endogenous). If means and intercepts are not explicit model parameters, meanOrInterceptName should be the empty string.

varianceValue

(Double) The value of the variable's variance. varianceValue should be supplied as an argument to the Observed method only when creating an exogenous variable.

varianceName

(String) A name for the variable's variance. varianceName should be supplied as an argument to the Observed method only when creating an exogenous variable.

x

(Double) The distance from the left edge of the path diagram to the center of the rectangle, measured in units of 1/96 inch.

y

(Double) The distance from the top edge of the path diagram to the center of the rectangle, measured in units of 1/96 inch.

width

(Double) The rectangle's width, measured in units of 1/96 inch.

height

(Double) The rectangle's height, measured in units of 1/96 inch.

Remarks

If you do not specify a name or value for a parameter, the parameter will be unconstrained. If you do not specify a height, width, x-coordinate and y-coordinate, the rectangle will be assigned an arbitrary height and width and a random x-coordinate and y-coordinate.

© 2021 Amos Development Corporation