DeclareDesign is statistical software to aid researchers in characterizing and diagnosing research designs — including experiments, quasi-experiments, and observational studies.

The motivation for the software is described in a working paper by the authors.

DeclareDesign consists of a core package, documented on this web site, as well as three companion packages that stand on their own but can also be used to complement the core package. They are:

  1. randomizr: Easy-to-use tools for common forms of random assignment and sampling.
  2. fabricatr: Tools for fabricating data to enable frontloading analysis decisions in social science research.
  3. estimatr: Fast estimators for social science research.

To install all of the packages, use:

install.packages("DeclareDesign", dependencies = TRUE,
  repos = c("http://R.declaredesign.org", "https://cloud.r-project.org"))

This software is in alpha release. Please contact the authors before using in experiments or published work.

This project is generously supported by a grant from the Laura and John Arnold Foundation and seed funding from EGAP.

(c) 2017 Graeme Blair, Jasper Cooper, Alexander Coppock, and Macartan Humphreys. All rights reserved.