theory.evaluation: Membership of cases in the intersections between theory and...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/theory.evaluation.R

Description

Function that returns membership of cases in the intersections between theory and the empirical solution in the form of a data frame.

Usage

1
theory.evaluation(theory, empirics, outcome, intermed=FALSE, sol = 1)

Arguments

theory

A character string specifying the theory. Conditions should be capitalized and negated conditions should be inserted with a "~". Unions of conditions are performed with a "+", while intersections are performed with a "*".

empirics

An object of class 'qca'. When performing analyses for the negated outcome, just use the results from the eqmcc() function for the negation of the outcome.

outcome

A character string with the name of the outcome. When performing analyses of the sufficient solution for the negated outcome one must only use the eqmcc() result from the sufficiency analysis of the negated outcome in the argument empirics. Changing the name in the argument outcome or using a tilde is not necessary.

intermed

Logical. Use the intermediate solution?

sol

A numeric vector where the first number indicates the number of the solution in case of model ambiguity according to the order in the "qca" object.

Value

It returns a data frame containing the intersections between theory and empirical findings.

Author(s)

Ioana-Elena Oana and Juraj Medzihorsky

References

Ragin, C. C. 1987. The Comparative Method: Moving Beyond Qualitative and Quantitative Strategies. Berkeley: University of California Press, pp. 118-121

Schneider, C. Q., Wagemann, C. 2012. Set-Theoretic Methods for the Social Sciences: A Guide to Qualitative Comparative Analysis. Cambridge: Cambridge University Press, chapter 11.3

See Also

eqmcc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Import your data. For example:

data(Schneider)

# Get the intermediate solution:

sol_yi <- eqmcc(Schneider, outcome = "EXPORT",
                conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"),
                incl.cut1 = .9, 
                include = "?", 					   
                details = TRUE, show.cases = TRUE, dir.exp = c(0,0,0,0,0,0))


# Specify the theory. Let's assume the theory says that the 
# absence of EMP and the presence of MA is sufficient for EXPORT:

t<-"~EMP*MA"

# Get membership of cases in the intersections between theory and 
# the second intermediate solution:

theory.evaluation(theory = t, empirics = sol_yi, outcome = "EXPORT", intermed = TRUE, sol = 2)

SetMethods documentation built on May 29, 2017, 2:58 p.m.

Search within the SetMethods package
Search all R packages, documentation and source code