Learn R Programming

cem (version 1.1.19)

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, ...)

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

...

passed to matchit

Value

val

an invisible object of class list.

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

Stefano Iacus, Gary King, Giuseppe Porro, ``Matching for Casual Inference Without Balance Checking: Coarsened Exact Matching,'' http://gking.harvard.edu/files/abs/cem-abs.shtml

See Also

imbspace.plot