Skip to content

contdid

0.1.1

Difference-in-Differences with a Continuous Treatment

0packages depend
4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Brantly CallawayFirst published 2025-07-032 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 3.5 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.15
not tracked
Coverage
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,134 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

4K
CRAN downloads in the past year
Rank #9,489 · ~11/day · ~335/mo
Daily download trend is not available in this view yet.
38730 days
1.1K90 days
4K1 year
Compare downloads with other packages →
Also on87 r2u32 autocran

Repository

Repository
64Stars
8Forks
7Open issues
0Open PRs
0Releases
66Commits
2Contributors
66 commits · Last activity 2026-07-21 · +3.2% stars, 30d

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.qmd
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.1.1Latest
    2026-07-21 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-07-21
  • archivedRemoved from CRAN
    2026-07-16
    requires archived package 'ptetools'
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    2026-03-10
  • R
    R 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
Report a problem with this page →