You can install the DesignLibrary package in R:
devtools::install_github("DeclareDesign/DesignLibrary", keep_source = TRUE)
Library features:
  • Our Vignettes describe each of the designs in the library in code and in terms of MIDA
  • The Designers are R functions that allow you to quickly build and modify designs using pre-built templates
  • Use our Design Inspector to visualize how power, bias, coverage and a range of other diagnosands vary as you change different features of the designs
  • Once you’ve installed the DeclareDesign software, you can also download our Example Designs as Rdata objects and modify them to suit your own purposes
Design Vignette Designer Design Inspector Example Design Contributor Keywords
Post-Treatment EstimandsDeclareDesignpost-treatment
Block-Cluster-Two-Arm DesignDeclareDesignexperiment, blocking
Cluster SamplingDeclareDesignclusters, observational, measurement
Crossover ExperimentDeclareDesignexperiment, multiarm
Mediation Analysis DesignDeclareDesignexperiment, mediation
Pre-Test Post-Test DesignDeclareDesignexperiment, difference-in-differences, baseline
Randomized ResponseDeclareDesignexperiment, descriptive
Regression DiscontinuityDeclareDesignobservational, regression discontinuity
Simple Spillover DesignDeclareDesignexperiment, spillovers
Two-Arm ExperimentDeclareDesignexperiment