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:
ciasearch
applies a data-driven algorithm that selects a set of covariates to ``get away'' from the cutoff, thus allowing for extrapolation of treatment effectsciatest
tests the CIA assumption for a given set of covariatesciares
visualizes the CIA mean independence assumptionciacs
produces graphical visualizations of the CIA common support assumptiongetaway
estimates parametrically treatment effects away from the cutoffgetawayplot
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!
To install/update in Stata type
net install getaway, from("https://raw.githubusercontent.com/filippopalomba/getaway-package/main/stata") replace force
- stata: folder containing .ado files, help files, and a simulated dataset
- getaway-software_article.pdf: software article
- generate-dataPalomba2023.do : .do file to create the simulated dataset provided with the package
- replicationPalomba2023.do: walkthrough the main functionalities of the package
- MCunbiasedness.do: proof by Monte-Carlo of A&R unbiasedness with simulated data
- Cingano, Palomba, Pinotti, and Rettore (2024) - "Making Subsidies Work: Rules vs. Discretion", conditionally accepted, Econometrica.
- Incoronato and Lattanzio (2024) - "Place-Based Industrial Policies and Local Agglomeration in the Long Run", working paper.
- 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.