Learn R Programming

causalweight (version 1.1.3)

Estimation Methods for Causal Inference Based on Inverse Probability Weighting and Doubly Robust Estimation

Description

Various estimators of causal effects based on inverse probability weighting, doubly robust estimation, and double machine learning. Specifically, the package includes methods for estimating average treatment effects, direct and indirect effects in causal mediation analysis, and dynamic treatment effects. The models refer to studies of Froelich (2007) , Huber (2012) , Huber (2014) , Huber (2014) , Froelich and Huber (2017) , Hsu, Huber, Lee, and Lettry (2020) , and others.

Copy Link

Version

Install

install.packages('causalweight')

Monthly Downloads

1,151

Version

1.1.3

License

MIT + file LICENSE

Maintainer

Hugo Bodory

Last Published

March 26th, 2025

Functions in causalweight (1.1.3)

identificationDML

Testing identification with double machine learning
lateweight

Local average treatment effect estimation based on inverse probability weighting
didcontDMLpanel

Continuous Difference-in-Differences using Double Machine Learning for Panel Data
medDML

Causal mediation analysis with double machine learning
india

India's National Health Insurance Program (RSBY)
ivnr

Instrument-based treatment evaluation under endogeneity and non-response bias
didweight

Difference-in-differences based on inverse probability weighting
labormarket

Temporary Work Agency (TWA) Assignments and Permanent Employment in Sicily
dyntreatDML

Dynamic treatment effect evaluation with double machine learning
games

Sales of video games
medlateweight

Causal mediation analysis with instruments for treatment and mediator based on weighting
rkd

Swedish municipalities
testmedident

Test for identification in causal mediation and dynamic treatment models
medweightcont

Causal mediation analysis with a continuous treatment based on weighting by the inverse of generalized propensity scores
treatselDML

Binary or multiple treatment effect evaluation with double machine learning under sample selection/outcome attrition
paneltestDML

paneltestDML: Overidentification test for ATET estimation in panel data
treatDML

Binary or multiple discrete treatment effect evaluation with double machine learning
treatweight

Treatment evaluation based on inverse probability weighting with optional sample selection correction.
medweight

Causal mediation analysis based on inverse probability weighting with optional sample selection correction.
swissexper

Correspondence test in Swiss apprenticeship market
wexpect

Wage expectations of students in Switzerland
ubduration

Austrian unemployment duration data
ATETDML

ATET Estimation for Binary Treatments using Double Machine Learning
didDML

Difference-in-Differences in Repeated Cross-Sections for Binary Treatments using Double Machine Learning
RDDcovar

Sharp regression discontinuity design conditional on covariates
coffeeleaflet

Information leaflet on coffee production and environmental awareness of high school / university students in Bulgaria
didcontDML

Continuous Difference-in-Differences using Double Machine Learning for Repeated Cross-Sections
attrlateweight

Local average treatment effect estimation in multiple follow-up periods with outcome attrition based on inverse probability weighting
coupon

Data on daily spending and coupon receipt (selective subsample) This data set is a selective subsample of the data set "couponsretailer" which was constructed for illustrative purposes.
couponsretailer

Data on daily spending and coupon receipt A dataset containing information on the purchasing behavior of 1582 retail store customers across 32 coupon campaigns.
creditcard

Expenditure and Default Data
JC

Job Corps data