Skip to content

PanelMatch

3.1.5Package record

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

0packages dependsuggested by 2
8.8Kdownloads / year
22.2%test coverage
13/13flavors OK

Overview

About

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

Install

Health

CRAN checks
13OK
Slowest check: 6.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • ERROR13 OK, 1 ERROR2026-03-30
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.1.5
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
82 (41 internal)includes a package overview page
Examples that run
96%27 run in a plain check · 1 never run
Exported functions with examples
53%
Documented parameters
100%
Return-value docs
67%
Help pages citing references
4%
Vignettes (1)

Downloads

8.8K
CRAN downloads in the past year
Rank #4,531 · ~24/day · ~735/mo
Daily download trend is not available in this view yet.
89430 days
1.9K90 days
8.8K1 year
Compare downloads with other packages →
Also on392 r2u4 autocran109 c2d4u

Repository

135Stars
39Forks
19Open issues
4Open PRs
0Releases
607Commits
21Commit identities
607 commits · Last activity 2025-02-27 · 0% stars, 30d · The default branch showed an older version (1.0.1) than CRAN on 2026-10-18
Responsiveness
How these are sampled
PRs merged (all time)
67%
Median days to close, 50 most recently updated closed issues
62
Median days to close, 50 most recently updated closed PRs
6

Stars over time

2025-09-11 · 1262026-09-22 · 135
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/insongkim/panelmatch on 2026-10-18.

Continuous integration (2)
GitHub ActionsTravis CI (config file)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing PanelMatch adds 31 packages (13 with compiled code, 30 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, glmnet 2.7 MB.

Depends (1)
R >= 2.14.0
Imports (11)
Rcppdata.tableggplot2CBPSstatsgraphicsMASSMatrixdoParallelforeachmethods
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 1.0.0 (2020)
Author
Author
Releases (8)

Pick two releases to compare their code metrics.

  • 3.1.5Latest
    record
    2026-10-01 · current release · diff ↗ ·
    added 2 exports
    compare_treated_observations, diagnostic_summary
  • R
    R 4.6.0 released · 2026-04-24
  • 3.1.3
    record
    2025-12-13 · diff ↗
  • 3.1.1
    record
    2025-06-04 · diff ↗ ·
    added 1 export
    estimates
  • R
    R 4.5.0 released · 2025-04-11
  • 3.0.0
    record
    2025-03-03 · diff ↗ ·
    removed 1 export
    balance_scatter
    added 5 exports
    PanelData, distances, extract, get_unrefined_balance, weights
  • 2.2.0
    record
    2024-06-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.1
    record
    2022-06-26 · diff ↗ ·
    removed 2 exports
    getSetTreatmentEffects, placeboTest
    added 2 exports
    get_set_treatment_effects, placebo_test
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.0
    record
    2021-09-02 · diff ↗ ·
    added 2 exports
    getSetTreatmentEffects, placeboTest
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.0
    record
    2020-02-28
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-02-28
Total releases
8 / 6 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.14.0
Bundled data
61 KB / 1 file
Download size
386 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PanelMatch")
Kim, I. S., Imai, K., Rauh, A., & Wang, E. (2026). PanelMatch: Matching Methods for Causal Inference with Time-Series Cross-Sectional Data (Version 3.1.5) [Computer software]. https://doi.org/10.32614/CRAN.package.PanelMatch

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PanelMatch version 3.1.5 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy