Skip to content

fetwfe

1.10.0

Fused Extended Two-Way Fixed Effects

0packages depend
2.5Kdownloads / year
92.3%test coverage
13/13checks pass

Overview

About
Maintained by Gregory FalettoFirst published 2025-02-214 releasesCRAN page ↗GitHub ↗

Calculates the fused extended two-way fixed effects (FETWFE) estimator for unbiased and efficient estimation of difference-in-differences in panel data with staggered treatment adoption. This estimator eliminates bias inherent in conventional two-way fixed effects estimators, while also employing a novel bridge regression regularization approach to improve efficiency and yield valid standard errors. Also implements extended TWFE (etwfe) and bridge-penalized ETWFE (betwfe). Provides S3 classes for streamlined workflow and supports flexible tuning (ridge and rank-condition guarantees), automatic covariate centering/scaling, and detailed overall and cohort-specific effect estimates with valid standard errors. Includes simulation and formatting utilities, extensive diagnostic tools, vignettes, and examples. See Faletto (2025) (doi:10.48550/arXiv.2312.05985).

Install

Health

CRAN checks
13OK
Slowest check: 6.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.81
92.3%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 182 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
15%
Documented parameters
95%
Return-value docs
100%
References docs
29%

Downloads

2.5K
CRAN downloads in the past year
Rank #11,478 · ~7/day · ~209/mo
Daily download trend is not available in this view yet.
24730 days
89990 days
2.5K1 year
Compare downloads with other packages →
Also on111 r2u23 autocran

Repository

Repository
5Stars
1Forks
28Open issues
2Open PRs
0Releases
809Commits
2Contributors
809 commits · Last activity 2026-07-24 · 0% stars, 30d

Stars over time

2025-01-21 · 42026-07-07 · 5

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/gregfaletto/fetwfepackage on 2026-07-30.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (2)
AirRStudio project
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.10.0Latest
    2026-05-24 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.0
    2025-07-02 · diff ↗
  • 1.0.0
    2025-05-15 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4
    2025-02-21
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-02-21
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
154 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →