Visualizing Causal Assignment Trees for CSDiD and DR-DDD Designs
Overview
Tools for constructing, labeling, and visualizing Causal Assignment Trees (CATs) in settings with staggered adoption. Supports Callaway and Sant'Anna difference-in-differences (CSDiD) and doubly robust difference-in-difference-differences (DR-DDD) designs. The package helps clarify treatment timing, never-treated vs. not-yet-treated composition, and subgroup structure, and produces publication-quality diagrams and summary tables. Current functionality focuses on data-to-node mapping, node counts, cohort-year summaries, and high-quality tree plots suitable for empirical applications prior to estimation. Methods are based on Callaway and Sant'Anna (2021) doi:10.1016/j.jeconom.2020.12.001, Sant'Anna and Zhao (2020) doi:10.1016/j.jeconom.2020.06.003, and Kilanko (2026) https://github.com/VictorKilanko/catviz.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK7 OK2026-04-02
Documentation
- Help pages
- 20 (1 internal)
- Examples that run
- 95%18 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Checks run against github.com/victorkilanko/catviz on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.1Latest2026-04-01 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-04-01
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 25 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("catviz")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.