Learn R Programming

MatchIt (version 4.8.2)

Nonparametric Preprocessing for Parametric Causal Inference

Description

Selects matched samples of the original treated and control groups with similar covariate distributions -- can be used to match exactly on covariates, to match on propensity scores, or perform a variety of other matching procedures. The package also implements a series of recommendations offered in Ho, Imai, King, and Stuart (2007) . (The 'gurobi' package, which is not on CRAN, is optional and comes with an installation of the Gurobi Optimizer, available at .)

Copy Link

Version

Install

install.packages('MatchIt')

Monthly Downloads

22,533

Version

4.8.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Noah Greifer

Last Published

November 1st, 2026

Functions in MatchIt (4.8.2)

mahalanobis_dist

Compute a Distance Matrix
method_cem

Coarsened Exact Matching
method_exact

Exact Matching
MatchIt-package

MatchIt: Nonparametric Preprocessing for Parametric Causal Inference
matchit

Matching for Causal Inference
add_s.weights

Add sampling weights to a matchit object
match_data

Construct a matched dataset from a matchit object
method_cardinality

Cardinality Matching
distance

Propensity scores and other distance measures
lalonde

Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999).
method_full

Optimal Full Matching
plot.matchit

Generate Balance Plots after Matching and Subclassification
method_subclass

Subclassification
rbind.matchdata

Append matched datasets together
method_genetic

Genetic Matching
method_quick

Fast Generalized Full Matching
plot.summary.matchit

Generate a Love Plot of Standardized Mean Differences
summary.matchit

View a balance summary of a matchit object
method_nearest

Nearest Neighbor Matching
method_optimal

Optimal Pair Matching