Learn R Programming

cem (version 1.1.31)

search.match: 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, ...)

Value

val

an invisible object of class list.

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 treatment.

useCP

the cutpoints for the calculation of the L1 measure

verbose

integer, prints more info on screen.

...

passed to matchit

Author

Stefano Iacus, Gary King, and Giuseppe Porro

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.

References

Iacus, King, Porro (2011) tools:::Rd_expr_doi("10.1198/jasa.2011.tm09599")

Iacus, King, Porro (2012) tools:::Rd_expr_doi("10.1093/pan/mpr013")

Iacus, King, Porro (2019) tools:::Rd_expr_doi("10.1017/pan.2018.29")

See Also

imbspace.plot