Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Gets a sample mean vector and covariance matrix from the population specified by SpecifyPopulation.

Syntax

object.RandomMoments (Covariances, Means, NCases)

The RandomMoments method syntax has the following parts:

Part

Description

object

An object of type AmosRanGen.

Covariances

Output array of type Double. Second order moment matrix from a sample of NCases observations. Use SecondMomentsType to specify whether Covariances contains unbiased estimates of the population covariances, maximum likelihood estimates of the population covariances, or sums of squares and cross products about the sample mean.

Covariances contains the first element of the first row, the first two elements of the second row, and so on. The first element of Covariances is passed by reference. Covariances must be dimensioned by the caller.

Means

Output array of type Double. The vector of sample means from a sample of NCases observations. The first element of Means is passed by reference. Means must be dimensioned by the caller.

NCases

Input of type Integer. The number of observations.

 

© 2021 Amos Development Corporation