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

You might also like...
PyTorch framework, for reproducing experiments from the paper Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networks
PyTorch framework, for reproducing experiments from the paper Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networks

Implicit Regularization in Hierarchical Tensor Factorization and Deep Convolutional Neural Networks. Code, based on the PyTorch framework, for reprodu

BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search
BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search

BossNAS This repository contains PyTorch evaluation code, retraining code and pretrained models of our paper: BossNAS: Exploring Hybrid CNN-transforme

Hybrid Neural Fusion for Full-frame Video Stabilization

FuSta: Hybrid Neural Fusion for Full-frame Video Stabilization Project Page | Video | Paper | Google Colab Setup Setup environment for [Yu and Ramamoo

Code for Iso-Points: Optimizing Neural Implicit Surfaces with Hybrid Representations
Code for Iso-Points: Optimizing Neural Implicit Surfaces with Hybrid Representations

Implementation for Iso-Points (CVPR 2021) Official code for paper Iso-Points: Optimizing Neural Implicit Surfaces with Hybrid Representations paper |

A library for preparing, training, and evaluating scalable deep learning hybrid recommender systems using PyTorch.
A library for preparing, training, and evaluating scalable deep learning hybrid recommender systems using PyTorch.

collie_recs Collie is a library for preparing, training, and evaluating implicit deep learning hybrid recommender systems, named after the Border Coll

:hot_pepper: R²SQL: "Dynamic Hybrid Relation Network for Cross-Domain Context-Dependent Semantic Parsing." (AAAI 2021)

R²SQL The PyTorch implementation of paper Dynamic Hybrid Relation Network for Cross-Domain Context-Dependent Semantic Parsing. (AAAI 2021) Requirement

Cancer Drug Response Prediction via a Hybrid Graph Convolutional Network
Cancer Drug Response Prediction via a Hybrid Graph Convolutional Network

DeepCDR Cancer Drug Response Prediction via a Hybrid Graph Convolutional Network This work has been accepted to ECCB2020 and was also published in the

PyTorch implementation of paper: HPNet: Deep Primitive Segmentation Using Hybrid Representations.
PyTorch implementation of paper: HPNet: Deep Primitive Segmentation Using Hybrid Representations.

HPNet This repository contains the PyTorch implementation of paper: HPNet: Deep Primitive Segmentation Using Hybrid Representations. Installation The

HyDiff: Hybrid Differential Software Analysis

HyDiff: Hybrid Differential Software Analysis This repository provides the tool and the evaluation subjects for the paper HyDiff: Hybrid Differential

Owner
Lendie Follett
Lendie Follett
Hybrid CenterNet - Hybrid-supervised object detection / Weakly semi-supervised object detection

Hybrid-Supervised Object Detection System Object detection system trained by hybrid-supervision/weakly semi-supervision (HSOD/WSSOD): This project is

null 5 Dec 10, 2022
Syntax-Aware Action Targeting for Video Captioning

Syntax-Aware Action Targeting for Video Captioning Code for SAAT from "Syntax-Aware Action Targeting for Video Captioning" (Accepted to CVPR 2020). Th

null 59 Oct 13, 2022
FairFuzz: AFL extension targeting rare branches

FairFuzz An AFL extension to increase code coverage by targeting rare branches. FairFuzz has a particular advantage on programs with highly nested str

Caroline Lemieux 222 Nov 16, 2022
The official implementation of our CVPR 2021 paper - Hybrid Rotation Averaging: A Fast and Robust Rotation Averaging Approach

Graph Optimizer This repo contains the official implementation of our CVPR 2021 paper - Hybrid Rotation Averaging: A Fast and Robust Rotation Averagin

Chenyu 109 Dec 23, 2022
Hunt down social media accounts by username across social networks

Hunt down social media accounts by username across social networks Installation | Usage | Docker Notes | Contributing Installation # clone the repo $

null 1 Dec 14, 2021
The source code for the Cutoff data augmentation approach proposed in this paper: "A Simple but Tough-to-Beat Data Augmentation Approach for Natural Language Understanding and Generation".

Cutoff: A Simple Data Augmentation Approach for Natural Language This repository contains source code necessary to reproduce the results presented in

Dinghan Shen 49 Dec 22, 2022
Code for reproducing our analysis in the paper titled: Image Cropping on Twitter: Fairness Metrics, their Limitations, and the Importance of Representation, Design, and Agency

Image Crop Analysis This is a repo for the code used for reproducing our Image Crop Analysis paper as shared on our blog post. If you plan to use this

Twitter Research 239 Jan 2, 2023
Repository for reproducing `Model-Based Robust Deep Learning`

Model-Based Robust Deep Learning (MBRDL) In this repository, we include the code necessary for reproducing the code used in Model-Based Robust Deep Le

Alex Robey 16 Sep 19, 2022
PySlowFast: video understanding codebase from FAIR for reproducing state-of-the-art video models.

PySlowFast PySlowFast is an open source video understanding codebase from FAIR that provides state-of-the-art video classification models with efficie

Meta Research 5.3k Jan 3, 2023
Reproducing code of hair style replacement method from Barbershorp.

Barbershorp Reproducing code of hair style replacement method from Barbershorp. Also reproduces II2S, an improved version of Image2StyleGAN. Requireme

null 1 Dec 24, 2021