Other packages > Find by keyword >

cfdecomp  

Counterfactual Decomposition: MC Integration of the G-Formula
View on CRAN: Click here


Download and install cfdecomp package within the R console
Install from CRAN:
install.packages("cfdecomp")

Install from Github:
library("remotes")
install_github("cran/cfdecomp")

Install by package version:
library("remotes")
install_version("cfdecomp", "0.4.0")



Attach the package and use:
library("cfdecomp")
Maintained by
Maarten Jacob Bijlsma
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-03-18
Latest Update: 2021-08-11
Description:
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) for more information.
How to cite:
Maarten Jacob Bijlsma (2020). cfdecomp: Counterfactual Decomposition: MC Integration of the G-Formula. R package version 0.4.0, https://cran.r-project.org/web/packages/cfdecomp. Accessed 16 Jul. 2026.
Previous versions and publish date:
(2026-07-09 07:25), 0.1.0 (2020-03-18 14:40), 0.2.0 (2020-05-02 00:30), 0.3.0 (2021-02-02 15:50)
Other packages that cited cfdecomp R package
View cfdecomp citation profile
Other R packages that cfdecomp depends, imports, suggests or enhances
Complete documentation for cfdecomp
Functions, R codes and Examples using the cfdecomp R package
Some associated functions: cfd.FUN . cfd.example.data . cfd.mean . cfd.quantile . cfd.semipar.mean . cfd.semipar.quantile . cluster.resample . conv.mean . 
Some associated R codes: cfd.FUN.R . cfd.example.data.R . cfd.mean.R . cfd.quantile.R . cfd.semipar.mean.R . cfd.semipar.quantile.R . cluster.resample.R . conv.mean.R .  Full cfdecomp package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA