|
DIFFERENCE OF HODGES-LEHMANNName:
Specifically, the Hodges-Lehmann estimate for location is defined as
Dataplot uses ACM algorithm 616 (HLQEST written by John Monohan) to compute the estimate. This is a fast, exact algoirthm. One modification is that for n <= 25 Dataplot computes the estimate directly from the definition. For the difference of the Hodges-Lehmann location estimats, the Hodges-Lehmann location estimate is computed for each of two samples then their difference is taken.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the first response variable; <par> is a parameter where the computed difference of the Hodges-Lehmann location estimate is stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET A = DIFFERENCE OF HODGES-LEHMANN Y1 Y2 SUBSET X > 1
CROSS TABULATE DIFFERENCE OF HODGES-LEHMANN PLOT Y1 Y2 X BOOTSTRAP DIFFERENCE OF HODGES-LEHMANN PLOT Y1 Y2 TABULATE DIFFERENCE OF HODGES-LEHMANN Y1 Y2 X CROSS TABULATE DIFFERENCE OF HODGES-LEHMANN Y1 Y2 X LET Z = CROSS TABULATE DIFFERENCE OF HODGES-LEHMANN Y1 Y2 X1 X2 Enter
HELP STATISTIC PLOT for more information on these plots and commands. Default:
"Introduction to Robust Estimation and Hypothesis Testing", Rand Wilcox, Academic Press, 1997.
SKIP 25
READ IRIS.DAT Y1 TO Y4 X
.
LET A = DIFFERENCE OF HODGES-LEHMANN Y1 Y2
TABULATE DIFFERENCE OF HODGES-LEHMANN Y1 Y2 X
.
XTIC OFFSET 0.2 0.2
X1LABEL GROUP ID
Y1LABEL DIFFERENCE OF HODGES-LEHMANN
CHAR X
LINE BLANK
DIFFERENCE OF HODGES-LEHMANN PLOT Y1 Y2 X
CHAR X ALL
LINE BLANK ALL
BOOTSTRAP DIFFERENCE OF HODGES-LEHMANN PLOT Y1 Y2 X
Dataplot generated the following output.
**************************************************
** LET A = DIFFERENCE OF HODGES LEHMANN Y1 Y2 **
**************************************************
THE COMPUTED VALUE OF THE CONSTANT A = 0.27500002E+01
*****************************************************
** TABULATE DIFFERENCE OF HODGES LEHMANN Y1 Y2 X **
*****************************************************
* Y1 AND Y2
X * DIFFERENCE OF HODGES-LEHMANN
**********************************************
1.00000 * 1.60000
2.00000 * 3.10000
3.00000 * 3.60000
GROUP-ID AND STATISTIC WRITTEN TO FILE DPST1F.DAT
Date created: 3/27/2003 |