Binary variables
Details
A simple data set is provided and you are asked to calculate three separate distance matrics. You should then use these to construct dendrograms using single linkage clustering.In order to simplify calculations there are only five cases and five variables. 1 = presence, 0 = absence of a character.
Case | a | b | c | d | e |
---|---|---|---|---|---|
1 | 1 | 1 | 1 | 0 | 1 |
2 | 1 | 1 | 1 | 0 | 0 |
3 | 1 | 0 | 0 | 1 | 1 |
4 | 1 | 0 | 1 | 1 | 1 |
5 | 0 | 0 | 1 | 1 | 0 |
You should calculate the following similarity or distance matrices and dendrograms (single linkage) for the following binary measures:
Coefficient | Answers |
---|---|
Simple matching | |
Dice | |
Pattern difference |