Package: cfcompare 0.1.0

Takuma Iwasaki
cfcompare: Compare DID, SDID, Matrix Completion and the Triply Robust Panel Estimator
A comparison toolkit for binary-treatment panel causal inference. Runs difference-in-differences (two-way fixed effects), synthetic difference-in-differences, synthetic control, matrix completion, and the Triply RObust Panel (TROP) estimator of Athey, Imbens, Qu and Viviano (2026) <doi:10.1002/jae.70061> on the same data, and returns their average treatment effects on a single tidy schema with shared plots. TROP, DID and matrix completion are implemented natively; synthetic difference-in-differences and synthetic control are obtained through the 'synthdid' package, and an alternative matrix-completion / interactive fixed-effects estimator through 'gsynth'. This is an unofficial, independent implementation and is not affiliated with or endorsed by the authors of the TROP estimator.
Authors:
cfcompare_0.1.0.tar.gz
cfcompare_0.1.0.zip(r-4.7)cfcompare_0.1.0.zip(r-4.6)cfcompare_0.1.0.zip(r-4.5)
cfcompare_0.1.0.tgz(r-4.6-any)cfcompare_0.1.0.tgz(r-4.5-any)
cfcompare_0.1.0.tar.gz(r-4.7-any)cfcompare_0.1.0.tar.gz(r-4.6-any)
cfcompare_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
cfcompare/json (API)
| # Install 'cfcompare' in R: |
| install.packages('cfcompare', repos = c('https://takuma1102.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/takuma1102/cfcompare/issues
Last updated from:3b1568bbe3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 352 | ||
| source / vignettes | OK | 196 | ||
| linux-release-x86_64 | OK | 353 | ||
| macos-release-arm64 | OK | 257 | ||
| macos-oldrel-arm64 | OK | 245 | ||
| windows-devel | OK | 424 | ||
| windows-release | OK | 380 | ||
| windows-oldrel | OK | 350 | ||
| wasm-release | OK | 162 |
Exports:as_attautoplotpanel_comparepanel_rmseplot_counterfactualrmse_curvermse_curvessim_panelsim_semisynthetictroptrop_controltrop_matrixtrop_sensitivity
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr