Package: causalweight 1.1.1

causalweight: Estimation Methods for Causal Inference Based on Inverse Probability Weighting

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) <doi:10.1016/j.jeconom.2006.06.004>, Huber (2012) <doi:10.3102/1076998611411917>, Huber (2014) <doi:10.1080/07474938.2013.806197>, Huber (2014) <doi:10.1002/jae.2341>, Froelich and Huber (2017) <doi:10.1111/rssb.12232>, Hsu, Huber, Lee, and Lettry (2020) <doi:10.1002/jae.2765>, and others.

Authors:Hugo Bodory [aut, cre], Martin Huber [aut], Jannis Kueck [aut]

causalweight_1.1.1.tar.gz
causalweight_1.1.1.zip(r-4.5)causalweight_1.1.1.zip(r-4.4)causalweight_1.1.1.zip(r-4.3)
causalweight_1.1.1.tgz(r-4.4-any)causalweight_1.1.1.tgz(r-4.3-any)
causalweight_1.1.1.tar.gz(r-4.5-noble)causalweight_1.1.1.tar.gz(r-4.4-noble)
causalweight_1.1.1.tgz(r-4.4-emscripten)causalweight_1.1.1.tgz(r-4.3-emscripten)
causalweight.pdf |causalweight.html
causalweight/json (API)

# Install 'causalweight' in R:
install.packages('causalweight', repos = c('https://hugometric.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • JC - Job Corps data
  • coffeeleaflet - Information leaflet on coffee production and environmental awareness of high school / university students in Bulgaria
  • 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.
  • games - Sales of video games
  • india - India's National Health Insurance Program
  • rkd - Swedish municipalities
  • swissexper - Correspondence test in Swiss apprenticeship market
  • ubduration - Austrian unemployment duration data
  • wexpect - Wage expectations of students in Switzerland

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.92 score 2 stars 21 scripts 598 downloads 19 exports 74 dependencies

Last updated 4 months agofrom:ff0abf5b97. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winNOTEOct 29 2024
R-4.3-macNOTEOct 29 2024

Exports:attrlateweightdidcontDMLdidcontDMLpaneldidDMLdidweightdyntreatDMLidentificationDMLivnrlateweightmedDMLmedlateweightmedweightmedweightcontpaneltestDMLRDDcovartestmedidenttreatDMLtreatselDMLtreatweight

Dependencies:backportsbitopsbootcaToolscheckmateclassclicodetoolscolorspacecubaturecvAUCdata.tableDiceKriginge1071fansifarverfastDummiesforeachFormulagamggplot2glmnetgluegplotsgrfgtablegtoolshdmisobanditeratorsjsonliteKernSmoothlabelingLARFlatticelifecyclelmtestmagrittrMASSMatrixMatrixModelsmgcvmunsellmvtnormnlmennlsnppillarpkgconfigproxyquadprogquantregR6rangerRColorBrewerRcppRcppEigenrlangROCRsandwichscalesshapeSparseMstringistringrSuperLearnersurvivaltibbleutf8vctrsviridisLitewithrxgboostzoo

Readme and manuals

Help Manual

Help pageTopics
Local average treatment effect estimation in multiple follow-up periods with outcome attrition based on inverse probability weightingattrlateweight
Information leaflet on coffee production and environmental awareness of high school / university students in Bulgariacoffeeleaflet
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.coupon
Data on daily spending and coupon receipt A dataset containing information on the purchasing behavior of 1582 retail store customers across 32 coupon campaigns.couponsretailer
Continuous Difference-in-Differences using Double Machine Learning for Repeated Cross-SectionsdidcontDML
Continuous Difference-in-Differences using Double Machine Learning for Panel DatadidcontDMLpanel
Difference-in-Differences in Repeated Cross-Sections for Binary Treatments using Double Machine LearningdidDML
Difference-in-differences based on inverse probability weightingdidweight
Dynamic treatment effect evaluation with double machine learningdyntreatDML
Sales of video gamesgames
Testing identification with double machine learningidentificationDML
India's National Health Insurance Program (RSBY)india
Instrument-based treatment evaluation under endogeneity and non-response biasivnr
Job Corps dataJC
Local average treatment effect estimation based on inverse probability weightinglateweight
Causal mediation analysis with double machine learningmedDML
Causal mediation analysis with instruments for treatment and mediator based on weightingmedlateweight
Causal mediation analysis based on inverse probability weighting with optional sample selection correction.medweight
Causal mediation analysis with a continuous treatment based on weighting by the inverse of generalized propensity scoresmedweightcont
paneltestDML: Overidentification test for ATET estimation in panel datapaneltestDML
Sharp regression discontinuity design conditional on covariatesRDDcovar
Swedish municipalitiesrkd
Correspondence test in Swiss apprenticeship marketswissexper
Test for identification in causal mediation and dynamic treatment modelstestmedident
Binary or multiple discrete treatment effect evaluation with double machine learningtreatDML
Binary or multiple treatment effect evaluation with double machine learning under sample selection/outcome attritiontreatselDML
Treatment evaluation based on inverse probability weighting with optional sample selection correction.treatweight
Austrian unemployment duration dataubduration
Wage expectations of students in Switzerlandwexpect