SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Contacts SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Auxiliary Chapter

GEOMETRIC MEAN

Name:
    GEOMETRIC MEAN (LET)
Type:
    Let Subcommand
Purpose:
    Compute the geometric mean for a variable.
Description:
    The geometric mean is defined as:

      XGM = (PRODUCT(Xi))**(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:
    Support for the geometric mean has been added to the following plots and commands:

      GEOMETRIC MEAN PLOT
      BOOTSTRAP GEOMETRIC MEAN PLOT
      JACKNIFE GEOMETRIC MEAN PLOT
      CROSS TABULATE GEOMETRIC MEAN PLOT
      INTERACTION GEOMETRIC MEAN PLOT
      INFLUENCE GEOMETRIC MEAN PLOT
      TABULATE GEOMETRIC MEAN
      CROSS TABULATE GEOMETRIC MEAN
      LET ... = CROSS TABULATE GEOMETRIC MEAN
Default:
    None
Synonyms:
    None
Related Commands:
    MEAN = Compute the mean.
    MEDIAN = Compute the median.
    GEOMETRIC STANDARD DEVIATION = Compute the geometric standard deviation.
    STATISTIC PLOT = Generate a statistic versus subset plot.
    BOOTSTRAP PLOT = Generate a bootstrap plot.
    JACKNIFE PLOT = Generate a jacknife plot.
    CROSS TABULATE PLOT = Generate a cross tabulate plot.
    INTERACTION PLOT = Generate an interaction plot.
Applications:
    Data Analysis
Implementation Date:
    2000/1
Program:
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
    LET A1 = GEOMETRIC MEAN Y1

Date created: 6/5/2001
Last updated: 4/4/2003
Please email comments on this WWW page to alan.heckert@nist.gov.