Learn R Programming

⚠️There's a newer version (1.1.3) of this package.Take me there.

causalweight (version 1.1.2)

Estimation Methods for Causal Inference Based on Inverse Probability Weighting

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

709

Version

1.1.2

License

MIT + file LICENSE

Maintainer

Hugo Bodory

Last Published

March 22nd, 2025

Functions in causalweight (1.1.2)

lateweight

Local average treatment effect estimation based on inverse probability weighting
medweight

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

Correspondence test in Swiss apprenticeship market
medDML

Causal mediation analysis with double machine learning
medweightcont

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

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

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

India's National Health Insurance Program (RSBY)
rkd

Swedish municipalities
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.
wexpect

Wage expectations of students in Switzerland
treatselDML

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

Austrian unemployment duration data
RDDcovar

Sharp regression discontinuity design conditional on covariates
attrlateweight

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

Job Corps data
identificationDML

Testing identification with double machine learning
didweight

Difference-in-differences based on inverse probability weighting
dyntreatDML

Dynamic treatment effect evaluation with double machine learning
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.
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.
coffeeleaflet

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

Sales of video games