Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New command -divcat- available on SSC

    Thanks as always to Kit Baum, divcat is now available on SSC.

    divcat calculates five measures of diversity of a categorical variable (i.e. for multiple categories): generalized variance (GV), entropy (H), its normalized counterparts (NGV and NH, resp.), and polarization (RQ). The formulas are given in Budescu and Budescu (2012) (GV, NGV, H, and NH) and in Montalvo & Reynal-Querol (2008) (RQ). divcat allows to generate new variables containing these measures, which is especially useful when calculating diversity measures separately for subgroups (specified using the by prefix).

    References:
    Budescu, D. V. & Budescu, M. (2012). How to measure diversity when you must. Psychological Methods, 17, 215-227.
    Montalvo, J. G. & Reynal-Querol, M. (2008). Discrete polarization with an application to the determinants of genocides. The Economic Journal, 118, 1835-1865.
Working...
X