smmr {SetMethods} | R Documentation |
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
smmr(results, outcome, sol = 1, match = NULL,
cases = NULL, max_pairs = 5, term = 1, nec.cond =NULL, necessity = FALSE, ...)
Arguments
results |
An object of class "qca". |
outcome |
A character string with the name of the outcome. If the negated outcome is analyzed, one can also write for example outcome = "~Y", however this is unnecessary as the values in the outcome will be taken from the appropriate minimized solution. |
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 SMMR be used? |
cases |
A numerical vector indicating the type of cases to be returned.
|
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. |
nec.cond |
A character vector specifying the necessity results obtained. This could be of the form "A", "A+B", or "A*B", making sure no spaces are left between the name of the conditions and the Boolean operator. Notice than nec.cond can also be specified for sufficiency results in single SMMR typical cases for each focal conjunct in a sufficient term, and for comparative SMMR in typical-typical and typical-iir comparisons for each focal conjunct. Note that in the later case only expressions of the forms "A" or "A+B" are accepted. If dealing with a necessary condition of the form "A*B", each of the individual conditions should be entered separately when performing analyses of sufficiency. |
necessity |
Logical. Should SMMR results for necessity be shown? |
... |
Deprecated arguments (neg.out, use.tilde) |
Author(s)
Ioana-Elena Oana
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
Examples
# Import your data. For example:
data(SCHF)
## SUFFICIENCY SMMR examples:
# 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:
smmr(results = sol_yp, outcome = "EXPORT", match=FALSE, cases=2, term = 3)
# Get typical cases for each focal conjunct in the third term of the parsimonious solution
# and specifying STOCK as a necessary condition:
smmr(results = sol_yp, outcome = "EXPORT",
match=FALSE, cases=2, term = 3, nec.cond="STOCK")
# Get matching typical-typical cases for the second term of the parsimonious solution:
smmr(results = sol_yp, outcome = "EXPORT", match=TRUE, cases=1, term = 2)
# Get matching typical-DCN cases:
smmr(results = sol_yp, outcome = "EXPORT", match=TRUE, cases=3)
## NECESSITY SMMR examples:
# Imagine you found condition "STOCK + MA" is nececssary for outcome "EXPORT".
# Get typical cases for each disjunct of the necessary condition:
smmr(results = sol_yp, outcome = "EXPORT", match=FALSE, cases=1,
nec.cond = "STOCK+MA", necessity = TRUE)
# Get typical - deviant relevance cases for each disjunct of the necessary condition:
smmr(results = sol_yp, outcome = "EXPORT", match=TRUE, cases=1,
nec.cond = "STOCK+MA", necessity = TRUE)