Package: fetwfe 1.56.18.9000
fetwfe: Fused Extended Two-Way Fixed Effects
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>).
Authors:
fetwfe_1.56.18.9000.tar.gz
fetwfe_1.56.18.9000.zip(r-4.7-any)fetwfe_1.56.18.9000.zip(r-4.6-any)fetwfe_1.56.18.9000.zip(r-4.5-any)
fetwfe_1.56.18.9000.tgz(r-4.6-any)fetwfe_1.56.18.9000.tgz(r-4.5-any)
fetwfe_1.56.18.9000.tar.gz(r-4.7-any)fetwfe_1.56.18.9000.tar.gz(r-4.6-any)
fetwfe_1.56.18.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fetwfe/json (API)
| # Install 'fetwfe' in R: |
| install.packages('fetwfe', repos = c('https://gregfaletto.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gregfaletto/fetwfepackage/issues
Pkgdown/docs site:https://gregfaletto.github.io
Last updated from:d0a61a59ff. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 564 | ||
| source / vignettes | OK | 378 | ||
| linux-release | OK | 600 | ||
| macos-release | OK | 928 | ||
| macos-oldrel | OK | 785 | ||
| windows-devel | OK | 802 | ||
| windows-release | OK | 1103 | ||
| windows-oldrel | OK | 946 | ||
| wasm-release | OK | 219 |
Exports:attgtToFetwfeDfbetwfebetwfeWithSimulatedDatacohortStudycohortTimeATTsdebiasedATTdebiasedATTWithSimulatedDataetwfeetwfeToFetwfeDfetwfeWithSimulatedDataeventStudyfetwfefetwfeWithSimulatedDatagenCoefsgenCoefsCoregetTessimulateDatasimulateDataCoresimultaneousCIstwfeCovstwfeCovsWithSimulatedData
Dependencies:codetoolsforeachgenericsglmnetgrpregiteratorslatticeMatrixmvtnormRcppRcppEigenshapesurvival
Last update: 2026-10-28
Started: 2026-07-06
Last update: 2026-10-01
Started: 2026-05-12
Last update: 2026-08-21
Started: 2026-07-09
Last update: 2026-07-21
Started: 2026-07-09
Last update: 2026-07-09
Started: 2025-03-05
Last update: 2026-07-07
Started: 2026-07-07
Last update: 2026-06-07
Started: 2026-06-04
Last update: 2026-06-06
Started: 2026-05-11
