A permutation test for fuzzyset qualitative comparative analysis (fsQCA), designed to calculate the probability of a false positive given the number of hypotheses implicitly tested and the distribution of the data.
1 2  fsQCApermTest(y, configs, total.configs, num.iter = 10000, my.seed = 123,
adj.method = "holm")

y 
The outcome variable of interest. 
configs 
A list of configurations to be tested against 
total.configs 
The total number of configurations used in the original fsQCA analysis. This will generally equal the number of lines in the truth table used for Boolean minimization. 
num.iter 
The number of iterations to use for the permutation test. Larger numbers of iterations result in more precise pvalues. 
my.seed 
The seed used to generate random numbers. 
adj.method 
The method used to calculate adjusted pvalues (see

An object containing the aggregate results of the permutation test as well as the individual permutations.
1 2 3 4 5 6 7 8 9 10 11 12  data(social.revolutions)
attach(social.revolutions)
intersect < pmin(breakdown, pop.ins)
intersect2 < pmin(breakdown, (1pop.ins))
intersect3 < pmin((1breakdown), pop.ins)
intersect4 < pmin((1breakdown), (1pop.ins))
test < fsQCApermTest(y=soc.rev, configs=list(BI=intersect, Bi=intersect2,
bI=intersect3, bi=intersect4), total.configs=4)
summary(test)
plot(test)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.