caseMatch-package {caseMatch}R Documentation

A package for using matching to select cases from a quantitative data set for further qualitative analysis.

Description

This package uses statistical matching to identify "most similar" cases in a quantitative data set for subsequent qualitative analysis. Unlike existing matching packages, this package intended to meet some specific needs of analysts using matching for case studies.

Details

Use the case.match function.

Author(s)

Maintainer: Rich Nielsen <rnielsen@mit.edu>

References

Nielsen, Richard A. 2016. "Case Selection Via Matching," Sociological Methods and Research. http://journals.sagepub.com/doi/abs/10.1177/0049124114547054

See Also

case.match

Examples


data(EU)
mvars <- c("socialist","rgdpc","FHc","FHp","trade")
dropvars <- c("countryname","population")

## In this example, I subset to the first 40 obs. to cut run-time
out <- case.match(data=EU[1:40,], id.var="countryname", leaveout.vars=dropvars,
             distance="mahalanobis", case.N=2, greedy.match="pareto", 
             number.of.matches.to.return=10,
             treatment.var="eu", max.variance=TRUE)
out$cases


[Package caseMatch version 1.0.8 Index]