Skip to content

PanelMatch

Matching Methods for Causal Inference with Time-Series Cross-Sectional Data

v3.1.3 · Dec 13, 2025 · GPL (>= 3)

Description

Implements a set of methodological tools that enable researchers to apply matching methods to time-series cross-sectional data. Imai, Kim, and Wang (2023) <http://web.mit.edu/insong/www/pdf/tscs.pdf> proposes a nonparametric generalization of the difference-in-differences estimator, which does not rely on the linearity assumption as often done in practice. Researchers first select a method of matching each treated observation for a given unit in a particular time period with control observations from other units in the same time period that have a similar treatment and covariate history. These methods include standard matching methods based on propensity score and Mahalanobis distance, as well as weighting methods. Once matching and refinement is done, treatment effects can be estimated with standard errors. The package also offers diagnostics for researchers to assess the quality of their results.

Downloads

591

Last 30 days

6774th

2.3K

Last 90 days

9.8K

Last year

Trend: -15.2% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'panelmatch-overview.Rmd' using rmarkdown
! Package pdftex.def Error: File `ded2b699f23c61eb9aa45a0439edc78b22a403a3.pdf'
 not found: using draft setting.

Error: processing vignette 'panelmatch-overview.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/PanelMatch.Rcheck/vign_test/PanelMatch/vignettes/panelmatch-overview.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See panelmatch-overview.log for more info.
--- failed re-building 'panelmatch-overview.Rmd'

SUMMARY: processing the following file failed:
  'panelmatch-overview.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'panelmatch-overview.Rmd' using rmarkdown
! Package pdftex.def Error: File `ded2b699f23c61eb9aa45a0439edc78b22a403a3.pdf'
 not found: using draft setting.

Error: processing vignette 'panelmatch-over
...[truncated]...
ebugging for debugging tips. See panelmatch-overview.log for more info.
--- failed re-building 'panelmatch-overview.Rmd'

SUMMARY: processing the following file failed:
  'panelmatch-overview.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp data.table ggplot2 CBPS MASS Matrix doParallel foreach prettyPanelMatch PanelMatch

Version History

new 3.1.3 Mar 10, 2026
updated 3.1.3 ← 3.1.1 diff Dec 12, 2025
updated 3.1.1 ← 3.0.0 diff Jun 3, 2025
updated 3.0.0 ← 2.2.0 diff Mar 2, 2025
updated 2.2.0 ← 2.0.1 diff Jun 3, 2024
updated 2.0.1 ← 2.0.0 diff Jun 25, 2022
updated 2.0.0 ← 1.0.0 diff Sep 1, 2021
new 1.0.0 Feb 27, 2020