Implements the factorial difference-in-differences (FDID) framework for panel data settings where all units are exposed to a universal event but vary in a baseline factor G. Provides support for various estimators; supports robust, bootstrap, and jackknife variance; returns dynamic, pre/event/post aggregates and raw means; and includes helpers for data preparation and plotting. Methodology follows Xu, Zhao and Ding (2026) <doi:10.1080/01621459.2026.2628343>.
| Version: | 1.0.2 |
| Depends: | R (≥ 3.6.0) |
| Imports: | estimatr, dplyr, tidyr, rlang, tidyselect, RColorBrewer, foreach, doFuture, future, ebal, grf, car, sandwich |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-03-23 |
| DOI: | 10.32614/CRAN.package.fdid |
| Author: | Yiqing Xu [aut, cre], Rivka Lipkovitz [aut], Enhan Liu [aut] |
| Maintainer: | Yiqing Xu <yiqingxu at stanford.edu> |
| License: | MIT + file LICENSE |
| URL: | https://yiqingxu.org/packages/fdid/, https://github.com/xuyiqing/fdid |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | fdid results |
| Reference manual: | fdid.html , fdid.pdf |
| Vignettes: |
Getting Started with fdid (source, R code) |
| Package source: | fdid_1.0.2.tar.gz |
| Windows binaries: | r-devel: fdid_1.0.2.zip, r-release: fdid_1.0.2.zip, r-oldrel: fdid_1.0.2.zip |
| macOS binaries: | r-release (arm64): fdid_1.0.2.tgz, r-oldrel (arm64): not available, r-release (x86_64): fdid_1.0.2.tgz, r-oldrel (x86_64): fdid_1.0.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=fdid 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.