# mvQCAbinTest: A Simple Binomial Test for Type I Error in mvQCA In QCAfalsePositive: Tests for Type I Error in Qualitative Comparative Analysis (QCA)

## Description

A Binomial test for multi-value qualitative comparative analysis (mvQCA), designed to calculate the probability of a false positive given the number of hypotheses implicitly tested and the number of confirming cases.

## Usage

 `1` ```mvQCAbinTest(freq.y, configs, total.configs, adj.method = "holm") ```

## Arguments

 `freq.y` The frequency with which the dependent variable occurs in the sample (the number of 1s divided by the total number of cases). `configs` A list of configurations and the number of cases in which each configuration occurs. `total.configs` The total number of configurations used in the original mvQCA analysis. This will generally equal the number of lines in the truth table used for Boolean minimization. `adj.method` The method used to calculate adjusted p-values (see `p.adjust` for details).

## Value

An object containing the results of the Binomial test.

## Examples

 ```1 2 3``` ```test <- mvQCAbinTest(freq.y=0.7, configs=list(aB=5, bCD=3, Ce=2), total.configs=20) summary(test) ```

### Example output

```Call:
mvQCAbinTest(freq.y = 0.7, configs = list(aB = 5, bCD = 3, Ce = 2),
total.configs = 20)

Counterexamples
Number of cases   p-raw  p-adj
aB                5 0.00243 0.0486 *
bCD               3 0.02700 0.5130
Ce                2 0.09000 1.0000
Total number of configurations: 20
p-value adjustment method: holm
```

QCAfalsePositive documentation built on May 2, 2019, 6:40 a.m.