MatchIt
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) <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>.)
Downloads
21.9K
Last 30 days
785th
72.5K
Last 90 days
286.5K
Last year
Trend: -16.3% (30d vs prior 30d)
158
Last 30 days
1.1K
Last 90 days
5.6K
Last year
Trend: -49% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: 'gurobi'
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/MatchIt.Rcheck/00install.out' for details.
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: 'gurobi'
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: 'gurobi'
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
whether package can be installed
Installation failed. See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/MatchIt.Rcheck/00install.out’ for details.
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: 'gurobi'
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: ‘gurobi’
package dependencies
Package suggested but not available for checking: 'gurobi'