Calculates the magnitude of disproportionality for values within a dataset.
1  disprop(z)

z 

Calculates the magnitude of disproportionality for each value within the data by dividing
the difference between each value and the median by the difference between the hot spot cutoff,
(Ch
, as calculated by the function hotspots
), and the median:
disproportionality = (x  med(x)) / (Ch  med(x))
Using this equation, all hot spots have a magnitude of disproportionality of > 1. Increasingly skewed distributions (for example, lognormal distributions with higher standard deviation) will have higher magnitudes of disproportionality for some of their values.
A list containing the objects positive
, negative
, or both, depending on the which tails were
calculated in the hotspots
object. These objects are numeric vectors of the magnitudes of disproportionality.
NA values are preserved.
Anthony DarrouzetNardi
hotspots
1 2 3 4 5 6 7 8 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.