MyNixOS website logo
Description

Compute Summary Measures of Health Inequality.

Compute 21 summary measures of health inequality and its corresponding confidence intervals for ordered and non-ordered dimensions using disaggregated data. Measures for ordered dimensions (e.g., Slope Index of Inequality, Absolute Concentration Index) also accept individual and survey data.

R-CMD-check CRANstatus Project Status:Concept License: AGPL (>=3)

healthequal healthequal website

The healthequal R package provides computational tools for calculating summary measures of health inequality.

Installation

You can install the released version of healthequal from CRAN with:

install.packages("healthequal")

The development version can be installed from GitHub with:

# install.packages("remotes")
remotes::install_github("WHO/healthequal")

Measures of health inequality included in healthequal:

The following summary measures of health inequality are included in the healthequal package:

Simple measures

  • Difference (d)
  • Ratio (r)

Disproportionality measures (ordered dimensions)

  • Absolute concentration index (aci)
  • Relative concentration index (rci)

Regression-based measures (ordered dimensions)

  • Slope index of inequality (sii)
  • Relative index of inequality (rii)

Variance measures (non-ordered dimensions)

  • Between-group variance (bgv)
  • Between-group standard deviation (bgsd)
  • Coefficient of variation (covar)

Mean difference measures (non-ordered dimensions)

  • Mean difference from mean - unweighted and weighted (mdmu and mdmw)
  • Mean difference from best-performing subgroup - unweighted and weighted (mdbu and mdbw)
  • Mean difference from reference subgroup - unweighted and weighted (mdru and mdrw)
  • Index of disparity - unweighted and weighted (idisu and idisw)

Disproportionality measures (non-ordered dimensions)

  • Theil index (ti)
  • Mean log deviation (mld)

Impact measures

  • Population attributable risk (parisk)
  • Population attributable fraction (paf)

Package data

The healthequal package comes with sample data for users to be able to test the package functions. The OrderedSample and NonorderedSample data contain data disaggregated by economic status and subnational region, respectively, for a single indicator.

Ordered and Nonordered data

data(OrderedSample)
head(OrderedSample)
data(NonorderedSample)
head(NonorderedSample)

Disagregated data

The OrderedSampleMultipleind and OrderedSampleMultipleind data contain disaggregated data by economic status and subnational region, respectively, for two indicators.

data(OrderedSampleMultipleind)
head(OrderedSampleMultipleind)
data(NonorderedSampleMultipleind)
head(NonorderedSampleMultipleind)

More info on the datasets

For information about the datasets, type the following commands, which will display the corresponding dataset help file:

?healthequal::OrderedSample
?healthequal::NonorderedSample
?healthequal::OrderedSampleMultipleind
?healthequal::NonorderedSampleMultipleind
?healthequal::IndividualSample

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.

Metadata

Version

1.0.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows