I have a survey that has two questions:
- Which are your preferences ($p$)? (possible answers $p_1$, $p_2$, $p_3$, $p_4$, $p_5$)
- Which services ($s$) do you use? (possible answers $s_1$, $s_2$, $s_3$)
Both questions are multiple choice. So for each person there is a result like
- $p=\{p_1, p_2, p_5\}; s=\{s_2\}$
- $p=\{p_1, p_3\}; s=\{s_1, s_3\}$
- $p=\{p_1, p_4\}; s=\{s_3\}$
Or represented as vectors
- $p=(1, 1, 0, 0, 1); s=(0, 1, 0)$
- $p=(1, 0, 1, 0, 0); s=(1, 0, 1)$
- $p=(1, 0, 0, 1, 0); s=(0, 0, 1)$
My goal is to do cluster analysis to find relations between the preferences and the use of services. How can I determine the distance/similarity between two persons?