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) . (The 'gurobi' package, which is not on CRAN, is optional and comes with an installation of the Gurobi Optimizer, available at <>.)


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


4.3.3 by Noah Greifer, 9 days ago,

Report a bug at

Browse source code at

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

Documentation:   PDF Manual  

Task views: Official Statistics & Survey Methodology, Statistics for the Social Sciences, Official Statistics & Survey Statistics

GPL (>= 2) license

Imports backports, Rcpp

Suggests optmatch, Matching, rgenoud, nnet, rpart, mgcv, CBPS, dbarts, randomForest, glmnet, gbm, cobalt, boot, lmtest, sandwich, survival, RcppProgress, Rglpk, Rsymphony, gurobi, knitr, rmarkdown

Linking to Rcpp, RcppProgress

System requirements: C++11

Imported by MatchThem, Zelig, cem, jsmodule, netdiffuseR, psborrow.

Depended on by CBPS.

Suggested by cobalt, table1.

See at CRAN