Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Gets one element of the sample correlation matrix, giving the sample correlation between two observed variables. As an alternative, you can use GetSampleCorrelationsMatrix to get the entire matrix of sample correlations.

Syntax

result = object.GetSampleCorrelationsElement (rowVariableName, columnVariableName)

result = object.GetSampleCorrelationsElement (rowVariable, columnVariable)

The GetSampleCorrelationsElement method syntax has the following parts:

Part

Description

result

The sample correlation.

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