Package: fixes 0.11.2
fixes: Staggered DiD Tools: Event Studies and ATT Aggregation
Provides tools for difference-in-differences (DiD) estimation and visualization with staggered adoption. Includes run_es() for event-study curves (dynamic effects by relative time) and calc_att() for aggregated ATT estimation (overall, by cohort, by calendar time). Supports multiple modern estimators: Callaway-Sant'Anna (2021), Sun-Abraham (2021), Borusyak-Jaravel-Spiess (2024), Wooldridge TWM, and Deb et al. FLEX.
Authors:
fixes_0.11.2.tar.gz
fixes_0.11.2.tar.gz(r-4.7-arm64)fixes_0.11.2.tar.gz(r-4.7-x86_64)fixes_0.11.2.tar.gz(r-4.6-arm64)fixes_0.11.2.tar.gz(r-4.6-x86_64)
fixes_0.11.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fixes/json (API)
NEWS
| # Install 'fixes' in R: |
| install.packages('fixes', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yo5uke/fixes/issues
Pkgdown/docs site:https://yo5uke.com
Last updated from:096087d04a. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 193 | ||
| linux-devel-x86_64 | OK | 259 | ||
| source / vignettes | OK | 324 | ||
| linux-release-arm64 | OK | 199 | ||
| linux-release-x86_64 | OK | 220 | ||
| wasm-release | OK | 180 |
Exports:calc_attcompute_contamination_weightshonest_sensitivityplot_att_gtplot_contamination_weightsplot_esplot_es_interactiveplot_honestrun_didrun_es
Dependencies:backportsbroomclicpp11dplyrdreamerrfarverfixestFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrnlmenumDerivpillarpkgconfigpurrrR6RColorBrewerRcppRcppArmadillorlangS7sandwichscalesstringistringmagicstringrtibbletidyrtidyselectutf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Autoplot for event-study results | autoplot.es_result |
| Compute ATT Aggregations for Staggered Adoption Designs | calc_att |
| Contamination Weights for TWFE Event-Study Coefficients (Sun-Abraham 2021) | compute_contamination_weights |
| Glance at a 'did_result' object | glance.did_result |
| Honest sensitivity analysis for parallel-trends violations | honest_sensitivity |
| Plot the ATT(g,t) matrix from a Callaway-Sant'Anna event study | autoplot.att_gt_result plot_att_gt |
| Plot Contamination Weights as a Tile Heatmap | plot_contamination_weights |
| Plot event-study results with ribbons or error bars | plot_es |
| Interactive event-study plot with hover details | plot_es_interactive |
| Plot a honest sensitivity analysis | autoplot.honest_result plot_honest |
| Run a basic two-way fixed-effects DiD model | run_did |
| Event Study Estimation for Panel Data | run_es |
| Tidy a 'did_result' object | tidy.did_result |
