mld {healthequal}R Documentation

Mean log deviation (MLD)

Description

The Mean Log Deviation (MLD) is a relative measure of inequality that considers all population subgroups. Subgroups are weighted according to their population share.

Usage

mld(pop, est, se = NULL, conf.level = 0.95, ...)

Arguments

pop

The number of people within each subgroup. Population size must be available for all subgroups.

est

The subgroup estimate. Estimates must be available for all subgroups.

se

The standard error of the subgroup estimate. If this is missing, 95% confidence intervals of MLD cannot be calculated.

conf.level

confidence level of the interval.

...

Further arguments passed to or from other methods.

Details

MLD is calculated as the sum of products between the negative natural logarithm of the share of the indicator of each subgroup and the population share of each subgroup. MLD may be more easily readable when multiplied by 1000. For more information on this inequality measure see Schlotheuber, A., & Hosseinpoor, A. R. (2022) below.

Interpretation: MLD is zero if there is no inequality. Greater absolute values indicate higher levels of inequality. MLD is more sensitive to differences further from the setting average (by the use of the logarithm).

Type of summary measure: Complex; relative; weighted

Applicability: Non-ordered; more than two subgroups

Warning: The confidence intervals are approximate and might be biased. See Ahn J. et al. (1978) below for further information on the standard error formula.

Value

The estimated MLD value, corresponding estimated standard error, and confidence interval as a data.frame.

References

Schlotheuber, A., & Hosseinpoor, A. R. (2022). Summary measures of health inequality: A review of existing measures and their application. International Journal of Environmental Research and Public Health, 19 (6), 3697.

Ahn J, Harper S, Yu M, Feuer EJ, Liu B, Luta G. Variance Estimation and Confidence Intervals for 11 Commonly Used Health Disparity Measures. JCO Clin Cancer Inform. 2018 Dec;2:1–19.

Examples

# example code
data(NonorderedSample)
head(NonorderedSample)
with(NonorderedSample,
     mld(pop = population,
         est = estimate,
         se = se
         )
     )

[Package healthequal version 1.0.0 Index]