Package: MatchIt 4.7.2

Noah Greifer

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>.)

Authors:Daniel Ho [aut], Kosuke Imai [aut], Gary King [aut], Elizabeth Stuart [aut], Alex Whitworth [ctb], Noah Greifer [cre, aut]

MatchIt_4.7.2.tar.gz
MatchIt_4.7.2.tar.gz(r-4.7-arm64)MatchIt_4.7.2.tar.gz(r-4.7-x86_64)MatchIt_4.7.2.tar.gz(r-4.6-arm64)MatchIt_4.7.2.tar.gz(r-4.6-x86_64)
MatchIt_4.7.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
MatchIt/json (API)
NEWS

# Install 'MatchIt' in R:
install.packages('MatchIt', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kosukeimai/matchit/issues

Pkgdown/docs site:https://kosukeimai.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • lalonde - Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999).

On CRAN:

Conda:

cppopenmp

9.48 score 1 stars 23 packages 3.3k scripts 26k downloads 358 mentions 9 exports 7 dependencies

Last updated from:bf7f268990. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK194
linux-devel-x86_64OK177
source / vignettesOK346
linux-release-arm64OK192
linux-release-x86_64OK211
wasm-releaseOK158

Exports:add_s.weightseuclidean_distget_matchesmahalanobis_distmatch_datamatch.datamatchitrobust_mahalanobis_distscaled_euclidean_dist

Dependencies:backportschkclilifecycleRcppRcppProgressrlang

Assessing Balance

Rendered fromassessing-balance.Rmdusingknitr::rmarkdown_notangleon May 25 2026.

Last update: 2025-01-12
Started: 2020-11-14

Estimating Effects After Matching

Rendered fromestimating-effects.Rmdusingknitr::rmarkdown_notangleon May 25 2026.

Last update: 2025-03-10
Started: 2020-11-14

Matching Methods

Rendered frommatching-methods.Rmdusingknitr::rmarkdown_notangleon May 25 2026.

Last update: 2025-05-30
Started: 2020-11-14

Matching with Sampling Weights

Rendered fromsampling-weights.Rmdusingknitr::rmarkdown_notangleon May 25 2026.

Last update: 2025-03-10
Started: 2020-11-14

MatchIt: Getting Started

Rendered fromMatchIt.Rmdusingknitr::rmarkdown_notangleon May 25 2026.

Last update: 2025-03-10
Started: 2020-11-14