# csQCA using Krook (2010)
#-------------------------
data(Krook)
Krook
# find all optimal combinations with a necessity inclusion score
# of at least 0.9 and a necessity coverage score of at least 0.6
KrookSS <- superSubset(Krook, outcome = "WNP", incl.cut = 0.9, cov.cut = 0.6)
KrookSS
# the combination membership scores for all cases
KrookSS$coms
# mvQCA using Hartmann and Kemmerzell (2010)
#-------------------------------------------
data(HarKem)
HarKem
# find all optimal combinations with perfect necessity inclusion
HarKemSS <- superSubset(HarKem, outcome = "PB", conditions = c("C", "F", "T", "V"))
HarKemSS
# the combination membership scores for all cases
HarKemSS$coms
# fsQCA using Emmenegger (2011)
#------------------------------
data(Emme)
Emme
# find all optimal combinations with a sufficiency inclusion score
# of at least 0.9 and sufficiency coverage score of at least 0.4
# N.B.: Some combinations may appear as solution PIs.
EmmeSS <- superSubset(Emme, outcome = "JSR", relation = "sufficiency",
incl.cut = 0.9, cov.cut = 0.4)
EmmeSS
# the same criteria, but for the negation of the outcome
EmmeSSN <- superSubset(Emme, outcome = "JSR", neg.out = TRUE,
relation = "sufficiency", incl.cut = 0.9, cov.cut = 0.4)
EmmeSSN
# the combination membership scores for all cases
EmmeSSN$coms
Run the code above in your browser using DataLab