Description Usage Arguments Author(s) References See Also Examples
View source: R/matches.suf.typiir.R
A function that matches typical cases and individually irrelevant cases with regards to sufficiency for each INUS condition.
1 2 | matches.suf.typiir(results, outcome, term = 1, neg.out=FALSE,
sol=1, max_pairs = 5)
|
results |
An object of class "qca". |
outcome |
A character string with the name of the outcome in capital letters. When performing pimdata of the sufficient solution for the negated outcome one must only use the |
term |
A numeric vector where the first number indicates the number of the term according to the order in the "qca" object. |
neg.out |
Logical. Should the negated outcome be used? |
sol |
A numeric vector where the first number indicates the number of the solution in case of model ambiguity according to the order in the "qca" object. |
max_pairs |
Maximum number of pairs to extract. |
Ioana-Elena Oana
Schneider, C. Q., Rohlfing, I. 2013. Combining QCA and Process Tracing in Set-Theoretic Multi-Method Research. Sociological Methods Research 42(4): 559-597
Schneider, C. Q., Rohlfing I. 2016. Case Studies Nested in Fuzzy-Set QCA on Sufficiency: Formalizing Case Selection and Causal Inference. Sociological Methods & Research 45(3): 526-68
Rohlfing, I., Schneider C. Q. 2016. A Unifying Framework for Causal Analysis in Set-Theoretic Multi-Method Research. Sociological Methods & Research: 1-27. DOI: 10.1177/0049124115626170
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # 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)
# Match typical cases and individually irrelevant cases for each conjunct
# for the first term (default) of the parsimonious solution and return only the best 3 pairs:
matches.suf.typiir(results = sol_yp, outcome = "EXPORT", max_pairs=2)
# Get the parsimonious solution for the absence of the outcome:
sol_nyp <- minimize(SCHF, outcome = "EXPORT", neg.out = TRUE,
conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
incl.cut = .9,
include = "?",
details = TRUE, show.cases = TRUE)
# Match typical cases and individually irrelevant cases for each conjunct for
# the first term of the second parsimonious solution for the absence of the outcome:
matches.suf.typiir(results = sol_nyp, outcome = "EXPORT", neg.out = TRUE, term = 1, sol = 2)
# since it has only one condition, it cannot find pairs based on the INUS principle!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.