Code Monkey home page Code Monkey logo

mohammed-seid / dia-toolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from worldbank/dia-toolkit

0.0 0.0 0.0 6.05 MB

This repository contains all the program codes developed in the "Distributional Impact Analysis: Toolkit and Illustrations of Impacts Beyond the Average Treatment Effect" by Guadalupe Bedoya (World Bank), Luca Bittarello (Northwestern University), Jonathan Davis (University of Chicago), and Nikolas Mittag (CERGE-EI).

Stata 100.00%

dia-toolkit's Introduction

DIA-toolkit

This repository contains all the program codes developed in the "Distributional Impact Analysis: Toolkit and Illustrations of Impacts Beyond the Average Treatment Effect", by Guadalupe Bedoya (World Bank), Luca Bittarello (Northwestern University), Jonathan Davis (University of Chicago) and Nikolas Mittag (CERGE-EI), available at the World Bank Policy Research Working Paper Series

How to Use the DIA-Toolkit

To replicate the simulations in the toolkit and the analysis in Part 7, start on /estimation/master.do. This master file sets global paths, sets the current directory and loads auxiliary programs.

Replicating Simulations throughout Toolkit

All simulated data are created by user-written commands in /programs/simulation_programs.do. The simulation results in the toolkit are run by /estimation/simulations/simulations.

Replicating Section 7.1

Five files are available under /estimation/brazil/:

  • brazil_setup.do sets up the data (the baseline dataset is available from AEJ-EP).
  • brazil_2.do replicates Subsection 7.1.2 (treatment effects on summary statistics, weighted and unweighted).
  • brazil_3.do replicates Subsection 7.1.3 (bounds on features of the distribution of treatment effects).
  • brazil_4.do replicates Subsection 7.1.4 (conditional effects).
  • brazil_5.do replicates Subsection 7.1.5 (power calculations). Adjust line 11 to replicate the different columns of Table 6.

These files involve bootstrapping, which may be lengthy. The folder /results/bootstrap/ contains our bootstrap samples, which you can use to replicate our tables without running the algorithms.

Replicating Section 7.2

Three files are avaiilable under /estimation/gambia/:

  • gambia_setup.do sets up the data (provided by M. Blimpo, D.K. Evans and N. Lahire (2015): WB Policy Research WP 7238).
  • gambia_analysis.do replicates all of Section 7.2.
  • gambia_simulations.do replicates the deconvolution estimates using simulated data designed to mimic our sample from The Gambia. (This file is called by /estimation/simulations/simulations.do.)

Programs

These programs are available under /programs/:

  • dte.do computes changes the distribution of marginal outcomes and its features. dte.sthlp documents the syntax (from Stata, run help dte).
  • bscr.do computes simultaneous confidence regions and critical values from a bootstrap sample of estimators according to Romano and Wolf (2010). bscr.sthlp documents the syntax (from Stata, run help bscr).

How to Contribute

If you are familiar with GitHub, please feel free to fork the repository and submit a pull request with your suggested edits.

An easy but still very efficient way to provide any feedback on the code in this repository is to create an issue in GitHub. You can read issues submitted by other users or create a new issue in the top menu below worldbank/DIA-toolkit at https://github.com/worldbank/DIA-toolkit. While the word issue has a negative connotation outside GitHub, it can be used for any kind of feedback. If you have identified a bug or enhancement, please create a new issue to let us know. Your feedback is very important to us. Please read existing issues to check whether someone else has made the same suggestion or reported the same error before creating a new issue.

License

This software is released under the Creative Commons Attribution 4.0 International license. You can view a license summary here.

How to Reference the DIA-Toolkit

Suggested citation:

Bedoya, Guadalupe, Luca Bittarello, Jonathan Davis, and Nikolas Mittag. "Distributional Impact Analysis: Toolkit and Illustrations of Impacts Beyond the Average Treatment Effect." World Bank Policy Research Working Paper Series, No. WPS 8139. Washington, D.C. (July 2017)

dia-toolkit's People

Contributors

gbedoyawb avatar jonmvdavis avatar kbjarkefur avatar lbittarello avatar pythagoraswitch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.