cfdecomp: Counterfactual Decomposition: MC Integration of the G-Formula

Provides a set of functions for counterfactual decomposition (cfdecomp). The functions available in this package decompose differences in an outcome attributable to a mediating variable (or sets of mediating variables) between groups based on counterfactual (causal inference) theory. By using Monte Carlo (MC) integration (simulations based on empirical estimates from multivariable models) we provide added flexibility compared to existing (analytical) approaches, at the cost of computational power or time. The added flexibility means that we can decompose difference between groups in any outcome or and with any mediator (any variable type and distribution). See Sudharsanan & Bijlsma (2019) <doi:10.4054/MPIDR-WP-2019-004> for more information.

Version: 0.4.0
Depends: R (≥ 3.5.0)
Published: 2021-08-11
Author: Maarten Jacob Bijlsma [aut, cre], Nikkil Sudharsanan [aut], Peng Li [ctb]
Maintainer: Maarten Jacob Bijlsma <maarten.bijlsma at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
In views: CausalInference
CRAN checks: cfdecomp results

Documentation:

Reference manual: cfdecomp.pdf

Downloads:

Package source: cfdecomp_0.4.0.tar.gz
Windows binaries: r-devel: cfdecomp_0.4.0.zip, r-release: cfdecomp_0.4.0.zip, r-oldrel: cfdecomp_0.4.0.zip
macOS binaries: r-release (arm64): cfdecomp_0.4.0.tgz, r-oldrel (arm64): cfdecomp_0.4.0.tgz, r-release (x86_64): cfdecomp_0.4.0.tgz
Old sources: cfdecomp archive

Linking:

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