Package: MatchIt 4.7.1

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.1.tar.gz
MatchIt_4.7.1.tar.gz(r-4.5-noble)MatchIt_4.7.1.tar.gz(r-4.4-noble)
MatchIt_4.7.1.tgz(r-4.4-emscripten)MatchIt_4.7.1.tgz(r-4.3-emscripten)
MatchIt.pdf |MatchIt.html
MatchIt/json (API)
NEWS

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

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

Pkgdown 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:r-matchit-4.7.1(2025-03-25)

cppopenmp

7.34 score 1 stars 21 packages 23k downloads 358 mentions 9 exports 8 dependencies

Last updated 24 days agofrom:6cfee49443. Checks:2 OK, 1 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-linux-x86_64OKMar 10 2025
R-4.4-linux-x86_64NOTEMar 10 2025

Exports:add_s.weightseuclidean_distget_matchesmahalanobis_distmatch_datamatch.datamatchitrobust_mahalanobis_distscaled_euclidean_dist

Dependencies:backportschkcligluelifecycleRcppRcppProgressrlang

Assessing Balance

Rendered fromassessing-balance.Rmdusingknitr::rmarkdown_notangleon Mar 10 2025.

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

Estimating Effects After Matching

Rendered fromestimating-effects.Rmdusingknitr::rmarkdown_notangleon Mar 10 2025.

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

Matching Methods

Rendered frommatching-methods.Rmdusingknitr::rmarkdown_notangleon Mar 10 2025.

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

Matching with Sampling Weights

Rendered fromsampling-weights.Rmdusingknitr::rmarkdown_notangleon Mar 10 2025.

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

MatchIt: Getting Started

Rendered fromMatchIt.Rmdusingknitr::rmarkdown_notangleon Mar 10 2025.

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

Citation

Ho D, Imai K, King G, Stuart E (2011). “MatchIt: Nonparametric Preprocessing for Parametric Causal Inference.” Journal of Statistical Software, 42(8), 1–28. doi:10.18637/jss.v042.i08.

Corresponding BibTeX entry:

  @Article{,
    title = {{MatchIt}: Nonparametric Preprocessing for Parametric
      Causal Inference},
    author = {Daniel E. Ho and Kosuke Imai and Gary King and Elizabeth
      A. Stuart},
    year = {2011},
    journal = {Journal of Statistical Software},
    volume = {42},
    number = {8},
    pages = {1--28},
    doi = {10.18637/jss.v042.i08},
  }