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 = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kosukeimai/matchit/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:

cppopenmp

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

Last updated 4 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