HARMONIC MEAN
Name:
Type:
Purpose:
Compute the harmonic mean for a variable.
Description:
The harmonic mean is defined as:
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:
Support for the harmonic mean has been added to the
following plots:
HARMONIC MEAN PLOT
BOOTSTRAP HARMONIC MEAN PLOT
JACKNIFE HARMONIC MEAN PLOT
CROSS TABULATE HARMONIC MEAN PLOT
INTERACTION HARMONIC MEAN PLOT
HARMONIC MEAN INFLUENCE CURVE
CROSS TABULATE HARMONIC MEAN
TABULATE HARMONIC MEAN
LET ... = CROSS TABULATE HARMONIC MEAN
Default:
Synonyms:
Related Commands:
|
MEAN
|
= Compute the mean.
|
|
MEDIAN
|
= Compute the median.
|
|
GEOMETRIC MEAN
|
= Compute the harmonic mean.
|
|
STATISTIC PLOT
|
= Generate a statistic vs. 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:
Implementation Date:
Program:
LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
LET A1 = HARMONIC MEAN Y1
Date created: 6/5/2001
Last updated: 4/4/2003
Please email comments on this WWW page to
alan.heckert@nist.gov.