The didnp
package contains tools for computing average treatment effect parameters in a Difference-in-Differences setup without specifying a model.
The framework
The didnp
package implements the framework developed in
Daniel J. Henderson and Stefan Sperlich (2023), “A Complete Framework for Model-Free Difference-in-Differences Estimation”, Foundations and Trends® in Econometrics: Vol. 12: No. 3, pp 232-323. http://dx.doi.org/10.1561/0800000046
Installation
The package didnp
can be install from CRAN by typing:
install.packages("didnp", dependencies = TRUE)
or get the latest version from github by typing:
if ( !require("devtools") ) install.packages("devtools"); library(devtools)
devtools::install_github("OlegBadunenko/didnp")
Illustration and Uses
This article guides through the code and illustrates the functionality of the package using
The subset of the data from Integrated Public Use Microdata Series (IPUMS) available in the package.