Package: fdid 1.0.2

Yiqing Xu
fdid: Factorial Difference-in-Differences
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>.
Authors:
fdid_1.0.2.tar.gz
fdid_1.0.2.zip(r-4.7-any)fdid_1.0.2.zip(r-4.6-any)fdid_1.0.2.zip(r-4.5-any)
fdid_1.0.2.tgz(r-4.6-any)fdid_1.0.2.tgz(r-4.5-any)
fdid_1.0.2.tar.gz(r-4.7-any)fdid_1.0.2.tar.gz(r-4.6-any)
fdid_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fdid/json (API)
| # Install 'fdid' in R: |
| install.packages('fdid', repos = c('https://xuyiqing.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xuyiqing/fdid/issues
- mortality - FDID example dataset
Last updated from:defdd38995. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 153 | ||
| source / vignettes | OK | 531 | ||
| linux-release | OK | 150 | ||
| macos-release | OK | 128 | ||
| macos-oldrel | OK | 156 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 129 |
Exports:fdidfdid_listfdid_prepare
Dependencies:abindbackportsbootbroomcarcarDataclicodetoolscolorspacecowplotcpp11DerivDiceKrigingdigestdoBydoFuturedplyrebalestimatrfarverforeachforecastFormulafracdifffuturefuture.applygenericsggplot2globalsgluegrfgtableisobanditeratorslabelinglatticelifecyclelistenvlme4lmtestmagrittrMASSMatrixMatrixModelsmgcvminqamodelrnlmenloptrnnetnumDerivparallellypbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Factorial Difference-in-Differences Estimation | fdid |
| Create an `fdid_list` Object | fdid_list |
| Prepare Data for Factorial Difference-in-Differences Analysis | fdid_prepare |
| FDID example dataset | mortality |
| Plot Results from FDID Analysis | plot.fdid |
| Plot Multiple FDID Estimates | plot.fdid_list |
| Print Method for FDID Objects | print.fdid |
| Summary Method for FDID Objects | summary.fdid |
