Package: cfdecomp 0.4.0

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.

Authors:Maarten Jacob Bijlsma [aut, cre], Nikkil Sudharsanan [aut], Peng Li [ctb]

cfdecomp_0.4.0.tar.gz
cfdecomp_0.4.0.zip(r-4.5)cfdecomp_0.4.0.zip(r-4.4)cfdecomp_0.4.0.zip(r-4.3)
cfdecomp_0.4.0.tgz(r-4.4-any)cfdecomp_0.4.0.tgz(r-4.3-any)
cfdecomp_0.4.0.tar.gz(r-4.5-noble)cfdecomp_0.4.0.tar.gz(r-4.4-noble)
cfdecomp_0.4.0.tgz(r-4.4-emscripten)cfdecomp_0.4.0.tgz(r-4.3-emscripten)
cfdecomp.pdf |cfdecomp.html
cfdecomp/json (API)
NEWS

# Install 'cfdecomp' in R:
install.packages('cfdecomp', repos = c('https://maartenbijlsma.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/maartenbijlsma/cfdecomp/issues

Datasets:

On CRAN:

2.70 score 1 stars 7 scripts 221 downloads 7 exports 0 dependencies

Last updated 3 years agofrom:b8aa06a823. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winOKNov 16 2024
R-4.5-linuxOKNov 16 2024
R-4.4-winOKNov 16 2024
R-4.4-macOKNov 16 2024
R-4.3-winOKNov 16 2024
R-4.3-macOKNov 16 2024

Exports:cfd.FUNcfd.meancfd.quantilecfd.semipar.meancfd.semipar.quantilecluster.resampleconv.mean

Dependencies: