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

Implements a set of methodological tools that enable researchers to apply matching methods to time-series cross-sectional data. Imai, Kim, and Wang (2023) <> 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.

Version: 2.2.0
Depends: R (≥ 2.14.0)
Imports: Rcpp (≥ 0.12.5), data.table, ggplot2, CBPS, stats, graphics, MASS, Matrix, doParallel, foreach, methods
LinkingTo: RcppArmadillo, Rcpp, RcppEigen
Suggests: knitr, rmarkdown, testthat (≥ 2.1.0)
Published: 2024-06-04
DOI: 10.32614/CRAN.package.PanelMatch
Author: In Song Kim [aut, cre], Adam Rauh [aut], Erik Wang [aut], Kosuke Imai [aut]
Maintainer: In Song Kim <insong at>
License: GPL (≥ 3)
NeedsCompilation: yes
In views: CausalInference
CRAN checks: PanelMatch results


Reference manual: PanelMatch.pdf
Vignettes: Matched Set Objects
Using PanelMatch


Package source: PanelMatch_2.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PanelMatch_2.2.0.tgz, r-oldrel (arm64): PanelMatch_2.2.0.tgz, r-release (x86_64): PanelMatch_2.2.0.tgz, r-oldrel (x86_64): PanelMatch_2.2.0.tgz
Old sources: PanelMatch archive


Please use the canonical form to link to this page.