Technical STATA Assignment
PRACTICAL GUIDANCE ON IMPLEMENTING RDD
EC338: regression discontinuity design
Do we need to account for covariates (other than z)?
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper NowNo – but we could do so to improve precision
In this case the model would be:
2
EC338: regression discontinuity design
Standard practice is to allow the relationship between z and y to differ either side of the discontinuity
e.g. with a linear model:
If the relationship is non-linear, then can use:
nth order polynomials (and allow them to differ either side of cut-off)
Because we have normalised z with respect to z0, D still estimates the causal treatment effect at the discontinuity here
3
EC338: regression discontinuity design
Just as we saw with matching, choice of bandwidth (window) is important, and there is a trade-off:
Narrower will make the notion of randomly assigned treatment more credible (as we will compare individuals with more similar values of z)
Wider will increase sample size (and hence power), but relies more heavily on model specification (functional form and other controls)
There are now several approaches to formally choosing the most appropriate bandwidth (but we will not cover these)
Cattaneo, Calonico and Titiunik (2014) (www-personal.umich.edu /~ cattaneo /papers/Calonico-Cattaneo-Titiunik_2014_Stata.pdf)
Imbens and Kalayanaraman (2012) (http:// restud.oxfordjournals.org/content/early/2012/01/07/restud.rdr043.full.pdf)
4
EC338: regression discontinuity design
A set of outputs that are common to most RDD papers:
Check for manipulation of the assignment variable near the discontinuity, e.g. by plotting distribution of running variable
McCrary (2008) provides a formal test of the density either side of the discontinuity, but we will not cover this
http:// www.sciencedirect.com/science/article/pii/S0304407607001133
Graphically illustrate the discontinuity in outcomes
Assess the appropriate polynomial specification between z and y
5
EC338: regression discontinuity design
A nice command for drawing RD graphs: rdplot
Syntax: rdplot depvar runvar [, c(cutoff) p(polynomial)]
Defaults: c(0) (fine if you have normalised z w.r.t. z0 ) and p(4) (allowed to differ either side of discontinuity)
To fit a linear regression line instead, specify p(1)
You will need to install rdplot
Type “findit rdplot” inside the stata command window
Install st0366 by Calonico, Cattaneo and Titiunik (the third of five packages near the bottom of the page)
6
EC338: regression discontinuity design
Run analysis using appropriate functional form and bandwidth
Illustrate sensitivity of results to alternative functional forms (e.g. higher order polynomials) and bandwidths
Repeat 2 and 3 for other covariates, to illustrate continuity around the cut-off (so they do not bias the treatment effect)
Show your main results are not sensitive to adding covariates
If possible, run a placebo test (e.g. by assuming that the discontinuity occurs at another value of z)
For more details see: Lee, D. and T. Lemieux (2010), Regression Discontinuity Designs in Economics, Journal of Economic Literature, Vol. 48, pp. 281-355
7
iiiii
ycDx
agdbe
=++++
12
iiiiii
yDccD
adgge
=++++
22
1234
iiiiiiiii
yDccDccD
adgggge


