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 <https://www.gurobi.com>.)
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
4.7.2 |
2026-04-09 windows/windows R-4.5 | MatchIt_4.7.2.zip |
2.2 MiB |
Dependencies (latest)
Imports
LinkingTo
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)