cd | R Documentation |
Measure of relative inequality (or relative variation) of the data.
Coefficient of dispersion (CD) is the ratio of the mean absolute deviation from
the median (MAAD) to the median of the data. NA
s from the data are omitted.
See \insertCiteGastwirth_1988v1;textuallawstat and
\insertCiteBonett_Seier_2006;textuallawstat.
cd(x)
x |
a numeric vector of data values. |
The coefficient of dispersion.
Wallace Hui, Yulia R. Gel, Joseph L. Gastwirth, Weiwen Miao
gini.index
, j.maad
## The Baker v. Carr Case: one-person-one-vote decision.
## Measure of Relative Inequality of Population data in 33 districts
## of the Tennessee Legislature in 1900 and 1972. See
## popdata (see Gastwirth, 1988).
data(popdata)
cd(popdata[,"pop1900"])
cd(popdata[,"pop1972"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.