Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Specifies the number of observed variables in the model.

Syntax

object.OVariableCount (nVariables)

The OVariableCount method syntax has the following parts:

Part

Description

object

An object of type AmosEngine.

nVariables

The number of observed variables in the model.

Placement: [2].

Default

When the OVariableCount method is not used, no error checking is done based on the number of observed variables.

Remarks

Amos checks nVariables for consistency with the model and the data file. If a discrepancy is found, Amos reports the discrepancy and quits. Spelling or typing errors are frequently detected by this check, since two variant spellings of a variable name will be treated as references to two distinct variables.

In a multiple-group analysis, the OvariableCount method can be used once per group.

See Also

UVariableCount Method

VariableCount Method

© 2021 Amos Development Corporation