Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Distance measure for symmetric binary variables

Last modified on May 26th, 2018 at 1:49 pm

How to calculate proximity measure for symmetric binary attributes?

Contingency table for binary data:

Object 2
Object 1 1 / True / Positive0 / False / NegativeSum
1 / True / PositiveABA + B
0 / False / NegativeCDC + D
SumA + CB + D 
NameGenderJob_Status
AkramMaleRegular
AliMaleContract

Consider 1 for positive/True  and 0 for negative/False

Here we are considering Male and regular as positive and female and contract as negative.

A = Akram is positive and Ali is also positive. so A=1 because Ali and Akram both are male and the male is positive.

B = Akram is positive and Ali is negative. So B=1 because Akram is regular that is positive and Ali is on contract that is negative 

C = Akram is negative and Ali is 1. So C = 0 because Akram is never negative. He is male and regular. and male and regular both are positive.

D = Akram is negative and Ali is also negative. So D=0 because Akram is never negative. He is always positive(male and regular).

procimity measure for symmetric binary attributes

Prof. Fazal Rehman Shamil
Researcher, Publisher of International Journal Of Software Technology & Science ISSN: 2616-5325
Instructor, SEO Expert, Web Programmer and poet.
Feel free to contact.