Calculates the magnitude of disproportionality for values within a dataset.
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
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.
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.