Skip to content

fdid

1.0.2

Factorial Difference-in-Differences

0packages depend
1Kdownloads / year
72.9%test coverage
12/13checks pass

Overview

About
Maintained by Yiqing XuFirst published 2026-03-231 releasesCRAN page ↗GitHub ↗

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-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-24
    6 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
Compare downloads with other packages →
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
How this is detected·Detection ruleset v1 (2026-07-18)

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)
Author, Maintainer
Author
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.2Latest
    2026-03-23 · current release
  • R
    R 4.5.0 released · 2025-04-11

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
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy