Obtains the variable numbers associated with the columns of a matrix.
Syntax
object.ColumnNumbers (matrixID, theVariableNumbers)
object.ColumnNumbers (matrixID, theVariableNumbers, groupNumber)
The ColumnNumbers method syntax has the following parts:
Part |
Description |
object |
An object of type AmosEngine. |
matrixID |
An integer that specifies a matrix of estimates, as described in Settings |
theVariableNumbers |
An integer array declared in the calling program as Dim theVariableNumbers() as Integer The Amos Engine redimensions the array. |
groupNumber |
Optional. A group number. The first group is group number 1. If groupNumber is omitted, the first group is used. |
Placement: [3].
Settings
The settings for matrixID are:
Constant |
Value |
Description |
SampleCovariances |
13 |
Sample covariances. |
SampleCorrelations |
14 |
Sample correlations. |
SampleMeans |
15 |
Sample means. |
ImpliedCovariances |
10 |
The implied covariances among the observed variables in the model. |
ImpliedCorrelations |
11 |
The implied correlations among the observed variables in the model. |
ImpliedMeans |
12 |
The implied means of the observed variables in the model. |
AllImpliedCovariances |
7 |
The implied covariances among all variables in the model, with the exception of residual variables. |
AllImpliedCorrelations |
8 |
The implied correlations among all variables in the model, with the exception of residual variables. |
AllImpliedMeans |
9 |
The implied means of all variables in the model, with the exception of residual variables. |
DirectEffects |
19 |
Direct effects. |
IndirectEffects |
20 |
Indirect effects. |
TotalEffects |
5 |
Total effects. |
StandardizedDirectEffects |
22 |
Standardized direct effects. |
StandardizedIndirectEffects |
23 |
Standardized indirect effects. |
StandardizedTotalEffects |
21 |
Standardized total effects. |
FactorScoreWeights |
6 |
Factor score weights. |
Remarks
The NeedEstimates method must be used to warn that a particular matrix of estimates will be needed before the ColumnNumbers method can be used to obtain the column numbers for that matrix. For example, you have to use
object.NeedEstimates (ImpliedMeans)
before using
object.ColumnNumbers (ImpliedMeans, …)
See Also