MatchIt: Nonparametric Preprocessing for Parametric Causal Inference

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) <doi:10.1093/pan/mpl013>. (The 'gurobi' package, which is not on CRAN, is optional and comes with an installation of the Gurobi Optimizer, available at <>. The 'optmatch' package may also not be on CRAN; see the 'MatchIt' documentation for instructions on installing it.)

Version: 4.3.4
Depends: R (≥ 3.1.0)
Imports: backports (≥ 1.1.9), Rcpp (≥ 1.0.7)
LinkingTo: Rcpp, RcppProgress
Suggests: optmatch, Matching, rgenoud, nnet, rpart, mgcv, CBPS (≥ 0.17), dbarts, randomForest (≥ 4.7-1), glmnet (≥ 4.0), gbm (≥ 2.1.7), cobalt (≥ 4.2.3), boot, lmtest, sandwich (≥ 2.5-1), survival, RcppProgress (≥ 0.4.2), Rglpk, Rsymphony, gurobi, knitr, rmarkdown
Published: 2022-03-08
Author: Daniel Ho ORCID iD [aut], Kosuke Imai ORCID iD [aut], Gary King ORCID iD [aut], Elizabeth Stuart ORCID iD [aut], Alex Whitworth [ctb], Noah Greifer ORCID iD [ctb, cre, aut]
Maintainer: Noah Greifer <noah.greifer at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
SystemRequirements: C++11
Citation: MatchIt citation info
Materials: NEWS
In views: OfficialStatistics
CRAN checks: MatchIt results


Reference manual: MatchIt.pdf
Vignettes: MatchIt: Getting Started
Assessing Balance
Estimating Effects After Matching
Matching Methods
Matching with Sampling Weights


Package source: MatchIt_4.3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): MatchIt_4.3.4.tgz, r-release (x86_64): MatchIt_4.3.4.tgz, r-oldrel: MatchIt_4.3.4.tgz
Old sources: MatchIt archive

Reverse dependencies:

Reverse depends: CBPS
Reverse imports: cem, jsmodule, MatchThem, netdiffuseR, psborrow
Reverse suggests: cobalt, table1


Please use the canonical form to link to this page.