contdid
0.1.1Difference-in-Differences with a Continuous Treatment
Overview
Provides methods for difference-in-differences with a continuous treatment and staggered treatment adoption. Includes estimation of treatment effects and causal responses as a function of the dose, event studies indexed by length of exposure to the treatment, and aggregation into overall average effects. Uniform inference procedures are included, along with both parametric and nonparametric models for treatment effects. The methods are based on Callaway, Goodman-Bacon, and Sant'Anna (2025) doi:10.48550/arXiv.2107.02637.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-2511 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 50%
- Documented parameters
- 98%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/bcallaway11/contdid on 2026-07-26.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.1.1Latest
- unarchivedReturned to CRAN2026-07-21
- archivedRemoved from CRAN2026-07-16requires archived package 'ptetools'
- RR 4.6.0 released · 2026-04-24
- 0.1.02026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-07-03
- Total releases
- 2 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 174 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet