SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages

Dataplot Vol 2 Vol 1


HARMONIC MEAN

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

      \( \mbox{HM} = \frac{n} {\sum_{i=1}^{n}{1/X_{i}}} \)
Syntax:
    LET <par> = HARMONIC MEAN <y1>
                            <SUBSET/EXCEPT/FOR qualification>
    where <y1> is the response variable;
                <par> is a parameter where the computed harmonic mean is stored;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A = HARMONIC MEAN Y1
    LET A = HARMONIC 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: Applications:
    Data Analysis
Implementation Date:
    2000/01
Program:
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
    LET A1 = HARMONIC MEAN Y1

Privacy Policy/Security Notice
Disclaimer | FOIA

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

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

Please email comments on this WWW page to alan.heckert@nist.gov.