Nothing Special   »   [go: up one dir, main page]

ddecompose: Detailed Distributional Decomposition

Implements the Oaxaca-Blinder decomposition method and generalizations of it that decompose differences in distributional statistics beyond the mean. The function ob_decompose() decomposes differences in the mean outcome between two groups into one part explained by different covariates (composition effect) and into another part due to differences in the way covariates are linked to the outcome variable (structure effect). The function further divides the two effects into the contribution of each covariate and allows for weighted doubly robust decompositions. For distributional statistics beyond the mean, the function performs the recentered influence function (RIF) decomposition proposed by Firpo, Fortin, and Lemieux (2018). The function dfl_decompose() divides differences in distributional statistics into an composition effect and a structure effect using inverse probability weighting as introduced by DiNardo, Fortin, and Lemieux (1996). The function also allows to sequentially decompose the composition effect into the contribution of single covariates. References: Firpo, Sergio, Nicole M. Fortin, and Thomas Lemieux. (2018) <doi:10.3390/econometrics6020028>. "Decomposing Wage Distributions Using Recentered Influence Function Regressions." Fortin, Nicole M., Thomas Lemieux, and Sergio Firpo. (2011) <doi:10.3386/w16045>. "Decomposition Methods in Economics." DiNardo, John, Nicole M. Fortin, and Thomas Lemieux. (1996) <doi:10.2307/2171954>. "Labor Market Institutions and the Distribution of Wages, 1973-1992: A Semiparametric Approach." Oaxaca, Ronald. (1973) <doi:10.2307/2525981>. "Male-Female Wage Differentials in Urban Labor Markets." Blinder, Alan S. (1973) <doi:10.2307/144855>. "Wage Discrimination: Reduced Form and Structural Estimates."

Version: 1.0.0
Depends: ggplot2, R (≥ 2.10)
Imports: rifreg, Formula, Hmisc, parallel, pbapply, sandwich, stats, ranger, fastglm, methods
Suggests: testthat (≥ 3.0.0), tidyr, dplyr
Published: 2024-05-07
DOI: 10.32614/CRAN.package.ddecompose
Author: David Gallusser [aut], Samuel Meier [aut, cre]
Maintainer: Samuel Meier <samuel.meier+ddecompose at immerda.ch>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README
CRAN checks: ddecompose results

Documentation:

Reference manual: ddecompose.pdf

Downloads:

Package source: ddecompose_1.0.0.tar.gz
Windows binaries: r-devel: ddecompose_1.0.0.zip, r-release: ddecompose_1.0.0.zip, r-oldrel: ddecompose_1.0.0.zip
macOS binaries: r-release (arm64): ddecompose_1.0.0.tgz, r-oldrel (arm64): ddecompose_1.0.0.tgz, r-release (x86_64): ddecompose_1.0.0.tgz, r-oldrel (x86_64): ddecompose_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ddecompose to link to this page.