![]() |
RELATIVE DISPERSION INDEXName:
Given that the points have been converted to a set of N counts, Xk, this formula becomes
The value of the variational distance is between zero and one with values closer to zero indicating greater consistency with a uniform distribution. The relative dispersion index is a scaled version of the variational distance
where d is the variational distance statistic. This transforms the zero to one scale to a zero to 100 scale. Values close to 100 indicate consistency with a uniform distribution.
<SUBSET/EXCEPT/FOR qualification> where <y> is the response variable; <a> is a parameter where the computed statistic is saved; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET A = RELATIVE DISPERSION INDEX Y1 SUBSET TAG > 2
LET Y = UNIFORM RANDOM NUMBERS FOR I = 1 1 1000 LET Y1 X1 = BINNED Y LET Y = NORMAL RANDOM NUMBERS FOR I = 1 1 1000 LET Y2 X2 = BINNED Y LET Y = EXPONENTIAL RANDOM NUMBERS FOR I = 1 1 1000 LET Y3 X3 = BINNED Y LET A1 = RELATIVE DISPERSION INDEX Y1 LET A2 = RELATIVE DISPERSION INDEX Y2 LET A3 = RELATIVE DISPERSION INDEX Y3 SET WRITE DECIMALS 4 PRINT A1 A2 A3The following output is generated. PARAMETERS AND CONSTANTS-- A1 -- 92.5333 A2 -- 60.7571 A3 -- 48.1910
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 06/23/2014 |