Supports staggered difference-in-differences designs with nonlinear outcomes for both panel and repeated cross-section data. Implements estimators for staggered treatment adoption with binary, count, and other nonlinear outcomes, extending Callaway and Sant'Anna (2021) <doi:10.1016/j.jeconom.2020.12.001> to settings with nonlinear outcome models such as logit, probit, and Poisson. For panel data, units are followed over time and 'idname' identifies repeated observations. For repeated cross-section data, observations are independent within each time period; 'idname' is optional and may identify survey records or households, but the estimator does not require the same units to appear across periods. Repeated cross-section estimation includes pooled quasi-maximum likelihood approaches motivated by Wooldridge (2023) <doi:10.1093/ectj/utad016>, with optional weighting and clustered inference. Methods also draw on Roth and Sant'Anna (2023) <doi:10.3982/ECTA19402> and Sant'Anna and Zhao (2020) <doi:10.1016/j.jeconom.2020.06.003>.
| Version: | 0.2.0 |
| Depends: | R (≥ 4.0.0) |
| Imports: | stats, utils, MASS, sandwich, lmtest, ggplot2 |
| Suggests: | did, dplyr, knitr, rmarkdown, testthat (≥ 3.0.0), covr |
| Published: | 2026-05-20 |
| DOI: | 10.32614/CRAN.package.NonlinearDiD |
| Author: | Subir Hait |
| Maintainer: | Subir Hait <haitsubi at msu.edu> |
| BugReports: | https://github.com/causalfragility-lab/NonlinearDiD/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/causalfragility-lab/NonlinearDiD |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | NonlinearDiD results |
| Reference manual: | NonlinearDiD.html , NonlinearDiD.pdf |
| Package source: | NonlinearDiD_0.2.0.tar.gz |
| Windows binaries: | r-devel: NonlinearDiD_0.2.0.zip, r-release: NonlinearDiD_0.2.0.zip, r-oldrel: NonlinearDiD_0.2.0.zip |
| macOS binaries: | r-release (arm64): NonlinearDiD_0.2.0.tgz, r-oldrel (arm64): NonlinearDiD_0.2.0.tgz, r-release (x86_64): NonlinearDiD_0.2.0.tgz, r-oldrel (x86_64): NonlinearDiD_0.2.0.tgz |
| Old sources: | NonlinearDiD archive |
Please use the canonical form https://CRAN.R-project.org/package=NonlinearDiD to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.