Learn R Programming

QCA3 (version 0.0-8)

coincid: Produces a coincidence matrix

Description

Produce a coincidence matrix from a crip set or fuzzy set data.

Usage

coincid(x, standardized = FALSE, use = c("complete", "pairwise"))
"print"(x, digits = 3, ...)
overlap(x, y)

Arguments

x
x is a dataframe of crip set or fuzzy set data, which ranges from 0 to 1.
y
y is a dataframe of crip set or fuzzy set data, which ranges from 0 to 1.
standardized
When TRUE, produce the standardized coincidence scores.
use
The method of handling missing data. "complete" means listwise deletion and "pairwise" means pairwise deletion.
digits
a non-null value for 'digits' specifies the minimum number of significant digits to be printed in values.
...
arguments passed to default method of print.

Value

A coincidence matrix.

Details

Coincidence measures the amount of overlap or coincidence between two sets or configurations. The formula is: sum(pmin(x,y))/sum(pmax(x,y)). When standardized is TRUE, the formular is: sum(pmin(x,y))/min(sum(x),sum(y)).

References

Ragin, Charles C. 2006. "Set Relations in Social Research: Evaluating Their Consistency and Coverage." Political Analysis 14 (3) : 291-310

See Also

suffnec

Examples

Run this code
coincid(CoD[,c("cod","econdev","ethlihom")])

Run the code above in your browser using DataLab