Create Blocks or Strata which are Similar Within

Implements a heuristic algorithm to build blocks of a given size aiming to maximize similarity within strata across multiple covariates. The blocking structure can be used for causal inference and for sensitivity analysis to unmeasured confounding. A stratified structure gives more flexibility for using multiple instrumental variables and direct treatment vs. control analysis as evidence factors. Karmakar, B., Small, D. S., and Rosenbaum, P. R. (2018). Rosenbaum, P. R. (2010).


Reference manual

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


1.0 by Bikram Karmakar, a year ago

Browse source code at

Authors: Bikram Karmakar

Documentation:   PDF Manual  

MIT + file LICENSE license

Suggests MASS

Enhances optmatch

See at CRAN