Package: PanelMatch 1.0.1
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 (2018) <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 is done, both short-term and long-term average treatment effects for the treated can be estimated with standard errors. The package also offers a visualization technique that allows researchers to assess the quality of matches by examining the resulting covariate balance.
Authors:
PanelMatch_1.0.1.tar.gz
PanelMatch_1.0.1.zip(r-4.7)PanelMatch_1.0.1.zip(r-4.6)PanelMatch_1.0.1.zip(r-4.5)
PanelMatch_1.0.1.tgz(r-4.6-x86_64)PanelMatch_1.0.1.tgz(r-4.6-arm64)PanelMatch_1.0.1.tgz(r-4.5-x86_64)PanelMatch_1.0.1.tgz(r-4.5-arm64)
PanelMatch_1.0.1.tar.gz(r-4.7-arm64)PanelMatch_1.0.1.tar.gz(r-4.7-x86_64)PanelMatch_1.0.1.tar.gz(r-4.6-arm64)PanelMatch_1.0.1.tar.gz(r-4.6-x86_64)
PanelMatch_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
PanelMatch/json (API)
| # Install 'PanelMatch' in R: |
| install.packages('PanelMatch', repos = c('https://insongkim.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/insongkim/panelmatch/issues
- dem - County-level Democracy indicator
Last updated from:20b1fb54f1. Checks:9 ERROR, 3 FAIL, 1 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 225 | ||
| linux-devel-x86_64 | ERROR | 233 | ||
| source / vignettes | ERROR | 225 | ||
| linux-release-arm64 | ERROR | 233 | ||
| linux-release-x86_64 | ERROR | 232 | ||
| macos-release-arm64 | ERROR | 194 | ||
| macos-release-x86_64 | ERROR | 394 | ||
| macos-oldrel-arm64 | FAIL | 109 | ||
| macos-oldrel-x86_64 | FAIL | 204 | ||
| windows-devel | ERROR | 223 | ||
| windows-release | ERROR | 248 | ||
| windows-oldrel | FAIL | 60 | ||
| wasm-release | OK | 123 |
Exports:balance_scatterDisplayTreatmentget_covariate_balancematched_setPanelEstimatePanelMatch
Dependencies:backportsCBPSchkclicodetoolscpp11data.tablefarverforeachggplot2glmnetgluegtableisobanditeratorslabelinglatticelifecycleMASSMatchItMatrixnnetnumDerivR6RColorBrewerRcppRcppArmadilloRcppEigenRcppProgressrlangS7scalesshapesurvivalvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Matching Methods for Causal Inference with Time-Series Cross-Sectional Data | PanelMatch-package |
| balance_scatter | balance_scatter |
| County-level Democracy indicator | dem |
| DisplayTreatment | DisplayTreatment |
| Calculate covariate balance | get_covariate_balance |
| matched_set | matched_set |
| PanelEstimate | PanelEstimate |
| PanelMatch | PanelMatch |
| Plot the distribution of the sizes of matched sets. | plot.matched.set |
| Plot point estimates and standard errors from a PanelEstimate calculation. | plot.PanelEstimate |
| Print 'matched.set' objects. | print.matched.set |
| Summarize information about a 'matched.set' object and the matched sets contained within them. | summary.matched.set |
| Get summaries of PanelEstimate objects/calculations | summary.PanelEstimate |
