IDEAS home Printed from
   My bibliography  Save this article

Inference in regression discontinuity designs under local randomization


  • Matias D. Cattaneo

    (University of Michigan, Ann Arbor)

  • Roc ́ıo Titiunik

    (University of Michigan, Ann Arbor)

  • Gonzalo Vazquez-Bare

    (University of Michigan, Ann Arbor)


We introduce the rdlocrand package, which contains four commands to conduct finite-sample inference in regression discontinuity (RD) designs under a local randomization assumption, following the framework and methods proposed in Cattaneo, Frandsen, and Titiunik (2015, Journal of Causal Inference 3: 1–24) and Cattaneo, Titiunik, and Vazquez-Bare (2016, Working Paper, University of Michigan,∼titiunik/papers/ CattaneoTitiunikVazquezBare2015 wp.pdf). Assuming a known assignment mech- anism for units close to the RD cutoff, these functions implement a variety of procedures based on randomization inference techniques. First, the rdrandinf command uses randomization methods to conduct point estimation, hypothesis testing, and confidence interval estimation under different assumptions. Second, the rdwinselect command uses finite-sample methods to select a window near the cutoff where the assumption of randomized treatment assignment is most plausible. Third, the rdsensitivity command uses randomization techniques to conduct a sequence of hypothesis tests for different windows around the RD cutoff, which can be used to assess the sensitivity of the methods and to construct confidence intervals by inversion. Finally, the rdrbounds command implements Rosenbaum (2002, Observational Studies [Springer]) sensitivity bounds for the context of RD designs under local randomization. Companion R functions with the same syntax and capabilities are also provided. Copyright 2016 by StataCorp LP.

Suggested Citation

  • Matias D. Cattaneo & Roc ́ıo Titiunik & Gonzalo Vazquez-Bare, 2016. "Inference in regression discontinuity designs under local randomization," Stata Journal, StataCorp LP, vol. 16(2), pages 331-367, June.
  • Handle: RePEc:tsj:stataj:y:16:y:2016:i:2:p:331-367

    Download full text from publisher

    File URL:
    File Function: link to article purchase
    Download Restriction: no

    File URL:
    Download Restriction: no


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:y:16:y:2016:i:2:p:331-367. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.