Learn R Programming

SetMethods (version 2.4)

mmr: Function for performing set-theoretic multi-method research.

Description

A function that selects best available cases for single case studies and best pairs of matching cases for comparative case studies.

Usage

mmr(results, outcome, neg.out = FALSE, sol = 1, match = NULL, 
      cases = NULL, max_pairs = 5, term = 1, use.tilde = TRUE)

Arguments

results

An object of class "qca".

outcome

A character string with the name of the outcome.

neg.out

Logical. Should the negated outcome be used?

sol

A vector where the first number indicates the number of the conservative or parsimonious solution according to the order in the "qca" object. For more complicated structures of model ambiguity, the intermediate solution can also be specified by using a character string of the form "c1p3i2" where c = conservative solution, p = parsimonious solution and i = intermediate solution.

match

Logical. Should comparative MMR be used?

cases

A numerical vector indicating the type of cases to be returned. For single case studies: 1 = typical cases, 2 = typical cases for each focal conjunct in a sufficient term, 3 = deviant consistency, 4 = deviant coverage, 5 = individually irrelevant, 6 = all of the above; For comparative case studies: 1 = Typical-Typical for each focal conjuct in a sufficient term, 2 = Typical-IIR for each focal conjuct in a sufficient term, 3 = Typical-Dev.Cons., 4 = Dev.Cov.-IIR; 5 = all of the above;

max_pairs

Maximum number of pairs to extract.

term

A numeric vector where the first number indicates the number of the term according to the order in the "qca" object.

use.tilde

Logical. Are sets negated with a tilde in the solution?

References

Schneider, C. Q., Rohlfing, I. 2013. Combining QCA and Process Tracing in Set-Theoretic Multi-Method Research. Sociological Methods and Research 42(4): 559-97

See Also

minimize

Examples

Run this code
# NOT RUN {
# Import your data. For example:

data(SCHF)

# Get the parsimonious solution:

sol_yp <- minimize(SCHF, outcome = "EXPORT",
                conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
                incl.cut = .9, 
                include = "?", 					   
                details = TRUE, show.cases = TRUE)

# Get typical cases for each focal conjunct in the third term of the parsimonious solution:

mmr(results = sol_yp, outcome = "EXPORT", match=FALSE, cases=2, term = 3)

# Get matching typical-typical cases for the second term of the parsimonious solution:

mmr(results = sol_yp, outcome = "EXPORT", match=TRUE, cases=1, term = 2)

# Get matching typical-DCN cases:

mmr(results = sol_yp, outcome = "EXPORT", match=TRUE, cases=3)

# }

Run the code above in your browser using DataLab