rob.inclrange {SetMethods}R Documentation

Function for identifying the raw consistency threshold range within which the Boolean formula for the solution does not change.

Description

Function for identifying the raw consistency threshold range for a truth table within which the Boolean formula for the solution does not change. The function gradually increases and, then, decreases an inital selected threshold by the value specifyied in the step argument and checks whether the solution formula changes for finding the lower and upper ranges for the raw consistency threshold. The function performs this iteration for the number of times specified in the max.runs argument. If the solution formula does not change given the number of runs specified, it will return an NA, meaning that it could not find a limit to the range.

Usage

rob.inclrange(data,
    step = 0.1,
    max.runs = 20,
    outcome,
    conditions,
    incl.cut = 1,
    n.cut = 1,
    include = "",
    ...)

Arguments

data

A data frame containing the calibrated data for the sufficient solution.

step

The value to be gradually added and subtracted from the threshold tested.

max.runs

The maximum number of times the step value gets gradually added and subtracted.

outcome

A character string with the name of the outcome in capital letters. For the negated outcome a tilde "~" should be used. This had the same usage as the outcome argument in the minimize function.

conditions

A vector of character strings containing the names of the conditions.This had the same usage as the conditions argument in the minimize function.

incl.cut

The raw consistency threshold for the truth table rows.

n.cut

The frequency threshold for the truth table rows.

include

A vector of other output values (for example "?" for logical remainders) to include in the minimization. This had the same usage as the include argument in the minimize function.

...

Other options that the minimize function in the QCA package accepts. Check them out using ?minimize.

Author(s)

Ioana-Elena Oana

References

Oana, Ioana-Elena, and Carsten Q. Schneider. 2020. Robustness tests in QCA: A fit-oriented and case-oriented perspective using R. Unpublished Manuscript.

Oana, Ioana-Elena, Carsten Q. Schneider, and Eva Thomann (forthcoming). Qualitative Comparative Analysis (QCA) using R: A Gentle Introduction. Cambridge: Cambridge University Press.

Examples

# Load the calibrated data:
data(PAYF)

# Check raw consistency ranges:

rob.inclrange(
  data = PAYF,
  step = 0.01,
  max.runs = 10,
  outcome  = "HL",
  conditions = c("HE","GG","AH","HI","HW"),
  incl.cut = 0.87,
  n.cut = 2,
  include = "?"
)

[Package SetMethods version 4.0 Index]