Produces a coincidence matrix

Share:

Description

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

Usage

1
2
3
4
5
6
coincid(x, standardized = FALSE, use = c("complete", "pairwise"))

## S3 method for class 'coincid'
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.

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)).

Value

A coincidence matrix.

Author(s)

Ronggui HUANG

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

1
coincid(CoD[,c("cod","econdev","ethlihom")])