Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Gets one element of the sample means vector, giving the sample mean for a single observed variable. As an alternative, you can use GetSampleMeansVector to get the entire vector of sample means.

Syntax

result = object.GetSampleMeansElement (variableName)

result = object.GetSampleMeansElement (theVariable)

The GetSampleMeansElement method syntax has the following parts:

Part

Description

result

The sample mean.

object

An object of type CValue.

variableName

(String) The name of an observed variable whose sample mean you want.

theVariable

(An object of type Variable) An observed variable whose sample mean you want.

© 2021 Amos Development Corporation