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

Arguments
z 

Details
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.
Value
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.
Author(s)
Anthony DarrouzetNardi
See Also
hotspots
Examples
1 2 3 4 5 6 7 8 