cd: Coefficient of Dispersion - a Measure of Relative Variability

Description Usage Arguments Value Author(s) References See Also Examples

Description

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. NAs from the data are omitted. See \insertCiteGastwirth_1988v1;textuallawstat and \insertCiteBonett_Seier_2006;textuallawstat.

Usage

1
cd(x)

Arguments

x

a numeric vector of data values.

Value

The coefficient of dispersion.

Author(s)

Wallace Hui, Yulia R. Gel, Joseph L. Gastwirth, Weiwen Miao

References

\insertAllCited

See Also

gini.index, j.maad

Examples

1
2
3
4
5
6
7
8
## 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"])

gel-research-group/lawstat documentation built on Dec. 20, 2021, 9:50 a.m.