Crandore Hub

NonlinearDiD

Staggered Difference-in-Differences with Nonlinear Outcomes

Implements difference-in-differences estimators for staggered treatment adoption with binary, count, and other nonlinear outcomes. Extends Callaway and Sant'Anna (2021) <doi:10.1016/j.jeconom.2020.12.001> to handle the fundamental identification challenges that arise with nonlinear outcome models (logit, probit, Poisson) in heterogeneous treatment timing designs. Provides group-time average treatment effects on the treated (ATT), aggregation schemes, and pre-treatment parallel trends tests appropriate for nonlinear settings. Methods include doubly-robust semiparametric estimators, nonparametric bounds, and an odds-ratio DiD approach for binary outcomes. Methods extend Callaway and Sant'Anna (2021) <doi:10.1016/j.jeconom.2020.12.001>, Roth and Sant'Anna (2023) <doi:10.3982/ECTA19255>, and Wooldridge (2023) <doi:10.1093/ectj/utad016>.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 NonlinearDiD_0.1.0.tar.gz 227.7 KiB
0.1.0 rolling linux/noble R-4.5 NonlinearDiD_0.1.0.tar.gz 229.1 KiB
0.1.0 rolling source/ R- NonlinearDiD_0.1.0.tar.gz 86.2 KiB
0.1.0 latest linux/jammy R-4.5 NonlinearDiD_0.1.0.tar.gz 227.7 KiB
0.1.0 latest linux/noble R-4.5 NonlinearDiD_0.1.0.tar.gz 229.1 KiB
0.1.0 latest source/ R- NonlinearDiD_0.1.0.tar.gz 86.2 KiB
0.1.0 2026-04-23 source/ R- NonlinearDiD_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests