Finds the largest matched sample with maximum absolute SMD below
balance_threshold. Uses an iterative caliper-tightening
heuristic over morie_matching_nearest_neighbor; for an
exact mixed-integer-programming alternative see
designmatch::cardmatch.
References
Zubizarreta, J. R. (2012). Using mixed integer programming for matching in an observational study of kidney failure after surgery. JASA, 107(500), 1360–1371.
Examples
if (FALSE) { # \dontrun{
morie_matching_cardinality(df, "d", c("x1", "x2"),
balance_threshold = 0.1)
} # }