Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Assigns values to the matrix of sample covariances, where sample covariances are stored as a one-dimensional array. This method should not be used if means/intercepts are explicit model parameters, because it sets the vector of sample means to zero. (Use PutSampleMomentsPacked instead.) If your sample covariances are stored in a two-dimensional array, use PutSampleCovariances.

Syntax

object.PutSampleCovariancesPacked (covarianceMatrix)

object.PutSampleCovariancesPacked (covarianceMatrix, groupNumber)

The PutSampleCovariancesPacked method syntax has the following parts:

Part

Description

object

An object of type AmosEngine.

covarianceMatrix

A one-dimensional array of type double. The lower triangular elements of covarianceMatrix should be stored in the order x(0,0), x(1,0), x(1,1),.....

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 PutSampleCovariancesPacked.

3.Use FitModel.

© 2021 Amos Development Corporation