Treatment Effects with Multiple Periods and Groups (did)
The standard Difference-in-Differences (DID) setup involves two periods and two groups — a treated group and untreated group. Many applications of DID methods involve more than two periods and have individuals that are treated at different points in time. This package contains tools for computing average treatment effect parameters in Difference in Differences models with more than two periods and with variation in treatment timing using the methods developed in Callaway and Sant’Anna (2018) <https://ssrn.com/abstract=3148250>. The main parameters are group-time average treatment effects which are the average treatment effect for a particular group at a a particular time. These can be aggregated into a fewer number of treatment effect parameters, and the package deals with the cases where there is selective treatment timing, dynamic treatment effects, calendar time effects, or combinations of these. There are also functions for testing the Difference in Differences assumption, and plotting group-time average treatment effects.

Dynamic Programming Domain-Specific Language (dynprog)
A domain-specific language for specifying translating recursions into dynamic-programming algorithms. See <https://…/Dynamic_programming> for a description of dynamic programming.

Relative Risk Based on the Ratio of Median Unbiased Estimates (mueRelativeRisk)
Implements an estimator for relative risk based on the median unbiased estimator. The relative risk estimator is well defined and performs satisfactorily for a wide range of data configurations. The details of the method are available in Carter et al (2010) <doi:10.1111/j.1467-9876.2010.00711.x>.

Advertisements