Dataplot Vol 2 Vol 1

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

Default:
None
Synonyms:
None
Related Commands:
 MEAN = Compute the mean. MEDIAN = Compute the median. GEOMETRIC STANDARD DEVIATION = Compute the geometric standard deviation. STATISTICS PLOT = Generate a statistic versus subset plot. BOOTSTRAP PLOT = Generate a bootstrap plot. TABULATE = Perform a tabulation for a specified statistic.
Applications:
Data Analysis
Implementation Date:
2000/01
Program:
LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
LET A1 = GEOMETRIC MEAN Y1

NIST is an agency of the U.S. Commerce Department.

Date created: 06/05/2001
Last updated: 11/16/2015