Cluster Analysis Catagorical

8
Cluster Analysis Handling Binary and Categorical Variables

description

Cluster Analysis Catagorical

Transcript of Cluster Analysis Catagorical

Cluster AnalysisHandling Binary and Categorical VariablesHas only two states 0 or 1 Symmetric if both states are equally important (g! "ender# $symmetric if one state is more important than the other (g! %esult of a medical test say lisa &est# $ positi'e result is more important than negati'e resultBinary VariablesIndividual A(ndi'idual B1 0 &otal1 q r q)r0 s t s)t&otal q)s r)t pSymmetric Binary Variable*issimilarity measure + (r)s# , (p#Name GenderEmployedCredit CardMarriedLocation$mar -+1 .+1 .+1 .+1 /+1Bhama 0+0 .+1 1+0 .+1 /+1Chari -+1 1+0 .+1 1+0 %+0Example of Symmetric Binary VariableAmarBhama1 0 &otal1 2 0 20 3 0 3&otal 4 0 4*($5B# + 3 , 4 + 0670BamaChari1 0 &otal1 1 3 20 3 0 3&otal 2 3 4*(B5C# + 7 , 4 + 0680Individual A(ndi'idual B1 0 &otal1 q r q)r0 s t s)t&otal q)s r)t pAsymmetric Binary Variable*issimilarity measure + (r)s# , (p 9 t#%eplace each ordinal 'alue by its :ran;