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
StudioGAN is a Pytorch library providing implementations of representative Generative Adversarial Networks (GANs) for conditional/unconditional image generation.

StudioGAN is a Pytorch library providing implementations of representative Generative Adversarial Networks (GANs) for conditional/unconditional image generation.

3k Jan 08, 2023
The code for the CVPR 2021 paper Neural Deformation Graphs, a novel approach for globally-consistent deformation tracking and 3D reconstruction of non-rigid objects.

Neural Deformation Graphs Project Page | Paper | Video Neural Deformation Graphs for Globally-consistent Non-rigid Reconstruction Aljaž Božič, Pablo P

Aljaz Bozic 134 Dec 16, 2022
Official implementation of FCL-taco2: Fast, Controllable and Lightweight version of Tacotron2 @ ICASSP 2021

FCL-Taco2: Towards Fast, Controllable and Lightweight Text-to-Speech synthesis (ICASSP 2021) Paper | Demo Block diagram of FCL-taco2, where the decode

Disong Wang 39 Sep 28, 2022
Research on controller area network Intrusion Detection Systems

Group members information Member 1: Lixue Liang Member 2: Yuet Lee Chan Member 3: Xinruo Zhang Member 4: Yifei Han User Manual Generate Attack Packets

Roche 4 Aug 30, 2022
Official PyTorch implementation of BlobGAN: Spatially Disentangled Scene Representations

BlobGAN: Spatially Disentangled Scene Representations Official PyTorch Implementation Paper | Project Page | Video | Interactive Demo BlobGAN.mp4 This

148 Dec 29, 2022
Face Mask Detector by live camera using tensorflow-keras, openCV and Python

Face Mask Detector 😷 by Live Camera Detecting masked or unmasked faces by live camera with percentange of mask occupation About Project: This an Arti

Karan Shingde 2 Apr 04, 2022
Project NII pytorch scripts

project-NII-pytorch-scripts By Xin Wang, National Institute of Informatics, since 2021 I am a new pytorch user. If you have any suggestions or questio

Yamagishi and Echizen Laboratories, National Institute of Informatics 184 Dec 23, 2022
Details about the wide minima density hypothesis and metrics to compute width of a minima

wide-minima-density-hypothesis Details about the wide minima density hypothesis and metrics to compute width of a minima This repo presents the wide m

Nikhil Iyer 9 Dec 27, 2022
Contextual Attention Network: Transformer Meets U-Net

Contextual Attention Network: Transformer Meets U-Net Contexual attention network for medical image segmentation with state of the art results on skin

Reza Azad 67 Nov 28, 2022
Estimation of human density in a closed space using deep learning.

Siemens HOLLZOF challenge - Human Density Estimation Add project description here. Installing Dependencies: Install Python3 either system-wide, user-w

3 Aug 08, 2021
Code of our paper "Contrastive Object-level Pre-training with Spatial Noise Curriculum Learning"

CCOP Code of our paper Contrastive Object-level Pre-training with Spatial Noise Curriculum Learning Requirement Install OpenSelfSup Install Detectron2

Chenhongyi Yang 21 Dec 13, 2022
Official repo for AutoInt: Automatic Integration for Fast Neural Volume Rendering in CVPR 2021

AutoInt: Automatic Integration for Fast Neural Volume Rendering CVPR 2021 Project Page | Video | Paper PyTorch implementation of automatic integration

Stanford Computational Imaging Lab 149 Dec 22, 2022
PyTorch reimplementation of the paper Involution: Inverting the Inherence of Convolution for Visual Recognition [CVPR 2021].

Involution: Inverting the Inherence of Convolution for Visual Recognition Unofficial PyTorch reimplementation of the paper Involution: Inverting the I

Christoph Reich 100 Dec 01, 2022
for a paper about leveraging discourse markers for training new models

TSLM-DISCOURSE-MARKERS Scope This repository contains: (1) Code to extract discourse markers from wikipedia (TSA). (1) Code to extract significant dis

International Business Machines 6 Nov 02, 2022
Code repository accompanying the paper "On Adversarial Robustness: A Neural Architecture Search perspective"

On Adversarial Robustness: A Neural Architecture Search perspective Preparation: Clone the repository: https://github.com/tdchaitanya/nas-robustness.g

Chaitanya Devaguptapu 4 Nov 10, 2022
DeepFaceEditing: Deep Face Generation and Editing with Disentangled Geometry and Appearance Control

DeepFaceEditing: Deep Face Generation and Editing with Disentangled Geometry and Appearance Control One version of our system is implemented using the

260 Nov 28, 2022
Marvis is Mastouri's Jarvis version of the AI-powered Python personal assistant.

Marvis v1.0 Marvis is Mastouri's Jarvis version of the AI-powered Python personal assistant. About M.A.R.V.I.S. J.A.R.V.I.S. is a fictional character

Reda Mastouri 1 Dec 29, 2021
[NeurIPS 2021] Deceive D: Adaptive Pseudo Augmentation for GAN Training with Limited Data

Deceive D: Adaptive Pseudo Augmentation for GAN Training with Limited Data (NeurIPS 2021) This repository will provide the official PyTorch implementa

Liming Jiang 238 Nov 25, 2022
The implementation of ICASSP 2020 paper "Pixel-level self-paced learning for super-resolution"

Pixel-level Self-Paced Learning for Super-Resolution This is an official implementaion of the paper Pixel-level Self-Paced Learning for Super-Resoluti

Elon Lin 41 Dec 15, 2022
《K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters》(2020)

K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters This repository is the implementation of the paper "K-Adapter: Infusing Knowledge

Microsoft 118 Dec 13, 2022