Reproducing Results from A Hybrid Approach to Targeting Social Assistance

Overview
title author date output
Reproducing Results from A Hybrid Approach to Targeting Social Assistance
Lendie Follett and Heath Henderson
12/28/2021
html_document

Introduction

This repository contains the code and data required to reproduce the results found in "A Hybrid Approach to Targeting Social Assistance". Specifically, to run simulation studies that estimate out of sample error rates using the Hybrid, Hybrid-AI, Hybrid-EC, and Hybrid-DU models on data from Indonesia (Alatas et al. (2012)) and Burkina Faso (Hillebrecht et al. (2020)).

Requirements

To install the required R packages, run the following code in R:

install.packages(c("truncnorm", "mvtnorm", "LaplacesDemon", "MASS", "dplyr",
                   "ggplot2", "Rcpp", "reshape2", "caret", "parallel"))

Data

We use two sources of data containing community based rankings, survey information, and consumption/expenditure data. This data can be found in the following sub-directories:

list.files("Data/Burkina Faso/Cleaning/")
## [1] "cleaning.do"              "hillebrecht.csv"          "hillebrecht.dta"         
## [4] "hillebrecht(missing).csv" "hillebrecht(missing).dta" "variables.csv"
list.files("Data/Indonesia/Cleaning/")
##  [1] "alatas.csv"                               
##  [2] "alatas.dta"                               
##  [3] "alatas(missing).csv"                      
##  [4] "alatas(missing).dta"                      
##  [5] "cleaning.do"                              
##  [6] "FAO Dietary Diversity Guidelines 2011.pdf"
##  [7] "food.dta"                                 
##  [8] "notes.docx"                               
##  [9] "ranks.dta"                                
## [10] "variables.csv"                            
## [11] "xvars.dta"

The data files that will be called are "hillebrecht.csv" and "alatas.csv".

Reproduce

  1. Run run_simulations.R to reproduce error rate results and coefficient estimate results.
  • Indonesia Analysis/all_results.csv
  • Indonesia Analysis/all_coef.csv
  • Indonesia Analysis/coef_total_sample.csv
  • Indonesia Analysis/CB_beta_rank_CI_noelite.csv
  • Indonesia Analysis/CB_beta_rank_CI.csv
  • Burkina Faso Analysis/all_results.csv
  • Burkina Faso Analysis/all_coef.csv
  • Burkina Faso Analysis/coef_total_sample.csv
  • Burkina Faso Analysis/CB_beta_rank_CI_noelite.csv
  • Burkina Faso Analysis/CB_beta_rank_CI.csv

The above files can be used to generate plots found in the manuscript:

  1. Run Burkina Faso Analysis/make_plots.R to reproduce error rate plots and coefficient plots for the Burkina Faso data.
  • Burkina Faso Analysis/coef_score_EC_hillebrecht.pdf
  • Burkina Faso Analysis/coef_score_hillebrecht.pdf (Figure 1)
  • Burkina Faso Analysis/ER_hybrid_AI.pdf (Figure 7 a)
  • Burkina Faso Analysis/ER_hybrid_DU.pdf (Figure 8)
  • Burkina Faso Analysis/ER_hybrid.pdf (Figure 3 a)
  1. Run Indonesia Analysis/make_plots.R to reproduce error rate plots and coefficient plots for the Indonesia data.
  • Indonesia Analysis/coef_score_EC_hillebrecht.pdf (Figure 5)
  • Indonesia Analysis/coef_score_hillebrecht.pdf (Figure 2)
  • Indonesia Analysis/ER_hybrid_AI.pdf (Figure 7 b)
  • Indonesia Analysis/ER_hybrid_EC.pdf (Figure 6)
  • Indonesia Analysis/ER_hybrid.pdf (Figure 3 b)
  1. Run Burkina Faso Analysis/run_mcmc_weights.R to reproduce heterogeneous ranker results.
  • Burkina Faso Analysis/heter_weights_omega.pdf (Figure 4 a)
  • Burkina Faso Analysis/heter_weights_corr.pdf (Figure 4 b)

References

Alatas, V., Banerjee, A., Hanna, R., Olken, B., and Tobias, J. (2013).Targeting the poor: Evidence from a field experiment in Indonesia.Harvard Dataverse,https://doi.org/10.7910/DVN/M7SKQZ, V5.

Hillebrecht, M., Klonner, S., Pacere, N. A., and Souares, A. (2020b). Community-basedversus statistical targeting of anti-poverty programs: Evidence from Burkina Faso.Journalof African Economies, 29(3):271–305

Owner
Lendie Follett
Lendie Follett
ADOP: Approximate Differentiable One-Pixel Point Rendering

ADOP: Approximate Differentiable One-Pixel Point Rendering Abstract: We present a novel point-based, differentiable neural rendering pipeline for scen

Darius Rückert 1.9k Jan 06, 2023
A state of the art of new lightweight YOLO model implemented by TensorFlow 2.

CSL-YOLO: A New Lightweight Object Detection System for Edge Computing This project provides a SOTA level lightweight YOLO called "Cross-Stage Lightwe

Miles Zhang 54 Dec 21, 2022
PyTorch implementation of "Efficient Neural Architecture Search via Parameters Sharing"

Efficient Neural Architecture Search (ENAS) in PyTorch PyTorch implementation of Efficient Neural Architecture Search via Parameters Sharing. ENAS red

Taehoon Kim 2.6k Dec 31, 2022
An updated version of virtual model making

Model-Swap-Face v2   这个项目是基于stylegan2 pSp制作的,比v1版本Model-Swap-Face在推理速度和图像质量上有一定提升。主要的功能是将虚拟模特进行环球不同区域的风格转换,目前转换器提供西欧模特、东亚模特和北非模特三种主流的风格样式,可帮我们实现生产资料零成

seeprettyface.com 62 Dec 09, 2022
The `rtdl` library + The official implementation of the paper

The `rtdl` library + The official implementation of the paper "Revisiting Deep Learning Models for Tabular Data"

Yandex Research 510 Dec 30, 2022
NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problem

NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problem Liang Xin, Wen Song, Zhiguang

xinliangedu 33 Dec 27, 2022
Part-Aware Data Augmentation for 3D Object Detection in Point Cloud

Part-Aware Data Augmentation for 3D Object Detection in Point Cloud This repository contains a reference implementation of our Part-Aware Data Augment

Jaeseok Choi 62 Jan 03, 2023
Code for GNMR in ICDE 2021

GNMR Code for GNMR in ICDE 2021 Please unzip data files in Datasets/MultiInt-ML10M first. Run labcode_preSamp.py (with graph sampling) for ECommerce-c

7 Oct 27, 2022
Adaptive Dropblock Enhanced GenerativeAdversarial Networks for Hyperspectral Image Classification

This repo holds the codes of our paper: Adaptive Dropblock Enhanced GenerativeAdversarial Networks for Hyperspectral Image Classification, which is ac

Feng Gao 17 Dec 28, 2022
Cycle Consistent Adversarial Domain Adaptation (CyCADA)

Cycle Consistent Adversarial Domain Adaptation (CyCADA) A pytorch implementation of CyCADA. If you use this code in your research please consider citi

Hyunwoo Ko 2 Jan 10, 2022
Language Models Can See: Plugging Visual Controls in Text Generation

Language Models Can See: Plugging Visual Controls in Text Generation Authors: Yixuan Su, Tian Lan, Yahui Liu, Fangyu Liu, Dani Yogatama, Yan Wang, Lin

Yixuan Su 195 Dec 22, 2022
PyTorch reimplementation of minimal-hand (CVPR2020)

Minimal Hand Pytorch Unofficial PyTorch reimplementation of minimal-hand (CVPR2020). you can also find in youtube or bilibili bare hand youtube or bil

Hao Meng 228 Dec 29, 2022
Rocket-recycling with Reinforcement Learning

Rocket-recycling with Reinforcement Learning Developed by: Zhengxia Zou I have long been fascinated by the recovery process of SpaceX rockets. In this

Zhengxia Zou 202 Jan 03, 2023
Episodic-memory - Ego4D Episodic Memory Benchmark

Ego4D Episodic Memory Benchmark EGO4D is the world's largest egocentric (first p

3 Feb 18, 2022
StarGAN - Official PyTorch Implementation (CVPR 2018)

StarGAN - Official PyTorch Implementation ***** New: StarGAN v2 is available at https://github.com/clovaai/stargan-v2 ***** This repository provides t

Yunjey Choi 5.1k Jan 04, 2023
Gym Threat Defense

Gym Threat Defense The Threat Defense environment is an OpenAI Gym implementation of the environment defined as the toy example in Optimal Defense Pol

Hampus Ramström 5 Dec 08, 2022
LexGLUE: A Benchmark Dataset for Legal Language Understanding in English

LexGLUE: A Benchmark Dataset for Legal Language Understanding in English ⚖️ 🏆 🧑‍🎓 👩‍⚖️ Dataset Summary Inspired by the recent widespread use of th

95 Dec 08, 2022
A curated (most recent) list of resources for Learning with Noisy Labels

A curated (most recent) list of resources for Learning with Noisy Labels

Jiaheng Wei 321 Jan 09, 2023
Deep Learning Interviews book: Hundreds of fully solved job interview questions from a wide range of key topics in AI.

This book was written for you: an aspiring data scientist with a quantitative background, facing down the gauntlet of the interview process in an increasingly competitive field. For most of you, the

4.1k Dec 28, 2022
9th place solution in "Santa 2020 - The Candy Cane Contest"

Santa 2020 - The Candy Cane Contest My solution in this Kaggle competition "Santa 2020 - The Candy Cane Contest", 9th place. Basic Strategy In this co

toshi_k 22 Nov 26, 2021