Skip to content

filippopalomba/getaway-package

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published