447
Estimating a User-Defined Quantity in Bayesian SEM
We need to finish the statement by adding additional code to the right of the equals (=)
sign, describing how to compute the direct effect. The direct effect is to be calculated
for a set of parameter values that are accessible through the AmosEngine object that is
supplied as an argument to the
CalculateEstimands function. Unless you are an expert
Amos programmer, you would not know how to use the AmosEngine object; however,
there is an easy way to get the needed Visual Basic syntax by dragging and dropping.
Dragging and Dropping
E Find the direct effect in the Bayesian SEM window and click to select its row. (Its row
is highlighted in the following figure.)
E Move the mouse pointer to an edge of the selected row. Either the top edge or the
bottom edge will do.