https://github.com/cyberagentailab/dte-ml-adjustment
Code for "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction"
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.9%) to scientific vocabulary
Repository
Code for "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction"
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction
This repository contains code to replicate the experimental results from "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction."
Folders
datafolder includes files to create dataset used for empirical application from Ferraro & Price (2013). Download original data from https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN1/22633&version=1.1 and save090113_TotWatDat_cor_merge_Price.dtafile in data folder.experimentfolder contains all R files used for analysis
Experiment Files
functions.Rfile includes all necessary functionsrun_simulation.Rincludes code to run the Monte Carlo simulations and saves results as .rds filescompute_stats.Rincludes code to calculate evaluation metrics (e.g. bias, RMSE) from the saved simulation results (.rds files) and saves them as .csv filesplot_figures.Rincludes code to load the .csv files and plot figures for the simulation studyexperiment_water_consumption.Rincludes code to replicate the analysis of experimental data from Ferraro & Price (2013)
Instructions
- Install all necessary packages in R
- To replicate the results from the
Monte Carlo simulation, run the files in the following order: (1)
run_simulation.R, (2)compute_stats.R, (3)plot_figures.R. The outputs will be figures appeared in Figures 1, 3 and 4 in the paper. - Run
experiment_water_consumption.Rto replicate the results from the water consumption experiment. The output will be figures appeared in Figure 2 in the paper.
R version and attached packages
R version 4.3.1
RColorBrewer_1.1-3ggpubr_0.6.0fastglm_0.0.3bigmemory_4.6.1xgboost_1.7.5.1foreign_0.8-84ggplot2_3.4.3dplyr_1.1.2doParallel_1.0.17glmnet_4.1-8Matrix_1.6-1.1doMC_1.3.8iterators_1.0.14foreach_1.5.2grf_2.3.1randomForest_4.7-1.1gridExtra_2.3tidyr_1.3.0haven_2.5.3readr_2.1.4
Owner
- Name: CyberAgent AI Lab
- Login: CyberAgentAILab
- Kind: organization
- Location: Japan
- Website: https://cyberagent.ai/ailab/
- Twitter: cyberagent_ai
- Repositories: 7
- Profile: https://github.com/CyberAgentAILab
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1