knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
This package implements the estimators described in the paper titled 'Identifying and estimating effects of sustained treatments under parallel trends assumptions', along with a small simulation (also described in that paper) to illustrate approximate large-sample properties of the estimators, code and data for the application to COVID-19 stay-at-home orders.
You can install the development version of paralleltrends from GitHub with:
# install.packages("devtools") devtools::install_github("audreyrenson/paralleltrends")
This is a basic example which shows you how to solve a common problem:
library(paralleltrends) ## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.