Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Assigns values to the matrix of sample covariances. This method should not be used if means/intercepts are explicit model parameters, because it sets the vector of sample means to zero. (Use PutSampleMoments instead.)

Syntax

object.PutSampleCovariances (covarianceMatrix)

object.PutSampleCovariances (covarianceMatrix, groupNumber)

The PutSampleCovariances method syntax has the following parts:

Part

Description

object

An object of type AmosEngine.

covarianceMatrix

A two-dimensional array of type double. The dimensions of covarianceMatrix must exactly match the dimensions of the sample covariance matrix.

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 technique for performing sampling studies consists of the repeated use of PutSampleCovariances and FitModel.

See Also

Use the AmosEngine class to test for scale- and location-invariance

© 2021 Amos Development Corporation