next up previous contents home.gif
Next: Coarsened Exact Matching Up: Examples Previous: Full Matching   Contents


Genetic Matching

Genetic matching automates the process of finding a good matching solution (, ). The idea is to use a genetic search algorithm to find a set of weights for each covariate such that the a version of optimal balance is achieved after matching. As currently implemented, matching is done with replacement using the matching method of () and balance is determined by two univariate tests, paired t-tests for dichotomous variables and a Kolmogorov-Smirnov test for multinomial and continuous variables, but these options can be changed.

Genetic matching can be performed with MATCHIT by setting method = "genetic", which automatically loads the Matching (, ) package. The following example of genetic matching (using the estimated propensity score based on logistic regression as one of the covariates) can also be run by typing demo(genetic):

> m.out <- matchit(treat ~ age + educ + black + hispan + married + nodegree + 
                   re74 + re75, data = lalonde, method = "genetic")



RBuild autobuild user 2011-10-24