Assigns values to the sample covariances and the sample means when sample covariances are stored as a one-dimensional array.
Syntax
object.PutSampleMomentsPacked (covariances, means)
object.PutSampleMomentsPacked (covariances, means, groupNumber)
The PutSampleMomentsPacked method syntax has the following parts:
Part |
Description |
object |
An object of type AmosEngine. |
covariances |
A one-dimensional array of type double. The lower triangular elements of covariances should be stored in the order x(0,0), x(1,0), x(1,1),..... |
means |
A one-dimensional array of type double. The number of elements in means must equal the number of observed variables in the model. |
groupNumber |
Optional. A group number. The first group is group number 1. If groupNumber is omitted, the first group is used. |
Placement: [3].
Remarks
One efficient technique for performing a sampling study is to loop through the following sequence.
1.Generate a new sample covariance matrix.
2.Use PutSampleMomentsPacked.
3.Use FitModel.