|
DIFFERENCE OF AVERAGE ABSOLUTE DEVIATION FROM MEDIANName:
\[ \mbox{AAD} = \frac{\sum_{i=1}^{N}{|X - \tilde{X}|}}{N} \] where \( \tilde{X} \) is the median of the variable, and N is the number of observations. This statistic is sometimes used as an alternative to the standard deviation. For the difference of average absolute deviations from the median, the average absolute deviation from the median 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 average absolute deviations from the median is stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
DIFFERENCE OF AVERAGE ABSOLUTE DEVIATION FROM MEDIAN to compute differences from the median.
SKIP 25 READ IRIS.DAT Y1 TO Y4 X . LET A = DIFFERENCE OF AAD Y1 Y2 SET WRITE DECIMALS 4 TABULATE DIFFERENCE OF AAD Y1 Y2 XThe following output is generated Cross Tabulate DIFFERENCE OF AVERAGE ABSOLUTE DEVIATION (Response Variables: Y1 Y2 ) --------------------------------------------- X | DIFFERENCE OF A --------------------------------------------- 0.1000000E+01 | -0.1664000E-01 0.2000000E+01 | 0.1666400E+00 0.3000000E+01 | 0.2604000E+00 . XTIC OFFSET 0.2 0.2 X1LABEL GROUP ID Y1LABEL DIFFERENCE OF AAD CHAR X LINE BLANK DIFFERENCE OF AAD PLOT Y1 Y2 X CHAR X ALL LINE BLANK ALL BOOTSTRAP DIFFERENCE OF AAD PLOT Y1 Y2 X
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/31/2015 |