cod: Calculate Coefficient of Dispersion (COD)

Description Usage Arguments Value Examples

View source: R/formulas.R

Description

COD is defined as the average percent deviation from the median. In the tax assessment context, the COD is a standard metric to assess "horizontal equity", or whether properties of the same market value are assessed at similar levels.

Usage

1
cod(r, na.rm = F)

Arguments

r

A numeric vector of values. In the ratio study context, this would be a vector of Assessed-to-Sale Ratio (ASR) values.

na.rm

Logical value indicating whether NA values should be removed.

Value

Numeric vector of length one, indicating the COD of r.

Examples

1
cod(runif(10))

jh-206/taxr documentation built on May 28, 2019, 12:22 p.m.