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 <https://www.gurobi.com>.)
| Version: | 4.7.2 | 
| Depends: | R (≥ 3.6.0) | 
| Imports: | backports (≥ 1.1.9), chk (≥ 0.10.0), rlang (≥ 1.1.0), Rcpp, utils, stats, graphics, grDevices | 
| LinkingTo: | Rcpp, RcppProgress | 
| Suggests: | optmatch (≥ 0.10.6), Matching, rgenoud, quickmatch (≥ 0.2.1), nnet, rpart, mgcv, CBPS (≥ 0.17), dbarts (≥ 0.9-28), randomForest (≥ 4.7-1), glmnet (≥ 4.0), gbm (≥ 2.1.7), cobalt (≥ 4.2.3), boot, marginaleffects (≥ 0.25.0), sandwich (≥ 2.5-1), survival, RcppProgress (≥ 0.4.2), highs, Rglpk, Rsymphony, gurobi, knitr, rmarkdown, testthat (≥ 3.0.0) | 
| Published: | 2025-05-30 | 
| DOI: | 10.32614/CRAN.package.MatchIt | 
| Author: | Daniel Ho | 
| Maintainer: | Noah Greifer <noah.greifer at gmail.com> | 
| BugReports: | https://github.com/kosukeimai/MatchIt/issues | 
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] | 
| URL: | https://kosukeimai.github.io/MatchIt/, https://github.com/kosukeimai/MatchIt | 
| NeedsCompilation: | yes | 
| Citation: | MatchIt citation info | 
| Materials: | NEWS | 
| In views: | CausalInference, ClinicalTrials, OfficialStatistics | 
| CRAN checks: | MatchIt results | 
| Reference manual: | MatchIt.html , MatchIt.pdf | 
| Vignettes: | MatchIt: Getting Started (source) Assessing Balance (source) Estimating Effects After Matching (source) Matching Methods (source) Matching with Sampling Weights (source) | 
| Package source: | MatchIt_4.7.2.tar.gz | 
| Windows binaries: | r-devel: MatchIt_4.7.2.zip, r-release: MatchIt_4.7.2.zip, r-oldrel: MatchIt_4.7.2.zip | 
| macOS binaries: | r-release (arm64): MatchIt_4.7.2.tgz, r-oldrel (arm64): MatchIt_4.7.2.tgz, r-release (x86_64): MatchIt_4.7.2.tgz, r-oldrel (x86_64): MatchIt_4.7.2.tgz | 
| Old sources: | MatchIt archive | 
| Reverse depends: | CBPS, SAMprior | 
| Reverse imports: | calms, causalBatch, cem, debiasedTrialEmulation, EpiForsk, jsmodule, MatchThem, netdiffuseR, PSAboot, psBayesborrow, psborrow, RCTrep, sitepickR, vaccineff | 
| Reverse suggests: | clarify, cobalt, jointVIP, lmw, marginaleffects, multilevelPSA, nullranges, psborrow2, sim.BA, table1, tidysmd | 
Please use the canonical form https://CRAN.R-project.org/package=MatchIt to link to this page.