Package: fixes Type: Package Title: Event Studies and Inference for Difference-in-Differences Version: 1.0.0 Date: 2026-10-21 Authors@R: c( person( "Yosuke", "Abe", email = "yosuke.abe0507@gmail.com", role = c("aut", "cre") ) ) Description: Provides tools for event-study analysis and inference in difference-in-differences (DiD) designs with panel data, from the classic two-way fixed-effects (TWFE) event study to estimators for staggered adoption. Includes event_study() for event-study curves (dynamic effects by relative time), att() for aggregated ATT estimation (overall, by cohort, by calendar time), did() for basic two-way fixed-effects DiD, and honest_sensitivity() for sensitivity analysis under violations of parallel trends (Rambachan and Roth, 2023), all running on an internal C++ fixed-effects OLS engine. Supports multiple modern estimators: Callaway-Sant'Anna (2021), Sun-Abraham (2021), Borusyak-Jaravel-Spiess (2024), Wooldridge TWM, and Deb et al. FLEX. Results plot via base plot() methods. Depends: R (>= 4.1.0) Imports: dplyr, ggplot2, broom, tibble, rlang, lifecycle (>= 1.0.2), Rcpp, scales, parallel License: MIT + file LICENSE Encoding: UTF-8 Suggests: fixest, knitr, rmarkdown, haven, testthat, plotly, tidyr, did, didimputation, modelsummary, tinytable, lpSolveAPI, Rglpk, TruncatedNormal, Matrix, pracma, HonestDiD VignetteBuilder: knitr URL: https://github.com/yo5uke/fixes, https://yo5uke.com/fixes/ BugReports: https://github.com/yo5uke/fixes/issues Config/roxygen2/version: 8.1.0 Config/roxygen2/markdown: TRUE LinkingTo: Rcpp, RcppArmadillo Config/pak/sysreqs: libicu-dev Repository: https://yo5uke.r-universe.dev Date/Publication: 2026-10-21 08:53:14 UTC RemoteUrl: https://github.com/yo5uke/fixes RemoteRef: HEAD RemoteSha: 0a1e1cbba31bd344b7599273f973f9c850247c92 NeedsCompilation: yes Packaged: 2026-10-21 12:23:28 UTC; root Author: Yosuke Abe [aut, cre] Maintainer: Yosuke Abe