Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Gets one element of the sample covariance matrix, giving the sample covariance between two observed variables. As an alternative, you can use GetSampleCovariancesMatrix to get the entire matrix of sample covariances.

Syntax

result = object.GetSampleCovariancesElement (rowVariableName, columnVariableName)

result = object.GetSampleCovariancesElement (rowVariable, columnVariable)

The GetSampleCovariancesElement method syntax has the following parts:

Part

Description

result

The sample covariance.

object

An object of type CValue.

rowVariableName

(String) The name of an observed variable.

columnVariableName

(String) The name of an observed variable.

rowVariable

(An object of type Variable) An observed variable.

columnVariable

(An object of type Variable) An observed variable.

© 2021 Amos Development Corporation