The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

pathintdid: Path-Integrated Difference-in-Differences

Implements the Path-Integrated Difference-in-Differences ('PI-DiD') framework of Salavi (2026), which treats the treatment effect as a trajectory tau(t) = c1(t) - c0(t) and integrates the baseline-differenced gap over a post-treatment window to obtain a cumulative causal effect and a path-integrated average treatment effect on the treated, together with cluster-robust standard errors, confidence intervals, diagnostic plots, and the pre-treatment parallel-trends, grid-density, and anticipation-robustness checks of section 5 of the companion paper. This approach avoids the endpoint-subtraction bias that arises whenever a transitory policy's effect has fully decayed by the evaluation date, in which case the conventional static difference-in-differences estimate can be zero even though the cumulative benefit delivered to treated units was strictly positive. Formerly distributed as a Stata package under the names 'pidid' and 'pididplot'.

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: graphics, grDevices, stats
Suggests: testthat (≥ 3.0.0)
Published: 2026-08-08
DOI: 10.32614/CRAN.package.pathintdid
Author: Comlan Apollinaire-Fabrice Salavi [aut, cre]
Maintainer: Comlan Apollinaire-Fabrice Salavi <fsalavi at africanschoolofeconomics.com>
BugReports: https://github.com/FabriceSALAVI/PathIntDID/issues
License: MIT + file LICENSE
URL: https://github.com/FabriceSALAVI/PathIntDID
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: pathintdid results

Documentation:

Reference manual: pathintdid.html , pathintdid.pdf

Downloads:

Package source: pathintdid_0.1.0.tar.gz
Windows binaries: r-devel: pathintdid_0.1.0.zip, r-release: pathintdid_0.1.0.zip, r-oldrel: pathintdid_0.1.0.zip
macOS binaries: r-release (arm64): pathintdid_0.1.0.tgz, r-oldrel (arm64): pathintdid_0.1.0.tgz, r-release (x86_64): pathintdid_0.1.0.tgz, r-oldrel (x86_64): pathintdid_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pathintdid to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.