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]
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 30 Apr. 2025.
Previous versions and publish date:
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
03/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/29Downloads for cfdecomp02468101214161820222426TrendBars

Today's Hot Picks in Authors and Packages

GRAPE  
Gene-Ranking Analysis of Pathway Expression
Gene-Ranking Analysis of Pathway Expression (GRAPE) is a tool for summarizing the consensus behavio ...
Download / Learn more Package Citations See dependency  
crimeutils  
A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist other ...
Download / Learn more Package Citations See dependency  
schrute  
The Entire Transcript from the Office in Tidy Format
The complete scripts from the American version of the Office television show in tibble format. Use ...
Download / Learn more Package Citations See dependency  
micEconAids  
Demand Analysis with the Almost Ideal Demand System (AIDS)
Functions and tools for analysing consumer demand with the Almost Ideal Demand System (AIDS) sugg ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
eyetrackingR  
Eye-Tracking Data Analysis
Addresses tasks along the pipeline from raw data to analysis and visualization for eye-tracking dat ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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