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
Repository sharing code and the model for the paper "Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes"

Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes Setup virtualenv -p python3 venv source venv/bin/activate pip instal

Planet AI GmbH 9 May 20, 2022
TipToiDog - Tip Toi Dog With Python

TipToiDog Was ist dieses Projekt? Meine 5-jährige Tochter spielt sehr gerne das

1 Feb 07, 2022
Fast algorithms to compute an approximation of the minimal volume oriented bounding box of a point cloud in 3D.

ApproxMVBB Status Build UnitTests Homepage Fast algorithms to compute an approximation of the minimal volume oriented bounding box of a point cloud in

Gabriel Nützi 390 Dec 31, 2022
Winners of DrivenData's Overhead Geopose Challenge

Winners of DrivenData's Overhead Geopose Challenge

DrivenData 22 Aug 04, 2022
Dcf-game-infrastructure-public - Contains all the components necessary to run a DC finals (attack-defense CTF) game from OOO

dcf-game-infrastructure All the components necessary to run a game of the OOO DC

Order of the Overflow 46 Sep 13, 2022
Official PyTorch implementation for "Low Precision Decentralized Distributed Training with Heterogenous Data"

Low Precision Decentralized Training with Heterogenous Data Official PyTorch implementation for "Low Precision Decentralized Distributed Training with

Aparna Aketi 0 Nov 23, 2021
Using OpenAI's CLIP to upscale and enhance images

CLIP Upscaler and Enhancer Using OpenAI's CLIP to upscale and enhance images Based on nshepperd's JAX CLIP Guided Diffusion v2.4 Sample Results Viewpo

Tripp Lyons 5 Jun 14, 2022
Code for Piggyback: Adapting a Single Network to Multiple Tasks by Learning to Mask Weights

Piggyback: https://arxiv.org/abs/1801.06519 Pretrained masks and backbones are available here: https://uofi.box.com/s/c5kixsvtrghu9yj51yb1oe853ltdfz4q

Arun Mallya 165 Nov 22, 2022
Code for Paper Predicting Osteoarthritis Progression via Unsupervised Adversarial Representation Learning

Predicting Osteoarthritis Progression via Unsupervised Adversarial Representation Learning (c) Tianyu Han and Daniel Truhn, RWTH Aachen University, 20

Tianyu Han 7 Nov 22, 2022
QTool: A Low-bit Quantization Toolbox for Deep Neural Networks in Computer Vision

This project provides abundant choices of quantization strategies (such as the quantization algorithms, training schedules and empirical tricks) for quantizing the deep neural networks into low-bit c

Monash Green AI Lab 51 Dec 10, 2022
Code to compute permutation and drop-column importances in Python scikit-learn models

Feature importances for scikit-learn machine learning models By Terence Parr and Kerem Turgutlu. See Explained.ai for more stuff. The scikit-learn Ran

Terence Parr 537 Dec 31, 2022
Data and codes for ACL 2021 paper: Towards Emotional Support Dialog Systems

Emotional-Support-Conversation Copyright © 2021 CoAI Group, Tsinghua University. All rights reserved. Data and codes are for academic research use onl

126 Dec 21, 2022
Winning solution of the Indoor Location & Navigation Kaggle competition

This repository contains the code to generate the winning solution of the Kaggle competition on indoor location and navigation organized by Microsoft

Tom Van de Wiele 62 Dec 28, 2022
The code from the paper Character Transformations for Non-Autoregressive GEC Tagging

Character Transformations for Non-Autoregressive GEC Tagging Milan Straka, Jakub Náplava, Jana Straková Charles University Faculty of Mathematics and

ÚFAL 5 Dec 10, 2022
YourTTS: Towards Zero-Shot Multi-Speaker TTS and Zero-Shot Voice Conversion for everyone

YourTTS: Towards Zero-Shot Multi-Speaker TTS and Zero-Shot Voice Conversion for everyone In our recent paper we propose the YourTTS model. YourTTS bri

Edresson Casanova 390 Dec 29, 2022
Physics-Aware Training (PAT) is a method to train real physical systems with backpropagation.

Physics-Aware Training (PAT) is a method to train real physical systems with backpropagation. It was introduced in Wright, Logan G. & Onodera, Tatsuhiro et al. (2021)1 to train Physical Neural Networ

McMahon Lab 230 Jan 05, 2023
This package is for running the semantic SLAM algorithm using extracted planar surfaces from the received detection

Semantic SLAM This package can perform optimization of pose estimated from VO/VIO methods which tend to drift over time. It uses planar surfaces extra

Hriday Bavle 125 Dec 02, 2022
The code for our CVPR paper PISE: Person Image Synthesis and Editing with Decoupled GAN, Project Page, supp.

PISE The code for our CVPR paper PISE: Person Image Synthesis and Editing with Decoupled GAN, Project Page, supp. Requirement conda create -n pise pyt

jinszhang 110 Nov 21, 2022
PyTorch implementation of Off-policy Learning in Two-stage Recommender Systems

Off-Policy-2-Stage This repo provides a PyTorch implementation of the MovieLens experiments for the following paper: Off-policy Learning in Two-stage

Jiaqi Ma 25 Dec 12, 2022
Implementation of paper: "Image Super-Resolution Using Dense Skip Connections" in PyTorch

SRDenseNet-pytorch Implementation of paper: "Image Super-Resolution Using Dense Skip Connections" in PyTorch (http://openaccess.thecvf.com/content_ICC

wxy 114 Nov 26, 2022