fs_tt {QCA3} | R Documentation |
Constructing a truthTable from fuzzy set score. This truthTable is an
object of class tt, which can be passed to procedure eqmcc
to get
the boolean minimization.
fs_tt(mydata, outcome = "", conditions = c(""),ncases_cutoff = 1, consistency_cutoff = 0.8, complete= FALSE, show.cases = TRUE, quiet =FALSE, cases =NULL)
mydata |
A fuzzy set score dataset. All the scores must range from 0 to 1. |
outcome |
the name of the outcome variable in the dataset. |
conditions |
the name of the conditions from the dataset. |
ncases_cutoff |
When number of case is less than cutoff, it will be regarded as dontcare configuration. |
consistency_cutoff |
Cutoff point of consistenty score, cases with consistency score greater than cutoff point are regarded as OUT=1. |
complete |
prints the complete truth table, including the missing combinations |
show.cases |
show the rownames from the original dataset for each combination of conditions. |
quiet |
Not used currently. |
cases |
name of cases from dataset. If it is NULL and show.cases is TRUE, name of cases are derived from row names of dataset. |
See fs_truthTable
for more details.
An object of class "truthTable". refer to truthTable
for more details.
Ronggui HUANG
Ragin. Charles. 2009. Qualitative Comparative Analyais Using Fuzzy Sets (fsQCA). In Configuraional comparative Methods: qualitative comparative analysis (QCA) and related techniques. ed by Benoit RiHoux and Charles Ragin. Sage.
## Not run: tt <- fs_tt(Lipset_fs,"Survived.FZ",c("Developed.FZ","Urban.FZ","Literate.FZ","Industrial.FZ", "Stable.FZ"),cases="Country",consistency_cutoff=0.7) eqmcc(tt,"OUT",expl.1 =T,incl.rem=F,show.cases=TRUE,use.letters=FALSE) ## Formula 1 in page 112 eqmcc(tt,"OUT",expl.1 =T,incl.rem=T,show.cases=TRUE,use.letters=FALSE) ## Formula 2 in page 114 eqmcc(tt,"OUT",expl.0 =T,incl.rem=F,show.cases=TRUE,use.letters=FALSE) ## Formula 5 in page 115 eqmcc(tt,"OUT",expl.0 =T,incl.rem=T,show.cases=TRUE,use.letters=FALSE) ## Formula 6 in page 117 ## End(Not run)