caseMatch-package: A package for using matching to select cases from a...

Description Details Author(s) References See Also Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

caseMatch documentation built on March 26, 2020, 7:23 p.m.