GitHub - brechtdv/rineq: Statistical Analysis of Health Inequalities (original) (raw)
rineq
Statistical Analysis of Health Inequalities
The rineq
package provides functions to calculate the relative, generalized, and Erreygers corrected concentration index; plot Lorenz curves; and decompose health inequalities using (generalized) linear models, survival models, and regression and binary trees.
Available functions
Concentration index
ci | Calculate the relative, generalized, or Erreygers corrected concentration index |
---|---|
correct_sign | Correct negative values in the health variable |
Decomposition
contribution | Decompose the Relative Concentration Index into its components |
---|---|
rpart_ci | Recursive partitioning and regression trees using the concentration index |
imp | Evaluate variable importance in rpart_ci() trees |
Install
To download and install the latest development version from GitHub:
devtools::install_github("brechtdv/rineq")