Giter VIP home page Giter VIP logo

getaway-package's Introduction

Getaway - RD Treatment Effects away from the cutoff

This repository hosts the Stata getaway package that implements point estimation and inference away from the cutoff in Regression Discontinuity (RD) designs as proposed in Angrist and Rokkanen (2015). Moreover, it contains the file to generate the data and replicates the figures in Palomba (2024).

Angrist and Rokkanen (2015) exploit additional information contained in explanatory variables other than the score to estimate treatment effects away from the cutoff. The only assumption needed is a `conditional independence assumption'' (CIA), which requires mean independence between potential outcomes and the score variable conditional on a vector of other covariates, together with a common support condition. Moreover, the CIA has implications that can be tested with standard hypothesis tests.

The getaway allows user to estimates treatment effects away from the cutoff in the general framework of RD with multiple cutoffs following Fort, Ichino, Rettore, and Zanella (2022). The package contains six different commands:

  1. ciasearch applies a data-driven algorithm that selects a set of covariates to ``get away'' from the cutoff, thus allowing for extrapolation of treatment effects
  2. ciatest tests the CIA assumption for a given set of covariates
  3. ciares visualizes the CIA mean independence assumption
  4. ciacs produces graphical visualizations of the CIA common support assumption
  5. getaway estimates parametrically treatment effects away from the cutoff
  6. getawayplot shows estimated potential outcomes as functions of the score variable

More information on how to use each command can be found in the article and in the replication file contained in this repo.

If you spot any bug/inconsistencies or simply would like to give feedback or chat about the package just reach out!

Installation

To install/update in Stata type

net install getaway, from("https://raw.githubusercontent.com/filippopalomba/getaway-package/main/stata") replace force 

Structure of this repository

Examples of papers using this package:

References

  • Angrist, Joshua D., and Miikka Rokkanen. "Wanna get away? Regression discontinuity estimation of exam school effects away from the cutoff". Journal of the American Statistical Association 110, no. 512 (2015): 1331-1344.
  • Fort, Margherita, Andrea Ichino, Enrico Rettore, and Giulio Zanella. "Multi-cutoff RD designs with observations located at each cutoff: problems and solutions". No. 0278. Dipartimento di Scienze Economiche ``Marco Fanno'', 2022.
  • Palomba, Filippo. "Getting Away from the Cutoff in Regression Discontinuity Designs". Stata Journal, 24, 3, pp.1-31, 2024.

getaway-package's People

Contributors

filippopalomba avatar

Watchers

 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.