The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

twfeivdecomp: Instrumented Difference-in-Differences Decomposition

Implements a decomposition of the two-way fixed effects instrumental variable estimator into all possible Wald difference-in-differences estimators. Provides functions to summarize the contribution of different cohort comparisons to the overall two-way fixed effects instrumental variable estimate, with or without controls. The method is described in Miyaji (2024) <doi:10.48550/arXiv.2405.16467>.

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: dplyr, Formula, AER, stats, magrittr
Suggests: testthat (≥ 3.0.0)
Published: 2025-09-22
DOI: 10.32614/CRAN.package.twfeivdecomp
Author: Sho Miyaji [aut, cre]
Maintainer: Sho Miyaji <sho.miyaji at yale.edu>
BugReports: https://github.com/shomiyaji/twfeiv-decomp/issues
License: MIT + file LICENSE
URL: https://github.com/shomiyaji/twfeiv-decomp
NeedsCompilation: no
Materials: README
CRAN checks: twfeivdecomp results

Documentation:

Reference manual: twfeivdecomp.html , twfeivdecomp.pdf

Downloads:

Package source: twfeivdecomp_0.1.0.tar.gz
Windows binaries: r-devel: twfeivdecomp_0.1.0.zip, r-release: twfeivdecomp_0.1.0.zip, r-oldrel: twfeivdecomp_0.1.0.zip
macOS binaries: r-release (arm64): twfeivdecomp_0.1.0.tgz, r-oldrel (arm64): twfeivdecomp_0.1.0.tgz, r-release (x86_64): twfeivdecomp_0.1.0.tgz, r-oldrel (x86_64): twfeivdecomp_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=twfeivdecomp to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.