fdid
1.0.2Factorial Difference-in-Differences
0packages depend
1Kdownloads / year
72.9%test coverage
12/13checks pass
Overview
About
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.
Install
Health
CRAN checks
1NOTE12OK
Failing flavors
- NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.17
72.9%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-246 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 25%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
1K
CRAN downloads in the past year
Rank #18,439 · ~3/day · ~86/mo
Daily download trend is not available in this view yet.
15130 days
59090 days
1K1 year
Also on36 r2u2 autocran
Repository
Repository
0Stars
1Forks
0Open issues
0Open PRs
0Releases
33Commits
4Contributors
33 commits · Last activity 2026-03-19
Forks over time
2026-05-01 · 12026-07-28 · 1
Repository practices
Upstream repositoryBeta
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/xuyiqing/fdid on 2026-08-02.
Lint, format, editor (1)
RStudio project
Dependencies
Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Datasets
People & History
People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Package Timeline
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.0.2Latest2026-03-23 · current release
- RR 4.5.0 released · 2025-04-11
0 of 2 selectedCompare selected
Package metadata
- First published
- 2026-03-23
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 86 KB / 1 file
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet