knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
\code{QEDinfR} provides functions which make basic Difference in Differences designs easy and quick. After specifying your model, the plot method for \code{qed_did} objects quickly creates counterfactual outcome plots which motivate these designs..
library(QEDinfR) data(banks)
First we run the example code model.
fit <- qed_did("num_banks_in_business", "year", 1930, "bank_district", "6th district", df = banks) summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.