Learn R Programming

causalweight (version 1.1.4)

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

531

Version

1.1.4

License

MIT + file LICENSE

Maintainer

Hugo Bodory

Last Published

December 1st, 2025

Functions in causalweight (1.1.4)

india

India's National Health Insurance Program (RSBY)
dyntreatDML

Dynamic treatment effect evaluation with double machine learning
medDML

Causal mediation analysis with double machine learning
identificationDML

Testing identification with double machine learning
ivnr

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

Local average treatment effect estimation based on inverse probability weighting
didweight

Difference-in-differences based on inverse probability weighting
didcontDMLpanel

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

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

Sales of video games
treatDML

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

paneltestDML: Overidentification test for ATET estimation in panel data
testmedident

Test for identification in causal mediation and dynamic treatment models
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.
medweightcont

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

Correspondence test in Swiss apprenticeship market
treatselDML

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

Swedish municipalities
medlateweight

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

Austrian unemployment duration data
wexpect

Wage expectations of students in Switzerland
RDDcovar

Sharp regression discontinuity design conditional on covariates
ATETDML

ATET Estimation for Binary Treatments using Double Machine Learning
coffeeleaflet

Information leaflet on coffee production and environmental awareness of high school / university students in Bulgaria
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.
didDML

Difference-in-Differences in Repeated Cross-Sections for Binary Treatments using Double Machine Learning
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
JC

Job Corps data
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.
creditcard

Expenditure and Default Data