search.match {cem} | R Documentation |
Heuristic search of match solutions
Description
Heuristic search of match solutions
Usage
search.match(data, treatment, vars, depth=3, min.vars =1, group=1, useCP,verbose=1, ...)
Arguments
data |
the original data. |
treatment |
name of the treatment variable. |
depth |
level of interaction and squares. See Details. |
vars |
vector of variables' names to match on. |
min.vars |
minimum number of variables to consider in the model. |
group |
the indentifier of the treated group, usually 1 or the level of the fact variable |
useCP |
the cutpoints for the calculation of the L1 measure |
verbose |
integer, prints more info on screen. |
... |
passed to |
Details
This is a tool to help the user in the search of different choices models for matching.
For example, for the search of different propensity score models.
The tool tries all submodels of k
variables starting from one covariate up to the full model. Then adds
interactions to the full model trying all pairs, triplets etc according to the parameter depth
.
Then, for continuous variables only, adds squared terms to the full model.
This tool is useful in combination with imbspace.plot
.
Value
val |
an invisible object of class |
Author(s)
Stefano Iacus, Gary King, and Giuseppe Porro
References
Iacus, King, Porro (2011) doi:10.1198/jasa.2011.tm09599
Iacus, King, Porro (2012) doi:10.1093/pan/mpr013
Iacus, King, Porro (2019) doi:10.1017/pan.2018.29