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.5)PanelMatch_1.0.1.zip(r-4.4)PanelMatch_1.0.1.zip(r-4.3)
PanelMatch_1.0.1.tgz(r-4.4-x86_64)PanelMatch_1.0.1.tgz(r-4.4-arm64)PanelMatch_1.0.1.tgz(r-4.3-x86_64)PanelMatch_1.0.1.tgz(r-4.3-arm64)
PanelMatch_1.0.1.tar.gz(r-4.5-noble)PanelMatch_1.0.1.tar.gz(r-4.4-noble)
PanelMatch_1.0.1.tgz(r-4.4-emscripten)PanelMatch_1.0.1.tgz(r-4.3-emscripten)
PanelMatch.pdf |PanelMatch.html✨
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 7 months agofrom:b8a7e90426. Checks:OK: 1 NOTE: 4 WARNING: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win-x86_64 | NOTE | Nov 08 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 08 2024 |
R-4.4-win-x86_64 | NOTE | Nov 08 2024 |
R-4.4-mac-x86_64 | WARNING | Nov 08 2024 |
R-4.4-mac-aarch64 | WARNING | Nov 08 2024 |
R-4.3-win-x86_64 | NOTE | Nov 08 2024 |
R-4.3-mac-x86_64 | WARNING | Nov 08 2024 |
R-4.3-mac-aarch64 | WARNING | Nov 08 2024 |
Exports:balance_scatterDisplayTreatmentget_covariate_balancematched_setPanelEstimatePanelMatch
Dependencies:backportsCBPSchkclicodetoolscolorspacedata.tablefansifarverforeachggplot2glmnetgluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatchItMatrixmgcvmunsellnlmennetnumDerivpillarpkgconfigR6RColorBrewerRcppRcppArmadilloRcppEigenRcppProgressrlangscalesshapesurvivaltibbleutf8vctrsviridisLitewithr
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 |