Package: nonabsdid 0.3.0

Takuma Iwasaki

nonabsdid: Visualize Heterogeneity-Robust Event Studies for Non-Absorbing Treatments

Runs several heterogeneity-robust difference-in-differences (DID) event-study estimators for non-absorbing (i.e., treatment can switch on and off) binary treatments through their own packages, harmonizes their output onto a common time axis and tidy data structure, and overlays them in a single 'ggplot2' panel for visual comparison. Supported estimators include those provided by 'DIDmultiplegtDYN', 'PanelMatch', and 'fect', with an optional naive two-way fixed-effects reference series via 'fixest'. A single 'nabs_event_study()' wrapper runs any supported estimator with a common interface; 'nabs_event_study_simple()' provides a one-line front door for quick exploratory runs; the S3 generic 'as_nabs_event_study()' coerces estimator output into a tidy tibble with a stable schema; and 'nabs_event_plot()' overlays multiple methods on a single 'ggplot2' panel, with optional naive two-way fixed effects drawn in a neutral color as a reference.

Authors:Takuma Iwasaki [aut, cre]

nonabsdid_0.3.0.tar.gz
nonabsdid_0.3.0.zip(r-4.7)nonabsdid_0.3.0.zip(r-4.6)nonabsdid_0.3.0.zip(r-4.5)
nonabsdid_0.3.0.tgz(r-4.6-any)nonabsdid_0.3.0.tgz(r-4.5-any)
nonabsdid_0.3.0.tar.gz(r-4.7-any)nonabsdid_0.3.0.tar.gz(r-4.6-any)
nonabsdid_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
nonabsdid/json (API)

# Install 'nonabsdid' in R:
install.packages('nonabsdid', repos = c('https://takuma1102.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/takuma1102/nonabsdid/issues

On CRAN:

Conda:

3.00 score 3 scripts 5 exports 25 dependencies

Last updated from:de82eee079. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK156
source / vignettesOK201
linux-release-x86_64OK142
macos-release-arm64OK105
macos-oldrel-arm64OK101
windows-develOK96
windows-releaseOK122
windows-oldrelOK91
wasm-releaseOK133

Exports:as_nabs_event_studynabs_event_plotnabs_event_studynabs_event_study_simplenaive_twfe

Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

Getting started with nonabsdid

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 05 2026.

Last update: 2026-06-05
Started: 2026-05-01

Readme and manuals

Help Manual

Help pageTopics
Coerce an estimator result to a tidy event-study tibbleas_nabs_event_study as_nabs_event_study.did_multiplegt_dyn as_nabs_event_study.fect as_nabs_event_study.fixest as_nabs_event_study.list as_nabs_event_study.nabs_event_study_result as_nabs_event_study.nabs_event_study_simple as_nabs_event_study.PanelEstimate
Plot one or more event-study tibbles on a single panelnabs_event_plot
Run an event-study estimator with a unified interfacenabs_event_study
One-line exploratory front door for non-absorbing event studiesnabs_event_study_simple
Estimate a naive two-way fixed-effects (TWFE) event studynaive_twfe