GEOMETRIC MEAN

Name:

GEOMETRIC MEAN (LET)

Type:

Let Subcommand

Purpose:

Compute the geometric mean for a variable.

Description:

The geometric mean is defined as:

\( \mbox{XGM} = (\prod_{i=1}^{n}{X_i})^{1/n} \)

Syntax:

LET <par> = GEOMETRIC MEAN <y1>
<SUBSET/EXCEPT/FOR qualification>
where <y1> is the response variable;
<par> is a parameter where the computed geometric
mean is stored;
and where the <SUBSET/EXCEPT/FOR qualification>
is optional.

Examples:

LET A = GEOMETRIC MEAN Y1
LET A = GEOMETRIC MEAN Y1 SUBSET TAG > 2

Note:

Dataplot statistics can be used in a number of commands. For
details, enter