Gets the number of rows in a matrix of estimates.
Syntax
object.NumberOfRows (matrixID)
object.NumberOfRows (matrixID, groupNumber)
The NumberOfRows 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. |
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
In order to use NumberOfRows (matrixID), you must first use NeedEstimates (matrixID). For example, you have to use
object.NeedEstimates (FactorScoreWeights)
before using
object.NumberOfRows (FactorScoreWeights, …)