A Simple Permutation Test for Type I Error in fsQCA
Description
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.
Usage
1 2  fsQCApermTest(y, configs, total.configs, num.iter = 10000, my.seed = 123,
adj.method = "holm")

Arguments
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

Value
An object containing the aggregate results of the permutation test as well as the individual permutations.
Examples
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)
