GithubHelp home page GithubHelp logo

whoequity / healthequal Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 3.91 MB

An R package to Compute Summary Measures of Health Inequality

Home Page: https://whoequity.github.io/healthequal/

License: GNU Affero General Public License v3.0

R 99.61% TeX 0.39%
inequalities measures summary-statistics r

healthequal's Introduction

healthequal - Calculating summary measures of inequality healthequal website

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

The healthequal package provides computational tools for calculating 21 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("WHOequity/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.

healthequal's People

Contributors

antiportad avatar okayama1 avatar whoequity avatar kkirkby avatar

Watchers

 avatar  avatar

Forkers

okayama1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.