VRATIO: Stata module to compute variation ratio and proportion of maximum heterogeneity (measures of dispersion) for categorical variables
Jeffrey T. Ward ()
Additional contact information
Jeffrey T. Ward: Temple University
Statistical Software Components from Boston College Department of Economics
Abstract:
vratio calculates dispersion for categorical variables at the nominal/ordinal level of measurement. Quantities calculated include the variation ratio (VR), maximum variation ratio (VRmax), and proportion of maximum heterogeneity (VR/VRmax). VR is the proportion of observations not in the modal category. VRmax is the maximum heterogeneity or, in other words, the maximum value VR could take if all categories had the same number of observations. VR/VRmax is the proportion of maximum possible heterogeneity. Higher VR and VR/VRmax values indicate greater dispersion. k is also reported, which is simply the number of categories for categorical variables. Please note that k itself (but not VR, VRmax, and VR/VRmax) might be useful in some applications with interval/ratio variables as it would indicate the number of unique scores in a distribution.
Language: Stata
Requires: Stata version 10 and mmodes from SSC (q.v.)
Keywords: dispersion; categorical variables; heterogeneity (search for similar items in EconPapers)
Date: 2016-11-02
Note: This module should be installed from within Stata by typing "ssc install vratio". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/v/vratio.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/v/vratio.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458267
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().