Learn R Programming

Matching: Multivariate and Propensity Score Matching Software for Causal Inference

Jasjeet S. Sekhon

Introduction

This website is for the distribution of "Matching" which is a R package for estimating causal effects by multivariate and propensity score matching. The package provides functions for multivariate and propensity score matching and for finding optimal balance based on a genetic search algorithm. A variety of univariate and multivariate tests to determine if balance has been obtained are also provided. These tests can also be used to determine if an experiment or quasi-experiment is balanced on baseline covariates.

For an introduction to the package with documentation and examples, please see "Multivariate and Propensity Score Matching Software with Automated Balance Optimization: The Matching package for R." Journal of Statistical Software, 42(7): 1-52. 2011.

How to install

A version is on CRAN. The latest development version can be installed directly from Github using devtools.

if (!require("devtools")) install.packages("devtools")
devtools::install_github("JasjeetSekhon/Matching")

The package contains compiled code, and you must have a development environment to install the development version. (Use devtools::has_devel() to check whether you do.) If no development environment exists, Windows users download and install Rtools and macOS users download and install [Xcode].

Copy Link

Version

Install

install.packages('Matching')

Monthly Downloads

6,827

Version

4.10-15

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 14th, 2024

Functions in Matching (4.10-15)

GenMatch

Genetic Matching
Match

Multivariate and Propensity Score Matching Estimator for Causal Inference
summary.Match

Summarizing output from Match
qqstats

QQ Summary Statistics
GerberGreenImai

Gerber and Green Dataset used by Imai
summary.Matchby

Summarizing output from Matchby
ks.boot

Bootstrap Kolmogorov-Smirnov
lalonde

Lalonde Dataset
balanceUV

Univariate Balance Tests
Matchby

Grouped Multivariate and Propensity Score Matching
MatchBalance

Tests for Univariate and Multivariate Balance
summary.balanceUV

Summarizing output from balanceUV
summary.ks.boot

Summarizing output from ks.boot