Package: causalweight 1.1.6

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

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 based on different identification strategies (unconfoundedness, instruments, difference-in-differences, regression discontinuity designs).

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

causalweight_1.1.6.tar.gz
causalweight_1.1.6.zip(r-4.7-any)causalweight_1.1.6.zip(r-4.6-any)causalweight_1.1.6.zip(r-4.5-any)
causalweight_1.1.6.tgz(r-4.6-any)causalweight_1.1.6.tgz(r-4.5-any)
causalweight_1.1.6.tar.gz(r-4.7-any)causalweight_1.1.6.tar.gz(r-4.6-any)
causalweight_1.1.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
causalweight/json (API)

# Install 'causalweight' in R:
install.packages('causalweight', repos = c('https://hugometric.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • c401k - 401(k) Pension Plan Participation and Net Financial Assets
  • 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.
  • creditcard - Expenditure and Default Data
  • games - Sales of video games
  • india - India's National Health Insurance Program
  • JC - Job Corps data
  • labormarket - Temporary Work Agency (TWA) Assignments and Permanent Employment in Sicily
  • rkd - Swedish municipalities
  • swissexper - Correspondence test in Swiss apprenticeship market
  • ubduration - Austrian unemployment duration data
  • wexpect - Wage expectations of students in Switzerland

On CRAN:

Conda:

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

2.99 score 2 stars 104 scripts 1.6k downloads 26 exports 61 dependencies

Last updated from:84b6412a13. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK181
source / vignettesOK232
linux-releaseOK165
macos-releaseOK132
macos-oldrelOK132
windows-develOK135
windows-releaseOK119
windows-oldrelOK110
wasm-releaseOK118

Exports:ATETDMLattrlateweightcatehetDMLdetectIVdidcontDMLdidcontDMLpaneldidDMLdidmedDMLdidmedDMLpaneldidweightdyntreatDMLidentificationDMLivnrlateweightmedDMLmedlateweightmedqteDMLmedweightmedweightcontpaneltestDMLRDDcovartestmedidenttreatcontDMLtreatDMLtreatselDMLtreatweight

Dependencies:backportsbootcheckmatecliclubSandwichcodetoolscpp11crscubaturedata.tableDiceKrigingfarverfastDummiesforeachFormulaggplot2glmnetgluegrfgtablehdmisobanditeratorsjsonlitekernlablabelinglatticelifecyclelmtestmagrittrMASSMatrixMatrixModelsmvtnormnnlsnppillarpkgconfigquadprogquantregR6rangerRColorBrewerRcppRcppEigenrlangS7sandwichscalesshapeSparseMstringistringrsurvivaltibbleutf8vctrsviridisLitewithrxgboostzoo

Readme and manuals

Help Manual

Help pageTopics
ATET Estimation for Binary Treatments using Double Machine LearningATETDML
Local average treatment effect estimation in multiple follow-up periods with outcome attrition based on inverse probability weightingattrlateweight
401(k) Pension Plan Participation and Net Financial Assetsc401k
Testing effect homogeneity across studies with double machine learningcatehetDML
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
Expenditure and Default Datacreditcard
Detection of instruments and control variables and validity testing with double machine learningdetectIV
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 for Mediation Analysis with Repeated Cross-Sections and Discrete Treatments Using Double Machine LearningdidmedDML
Difference-in-Differences for Mediation Analysis with Panel Data and Discrete Treatments Using Double Machine LearningdidmedDMLpanel
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
Temporary Work Agency (TWA) Assignments and Permanent Employment in Sicilylabormarket
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
Natural direct and indirect quantile treatment effects with double machine learningmedqteDML
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
Continuous Treatment Effect Estimation under Selection on Observables using Double Machine LearningtreatcontDML
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